Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mrksbnc committed Nov 26, 2023
1 parent fd3debd commit 4e0a214
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 16 deletions.
22 changes: 14 additions & 8 deletions .storybook/docs/fonts/Assistant.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ export const typography = {
'font-extrabold': 800,
},
size: {
'font-xs': 10,
'font-sm': 12,
'font-md': 14,
'font-lg': 16,
'font-xl': 18,
'font-xxl': 20,
'font-xxxl': 22,
'font-xxs': 10,
'font-xs': 12,
'font-sm': 14,
'font-md': 16,
'font-lg': 18,
'font-xl': 20,
'font-xxl': 24,
'font-xxxl': 30,
},
};

Expand All @@ -32,14 +33,15 @@ export const SampleText =

**Font:** Assistant

**Font sizes:** 10px(font-xs), 12px(font-sm), 14px(font-md), 16px(font-lg), 18px(font-xl), 20px(font-xxl), 22px(font-xxxl)
**Font sizes:** 10px(font-xxs), 12px(font-xs), 14px(font-sm), 16px(font-md), 18px(font-lg), 20px(font-xl), 24px(font-xxl), 30px(font-xxxl)

**Font weights:** 300(font-light), 400(font-regular), 500(font-medium), 600(font-semibold), 700(font-bold), 800(font-extrabold)

### Light

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -57,6 +59,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -74,6 +77,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -91,6 +95,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -108,6 +113,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand Down
22 changes: 14 additions & 8 deletions .storybook/docs/fonts/Inter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,14 @@ export const typography = {
'font-extrabold': 800,
},
size: {
'font-xs': 10,
'font-sm': 12,
'font-md': 14,
'font-lg': 16,
'font-xl': 18,
'font-xxl': 20,
'font-xxxl': 22,
'font-xxs': 10,
'font-xs': 12,
'font-sm': 14,
'font-md': 16,
'font-lg': 18,
'font-xl': 20,
'font-xxl': 24,
'font-xxxl': 30,
},
};

Expand All @@ -32,14 +33,15 @@ export const SampleText =

**Font:** Inter

**Font sizes:** 10px(font-xs), 12px(font-sm), 14px(font-md), 16px(font-lg), 18px(font-xl), 20px(font-xxl), 22px(font-xxxl)
**Font sizes:** 10px(font-xxs), 12px(font-xs), 14px(font-sm), 16px(font-md), 18px(font-lg), 20px(font-xl), 24px(font-xxl), 30px(font-xxxl)

**Font weights:** 300(font-light), 400(font-regular), 500(font-medium), 600(font-semibold), 700(font-bold), 800(font-extrabold)

### Light

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -57,6 +59,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -74,6 +77,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -91,6 +95,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand All @@ -108,6 +113,7 @@ export const SampleText =

<Typeset
fontSizes={[
Number(typography.size['font-xxs']),
Number(typography.size['font-xs']),
Number(typography.size['font-sm']),
Number(typography.size['font-md']),
Expand Down

0 comments on commit 4e0a214

Please sign in to comment.