mirror of
https://github.com/primer/css.git
synced 2024-11-10 16:07:25 +03:00
Use a variable for font feature settings
This commit is contained in:
parent
e90451c9ce
commit
f1429dcfba
@ -2,6 +2,7 @@
|
||||
$marketing-font-path: "/fonts/" !default;
|
||||
|
||||
$font-mktg: $body-font !default;
|
||||
$mktg-font-feature-settings: 'ss02' on, 'ss01' on !default;
|
||||
$mktg-header-spacing-large: -0.03em !default;
|
||||
$mktg-header-spacing-default: -0.01em !default;
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
.h5-mktg,
|
||||
.h6-mktg {
|
||||
font-family: $font-mktg;
|
||||
font-feature-settings: "salt" 2;
|
||||
font-feature-settings: $mktg-font-feature-settings;
|
||||
font-weight: $font-weight-bold !important;
|
||||
letter-spacing: $mktg-header-spacing-default;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user