<commit_before>@import '_font_stack.scss';
@import '_conditionals.scss';
@import '_device-pixels.scss';
@import '_url-helpers.scss';

//  GOV.UK typography palettes

//  ANATOMY OF A TYPE STYLE
//  -----------------------
//  These are a collection of graphic styles. They are deliberately
//  abstracted from semantic HTML context to enable flexible re-use.
//  Although there is a lot of duplication within this file, as long
//  as you GZIP your CSS it shouldnt cause any bloat.


// CORE FONTS - NEW TRANSPORT

$is-print: false !default;

@mixin core($font-size: 19px, $font-size-640: 16px, $font-size-print: 14pt, $line-height: (25 / 19), $line-height-640: (20 / 16), $tabular-numbers: false) {
  @if $tabular-numbers == true {
    font-family: $NTA-Light-Tabular;
  } @else {
    font-family: $NTA-Light;
  }
  @if $is-print == false {
    font-size: $font-size;
  } @else {
    font-size: $font-size-print;
  }
  line-height: $line-height;
  font-weight: 400;
  text-transform: none;
  @media (max-width: 640px) {
    font-size: $font-size-640;
    line-height: $line-height-640;
  }
}


@mixin core-80($line-height: (80 / 80), $line-height-640: (55 / 53), $tabular-numbers: false) {
  @include core($font-size: 80px, $font-size-640: 53px, $font-size-print: 28pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-48($line-height: (50 / 48), $line-height-640: (35 / 32), $tabular-numbers: false) {
  @include core($font-size: 48px, $font-size-640: 32px, $font-size-print: 18pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-36($line-height: (40 / 36), $line-height-640: (25 / 24), $tabular-numbers: false) {
  @include core($font-size: 36px, $font-size-640: 24px, $font-size-print: 18pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-27($line-height: (30 / 27), $line-height-640: (20 / 18), $tabular-numbers: false) {
  @include core($font-size: 27px, $font-size-640: 20px, $font-size-print: 16pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-24($line-height: (30 / 24), $line-height-640: (24 / 20), $tabular-numbers: false) {
  @include core($font-size: 24px, $font-size-640: 18px, $font-size-print: 16pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-19($line-height: (25 / 19), $line-height-640: (20 / 16), $tabular-numbers: false) {
  @include core($font-size: 19px, $font-size-640: 16px, $font-size-print: 14pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-16($line-height: (20 / 16), $line-height-640: (16 / 14), $tabular-numbers: false) {
  @include core($font-size: 16px, $font-size-640: 14px, $font-size-print: 12pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-14($line-height: (20 / 14), $line-height-640: (15 / 12), $tabular-numbers: false) {
  @include core($font-size: 14px, $font-size-640: 12px, $font-size-print: 11pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin bold-80($line-height: (80 / 80), $line-height-640: (55 / 53), $tabular-numbers: false) {
  @include core-80($line-height, $line-height-640, $tabular-numbers: $tabular-numbers);
  font-weight: 700;<commit_msg>Rename internal mixin to suggested name<commit_after>@import '_font_stack.scss';
@import '_conditionals.scss';
@import '_device-pixels.scss';
@import '_url-helpers.scss';

//  GOV.UK typography palettes

//  ANATOMY OF A TYPE STYLE
//  -----------------------
//  These are a collection of graphic styles. They are deliberately
//  abstracted from semantic HTML context to enable flexible re-use.
//  Although there is a lot of duplication within this file, as long
//  as you GZIP your CSS it shouldnt cause any bloat.


// CORE FONTS - NEW TRANSPORT

$is-print: false !default;

@mixin _core-font-generator($font-size: 19px, $font-size-640: 16px, $font-size-print: 14pt, $line-height: (25 / 19), $line-height-640: (20 / 16), $tabular-numbers: false) {
  @if $tabular-numbers == true {
    font-family: $NTA-Light-Tabular;
  } @else {
    font-family: $NTA-Light;
  }
  @if $is-print == false {
    font-size: $font-size;
  } @else {
    font-size: $font-size-print;
  }
  line-height: $line-height;
  font-weight: 400;
  text-transform: none;
  @media (max-width: 640px) {
    font-size: $font-size-640;
    line-height: $line-height-640;
  }
}


@mixin core-80($line-height: (80 / 80), $line-height-640: (55 / 53), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 80px, $font-size-640: 53px, $font-size-print: 28pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-48($line-height: (50 / 48), $line-height-640: (35 / 32), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 48px, $font-size-640: 32px, $font-size-print: 18pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-36($line-height: (40 / 36), $line-height-640: (25 / 24), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 36px, $font-size-640: 24px, $font-size-print: 18pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-27($line-height: (30 / 27), $line-height-640: (20 / 18), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 27px, $font-size-640: 20px, $font-size-print: 16pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-24($line-height: (30 / 24), $line-height-640: (24 / 20), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 24px, $font-size-640: 18px, $font-size-print: 16pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-19($line-height: (25 / 19), $line-height-640: (20 / 16), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 19px, $font-size-640: 16px, $font-size-print: 14pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-16($line-height: (20 / 16), $line-height-640: (16 / 14), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 16px, $font-size-640: 14px, $font-size-print: 12pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin core-14($line-height: (20 / 14), $line-height-640: (15 / 12), $tabular-numbers: false) {
  @include _core-font-generator($font-size: 14px, $font-size-640: 12px, $font-size-print: 11pt, $line-height, $line-height-640, $tabular-numbers);
}

@mixin bold-80($line-height: (80 / 80), $line-height-640: (55 / 53), $tabular-numbers: false) {
  @include core-80($line-height, $line-height-640, $tabular-numbers: $tabular-numbers);
  font-weight: 700;
{'fraction_non_alphanumeric': 0.19938176197836166, 'fraction_numerical': 0.07820710973724884, 'mean_word_length': 3.8654135338345865, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6411194', 'n_tokens_mistral': 2869, 'n_tokens_neox': 2473, 'n_words': 556}