Skip to content

Commit

Permalink
scss: use shorthand modular-scale function
Browse files Browse the repository at this point in the history
  • Loading branch information
mrmartineau committed Jan 27, 2017
1 parent 89e618f commit ae62ba7
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions assets/src/scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ $baseline : $line-height-base * 1px;
$type-scale : 1.25; // Major third

$type: (
micro : ko-modular-scale($font-size-base, -2, $type-scale),
small : ko-modular-scale($font-size-base, -1, $type-scale), // h5, h6
base : ko-modular-scale($font-size-base, 0, $type-scale), // p, h4
mid : ko-modular-scale($font-size-base, 1, $type-scale), // h3
large : ko-modular-scale($font-size-base, 2, $type-scale), // h2
jumbo : ko-modular-scale($font-size-base, 3, $type-scale) // h1
micro : ko-ms(-2),
small : ko-ms(-1), // h5, h6
base : ko-ms(0), // p, h4
mid : ko-ms(1), // h3
large : ko-ms(2), // h2
jumbo : ko-ms(3) // h1
);

// Useful to set here when bold webfonts come as 400 font-weight.
Expand Down

0 comments on commit ae62ba7

Please sign in to comment.