Skip to content

Commit

Permalink
Add letter-spacing-heading to $typography
Browse files Browse the repository at this point in the history
  • Loading branch information
adamlaki committed Nov 23, 2023
1 parent c42d09c commit 853534c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions scss/config/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ $typography: map.merge(
'font-weight-heading': 700,
'inline-border-radius': map.get($display, 'border-radius-sm'),
'inline-padding': 0.1em 0.3em,
'letter-spacing-heading': null,
'line-height-base': 1.8,
'line-height-heading': calc(2px + 2ex + 2px),
'line-height-lg': 1.8,
Expand Down
1 change: 1 addition & 0 deletions scss/element/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
color: color('heading');
font-family: config('font-family-heading', $typography);
font-weight: config('font-weight-heading', $typography);
letter-spacing: config('letter-spacing-heading', $typography);
line-height: config('line-height-heading', $typography);
}

Expand Down
1 change: 1 addition & 0 deletions scss/form/_fieldset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

legend {
color: color('legend', 'form');
font-family: config('legend-font-family', $form-fieldset);
font-size: config('legend-font-size', $form-fieldset);
font-weight: config('legend-font-weight', $form-fieldset);
}
Expand Down

0 comments on commit 853534c

Please sign in to comment.