// ==========================================================================
// SETTINGS / #SPACING
// ==========================================================================

//
// Single point spacing variables
//
// Original code taken from GDS (Government Digital Service)
// https://github.com/alphagov/govuk-frontend
//

$dfe-spacing-points: (
  0: 0,
  1: 4px,
  2: 8px,
  3: 16px,
  4: 24px,
  5: 32px,
  6: 40px,
  7: 48px,
  8: 56px,
  9: 64px
) !default;

// Responsive spacing map
// ==========================================================================

//
// These definitions are used to generate responsive spacing that adapts
// according to the breakpoints (see 'tools/spacing'). These maps should be
// used wherever possible to standardise responsive spacing.
//
// You can define different behaviour on tablet and desktop. The 'null'
// breakpoint is for mobile.
//
// Access responsive spacing with `dfe-responsive-margin` or
// `dfe-responsive-padding` mixins.
//
// Original code taken from GDS (Government Digital Service)
// https://github.com/alphagov/govuk-frontend
//

$dfe-spacing-responsive-scale: (
  0: (
    null: 0,
    tablet: 0
  ),
  1: (
    null: 4px,
    tablet: 4px
  ),
  2: (
    null: 8px,
    tablet: 8px
  ),
  3: (
    null: 8px,
    tablet: 16px
  ),
  4: (
    null: 16px,
    tablet: 24px
  ),
  5: (
    null: 24px,
    tablet: 32px
  ),
  6: (
    null: 32px,
    tablet: 40px
  ),
  7: (
    null: 40px,
    tablet: 48px
  ),
  8: (
    null: 48px,
    tablet: 56px
  ),
  9: (
    null: 56px,
    tablet: 64px
  )
) !default;
