1
1
mirror of https://github.com/primer/css.git synced 2024-12-25 15:14:59 +03:00

Correctly expose and use variables so that they can be overridden

This commit is contained in:
Tobias Ahlin 2021-05-04 14:04:10 +02:00
parent 0e34ae90cd
commit 6b2c894516
2 changed files with 3 additions and 3 deletions

View File

@ -7,7 +7,7 @@ $mktg-header-spacing-large: -0.03em !default;
$mktg-header-spacing-default: -0.01em !default;
$mktg-header-spacing-threshold: 48px !default;
$mktg-header-weight-large: 800 !default;
$mktg-header-weight-default: 600 !default;
$mktg-header-weight-default: $font-weight-bold !default;
$mktg-header-weight-threshold: 24px !default;
// Header size steps

View File

@ -8,8 +8,8 @@
.h6-mktg {
font-family: $font-mktg;
font-feature-settings: $mktg-font-feature-settings;
font-weight: $font-weight-bold !important;
letter-spacing: $mktg-header-spacing-default;
font-weight: $mktg-header-weight-default !important;
letter-spacing: $mktg-header-spacing-default !important;
}
@each $header, $sizes in $mktg-headers {