// Typography
$font-path: '..' !default;

$font-family: (
  'normal': "'Oslo Sans', arial, sans-serif",
  'icon': "'Oslo Icons', sans-serif",
) !default;

$font-face: (
  'regular': (
    'family': Oslo Sans,
    'style': normal,
    'weight': 400,
    'src-woff': '#{$font-path}/fonts/OsloSans-Regular.woff',
    'src-woff2': '#{$font-path}/fonts/OsloSans-Regular.woff2',
  ),
  'regular-italic': (
    'family': Oslo Sans,
    'style': italic,
    'weight': 400,
    'src-woff': '#{$font-path}/fonts/OsloSans-RegularItalic.woff',
    'src-woff2': '#{$font-path}/fonts/OsloSans-RegularItalic.woff2',
  ),
  'light': (
    'family': Oslo Sans,
    'style': normal,
    'weight': 300,
    'src-woff': '#{$font-path}/fonts/OsloSans-Light.woff',
    'src-woff2': '#{$font-path}/fonts/OsloSans-Light.woff2',
  ),
  'medium': (
    'family': Oslo Sans,
    'style': normal,
    'weight': 500,
    'src-woff': '#{$font-path}/fonts/OsloSans-Medium.woff',
    'src-woff2': '#{$font-path}/fonts/OsloSans-Medium.woff2',
  ),
  'bold': (
    'family': Oslo Sans,
    'style': normal,
    'weight': 700,
    'src-woff': '#{$font-path}/fonts/OsloSans-Bold.woff',
    'src-woff2': '#{$font-path}/fonts/OsloSans-Bold.woff2',
  ),
  'icons': (
    'family': Oslo Icons,
    'style': normal,
    'weight': 400,
    'src-woff': '#{$font-path}/fonts/OsloIcons.woff',
    'src-woff2': '#{$font-path}/fonts/OsloIcons.woff2',
  ),
) !default;

$font-size-base: 16px;
$font-size: (
  'size-12': 0.75rem,
  'size-14': 0.875rem,
  'size-16': 1rem,
  'size-18': 1.125rem,
  'size-20': 1.25rem,
  'size-22': 1.375rem,
  'size-24': 1.5rem,
  'size-26': 1.625rem,
  'size-28': 1.75rem,
  'size-30': 1.875rem,
  'size-36': 2.25rem,
  'size-40': 2.5rem,
  'size-48': 3rem,
  'size-54': 3.375rem,
  'size-70': 4.375rem,
) !default;

$font-weight: (
  'light': 300,
  'regular': 400,
  'medium': 500,
  'bold': 700,
) !default;

$line-height: (
  'body': 1.75rem,
  'lh-98': 6.125rem,
  'lh-82': 5.125rem,
  'lh-64': 4rem,
  'lh-60': 3.75rem,
  'lh-54': 3.375rem,
  'lh-44': 2.75rem,
  'lh-42': 2.25rem,
  'lh-40': 2.5rem,
  'lh-36': 2.25rem,
  'lh-34': 2.125rem,
  'lh-32': 2rem,
  'lh-28': 1.75rem,
  'lh-24': 1.5rem,
  'lh-22': 1.375rem,
  'lh-20': 1.25rem,
) !default;

$letter-spacing: (
  'tighter': -0.4px,
  'tight': -0.2px,
  'normal': normal,
) !default;

$pkt-font-weight: (
  'pkt-font-light': (
    'weight': 'light',
  ),
  'pkt-font-regular': (
    'weight': 'regular',
  ),
  'pkt-font-medium': (
    'weight': 'medium',
  ),
  'pkt-font-bold': (
    'weight': 'bold',
  ),
);

// pkt specific styles
$pkt-styles: (
  'pkt-txt-70': (
    'size': 'size-70',
    'weight': 'regular',
    'letter-spacing': 'tighter',
    'line-height': 'lh-98',
  ),
  'pkt-txt-54': (
    'size': 'size-54',
    'weight': 'regular',
    'letter-spacing': 'tighter',
    'line-height': 'lh-82',
  ),
  'pkt-txt-48': (
    'size': 'size-48',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-64',
  ),

  'pkt-txt-40': (
    'size': 'size-40',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-60',
  ),
  'pkt-txt-36': (
    'size': 'size-36',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-54',
  ),
  'pkt-txt-30': (
    'size': 'size-30',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-44',
  ),
  'pkt-txt-28': (
    'size': 'size-28',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-42',
  ),
  'pkt-txt-26': (
    'size': 'size-26',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-40',
  ),
  'pkt-txt-24': (
    'size': 'size-24',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-36',
  ),
  'pkt-txt-22': (
    'size': 'size-22',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-34',
  ),
  'pkt-txt-20': (
    'size': 'size-20',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-32',
  ),
  'pkt-txt-18': (
    'size': 'size-18',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-28',
  ),
  'pkt-txt-16': (
    'size': 'size-16',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-24',
  ),
  'pkt-txt-14': (
    'size': 'size-14',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-22',
  ),
  'pkt-txt-12': (
    'size': 'size-12',
    'weight': 'regular',
    'letter-spacing': 'tight',
    'line-height': 'lh-20',
  ),
  'pkt-txt-54-medium': (
    'size': 'size-54',
    'weight': 'medium',
    'letter-spacing': 'tighter',
    'line-height': 'lh-82',
  ),
  'pkt-txt-40-medium': (
    'size': 'size-40',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-60',
  ),
  'pkt-txt-36-medium': (
    'size': 'size-36',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-54',
  ),
  'pkt-txt-30-medium': (
    'size': 'size-30',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-44',
  ),
  'pkt-txt-28-medium': (
    'size': 'size-28',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-42',
  ),
  'pkt-txt-26-medium': (
    'size': 'size-26',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-40',
  ),
  'pkt-txt-24-medium': (
    'size': 'size-24',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-36',
  ),
  'pkt-txt-22-medium': (
    'size': 'size-22',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-34',
  ),
  'pkt-txt-20-medium': (
    'size': 'size-20',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-32',
  ),
  'pkt-txt-18-medium': (
    'size': 'size-18',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-28',
  ),
  'pkt-txt-16-medium': (
    'size': 'size-16',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-24',
  ),
  'pkt-txt-14-medium': (
    'size': 'size-14',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-22',
  ),
  'pkt-txt-12-medium': (
    'size': 'size-12',
    'weight': 'medium',
    'letter-spacing': 'tight',
    'line-height': 'lh-20',
  ),
  'pkt-txt-54-bold': (
    'size': 'size-54',
    'weight': 'bold',
    'letter-spacing': 'tighter',
    'line-height': 'lh-82',
  ),
  'pkt-txt-40-bold': (
    'size': 'size-40',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-60',
  ),
  'pkt-txt-36-bold': (
    'size': 'size-36',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-54',
  ),
  'pkt-txt-30-bold': (
    'size': 'size-30',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-44',
  ),
  'pkt-txt-28-bold': (
    'size': 'size-28',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-42',
  ),
  'pkt-txt-26-bold': (
    'size': 'size-26',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-40',
  ),
  'pkt-txt-24-bold': (
    'size': 'size-24',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-36',
  ),
  'pkt-txt-22-bold': (
    'size': 'size-22',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-34',
  ),
  'pkt-txt-20-bold': (
    'size': 'size-20',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-32',
  ),
  'pkt-txt-18-bold': (
    'size': 'size-18',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-28',
  ),
  'pkt-txt-16-bold': (
    'size': 'size-16',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-24',
  ),
  'pkt-txt-14-bold': (
    'size': 'size-14',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-22',
  ),
  'pkt-txt-12-bold': (
    'size': 'size-12',
    'weight': 'bold',
    'letter-spacing': 'tight',
    'line-height': 'lh-20',
  ),
  'pkt-txt-54-light': (
    'size': 'size-54',
    'weight': 'light',
    'letter-spacing': 'tighter',
    'line-height': 'lh-82',
  ),
  'pkt-txt-40-light': (
    'size': 'size-40',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-60',
  ),
  'pkt-txt-36-light': (
    'size': 'size-36',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-54',
  ),
  'pkt-txt-30-light': (
    'size': 'size-30',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-44',
  ),
  'pkt-txt-28-light': (
    'size': 'size-28',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-42',
  ),
  'pkt-txt-26-light': (
    'size': 'size-26',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-40',
  ),
  'pkt-txt-24-light': (
    'size': 'size-24',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-36',
  ),
  'pkt-txt-22-light': (
    'size': 'size-22',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-34',
  ),
  'pkt-txt-20-light': (
    'size': 'size-20',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-32',
  ),
  'pkt-txt-18-light': (
    'size': 'size-18',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-28',
  ),
  'pkt-txt-16-light': (
    'size': 'size-16',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-24',
  ),
  'pkt-txt-14-light': (
    'size': 'size-14',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-22',
  ),
  'pkt-txt-12-light': (
    'size': 'size-12',
    'weight': 'light',
    'letter-spacing': 'tight',
    'line-height': 'lh-20',
  ),
);
