Skip to content

Commit 31c8868

Browse files
committed
- Using numbers in the @font-face rules, as css custom properties are not available there
- Correct url for a story
1 parent bfece28 commit 31c8868

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

scss/bitstyles/base/forms/forms.stories.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Canvas, Meta, Story } from '@storybook/addon-docs';
22

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

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

77
# Forms
88

scss/bitstyles/design-tokens/_typography.scss

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,37 +26,37 @@ $webfont-variants: (
2626
'normal': (
2727
'font-family': $webfont-family-name,
2828
'font-style': normal,
29-
'font-weight': var(custom-property.name('font-weight', 'normal')),
29+
'font-weight': 400,
3030
'filename': 'poppins-v20-latin-400',
3131
),
3232
'italic': (
3333
'font-family': $webfont-family-name,
3434
'font-style': italic,
35-
'font-weight': var(custom-property.name('font-weight', 'normal')),
35+
'font-weight': 400,
3636
'filename': 'poppins-v20-latin-400italic',
3737
),
3838
'medium': (
3939
'font-family': $webfont-family-name,
4040
'font-style': normal,
41-
'font-weight': var(custom-property.name('font-weight', 'medium')),
41+
'font-weight': 500,
4242
'filename': 'poppins-v20-latin-500',
4343
),
4444
'medium-italic': (
4545
'font-family': $webfont-family-name,
4646
'font-style': italic,
47-
'font-weight': var(custom-property.name('font-weight', 'medium')),
47+
'font-weight': 500,
4848
'filename': 'poppins-v20-latin-500italic',
4949
),
5050
'semibold': (
5151
'font-family': $webfont-family-name,
5252
'font-style': normal,
53-
'font-weight': var(custom-property.name('font-weight', 'semibold')),
53+
'font-weight': 600,
5454
'filename': 'poppins-v20-latin-600',
5555
),
5656
'semibold-italic': (
5757
'font-family': $webfont-family-name,
5858
'font-style': italic,
59-
'font-weight': var(custom-property.name('font-weight', 'semibold')),
59+
'font-weight': 600,
6060
'filename': 'poppins-v20-latin-600italic',
6161
),
6262
) !default;

0 commit comments

Comments
 (0)