Skip to content

Commit

Permalink
Using numbers in the @font-face rules, as css custom properties are…
Browse files Browse the repository at this point in the history
… not available there
  • Loading branch information
planktonic committed Aug 15, 2023
1 parent 635a9c7 commit 6a7a6b6
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions scss/bitstyles/design-tokens/_typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,37 +26,37 @@ $webfont-variants: (
'normal': (
'font-family': $webfont-family-name,
'font-style': normal,
'font-weight': var(custom-property.name('font-weight', 'normal')),
'font-weight': 400,
'filename': 'poppins-v20-latin-400',
),
'italic': (
'font-family': $webfont-family-name,
'font-style': italic,
'font-weight': var(custom-property.name('font-weight', 'normal')),
'font-weight': 400,
'filename': 'poppins-v20-latin-400italic',
),
'medium': (
'font-family': $webfont-family-name,
'font-style': normal,
'font-weight': var(custom-property.name('font-weight', 'medium')),
'font-weight': 500,
'filename': 'poppins-v20-latin-500',
),
'medium-italic': (
'font-family': $webfont-family-name,
'font-style': italic,
'font-weight': var(custom-property.name('font-weight', 'medium')),
'font-weight': 500,
'filename': 'poppins-v20-latin-500italic',
),
'semibold': (
'font-family': $webfont-family-name,
'font-style': normal,
'font-weight': var(custom-property.name('font-weight', 'semibold')),
'font-weight': 600,
'filename': 'poppins-v20-latin-600',
),
'semibold-italic': (
'font-family': $webfont-family-name,
'font-style': italic,
'font-weight': var(custom-property.name('font-weight', 'semibold')),
'font-weight': 600,
'filename': 'poppins-v20-latin-600italic',
),
) !default;
Expand Down

0 comments on commit 6a7a6b6

Please sign in to comment.