////
/// @group Typography
////

/// A map of named font sizes to their corresponding modular scale factor
/// @prop {Integer} h1 [6] Heading 1
/// @prop {Integer} h2 [5] Heading 2
/// @prop {Integer} h3 [4] Heading 3
/// @prop {Integer} h4 [3] Heading 4
/// @prop {Integer} h5 [2] Heading 5
/// @prop {Integer} h6 [1] Heading 6
/// @prop {Integer} p [0] Paragraph
/// @since 0.1.0
$named-font-sizes: (
  h1: 7,
  h2: 6,
  h3: 5,
  h4: 4,
  h5: 3,
  h6: 2,
  lead: 1,
  p: 0
);

/// Numeric font sizes
/// @since 0.2.0
$font-sizes: (
  // sass-lint:disable-block space-around-operator
  -1: (
    fs: 14,
    lh: 4 * 5,
    fw: 400,
    mb: $spacing-medium,
    mt: $spacing-medium
  ),
  // Paragraphs
  0: (
    fs: 4 * 4,
    lh: 4 * 6,
    fw: 400,
    mb: $spacing-medium,
    mt: $spacing-medium
  ),
  // Lead
  1: (
    fs: 4 * 5,
    lh: 4 * 7,
    fw: 400,
    mb: $spacing-medium,
    mt: $spacing-medium
  ),
  // h6
  2: (
    fs: 4 * 4,
    lh: 4 * 5,
    fw: 700,
    mb: $spacing-medium,
    mt: $spacing-large
  ),
  // h5
  3: (
    fs: 4 * 5,
    lh: 4 * 6,
    fw: 700,
    mb: $spacing-medium,
    mt: $spacing-large
  ),
  // h4
  4: (
    fs: 4 * 6,
    lh: 4 * 7,
    fw: 700,
    mb: $spacing-medium,
    mt: $spacing-large
  ),
  // h3
  5: (
    fs: 4 * 7,
    lh: 4 * 8,
    fw: 700,
    mb: $spacing-medium,
    mt: $spacing-large
  ),
  // h2
  6: (
    fs: 4 * 9,
    lh: 4 * 10,
    fw: 700,
    mb: $spacing-medium,
    mt: $spacing-large
  ),
  // h1
  7: (
    fs: 4 * 11,
    lh: 4 * 12,
    fw: 900,
    mb: $spacing-medium,
    mt: 0,
  )
);
