Skip to content

Commit

Permalink
- Using numbers in the @font-face rules, as css custom properties a…
Browse files Browse the repository at this point in the history
…re not available there

- Correct url for a story
  • Loading branch information
planktonic committed Aug 15, 2023
1 parent 635a9c7 commit c90461a
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion scss/bitstyles/base/forms/forms.stories.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs';

<Meta title="Base/Forms/Overview" />

<Story id="ui-data-forms--login-form-with-errors" />
<Story id="ui-data-forms-overview--login-form-with-errors" />

# Forms

Expand Down
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 c90461a

Please sign in to comment.