Skip to content

Commit

Permalink
Merge pull request #271 from alphagov/font-size-adjust-support
Browse files Browse the repository at this point in the history
Add support for font-size-adjust into the font stack
  • Loading branch information
fofr committed Apr 26, 2016
2 parents 491ec77 + 8413c1c commit 1d40977
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions stylesheets/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ $is-print: false !default;
font-weight: $font-weight;
text-transform: none;

@if $toolkit-font-stack == $NTA-Light {
@if $font-weight > 400 {
font-size-adjust: 0.525;
} @else {
font-size-adjust: 0.5;
}
}

@include media(tablet) {
font-size: $font-size;
line-height: $line-height;
Expand Down

0 comments on commit 1d40977

Please sign in to comment.