Skip to content

Commit

Permalink
fix: text size tokens for Tabs (#56)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredcwhite authored Jul 17, 2023
1 parent 3a6b859 commit 6fe423b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/navigation/Tabs.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.seeds-tabs {
--tab-font: var(--seeds-font-alt-sans);
--tab-font-size: var(--seeds-type-body);
--tab-font-size-sm: var(--seeds-type-label);
--tab-font-size: var(--seeds-type-body-size);
--tab-font-size-sm: var(--seeds-type-label-size);
--tab-font-weight: var(--seeds-font-weight-semibold);
--tab-font-weight-sm: var(--seeds-font-weight-regular);
--tab-background-color: var(--seeds-bg-color-surface);
Expand Down
4 changes: 2 additions & 2 deletions src/navigation/__stories__/Tabs.docs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ import { Swatch } from "../../../documentation/components/Swatch.tsx"
| Name | Description | Default |
| ------------------------------ | ------------------------------------------------------- | ------------------------------ |
| `--tab-font` | Font family | `--seeds-font-alt-sans` |
| `--tab-font-size` | Font size | `--seeds-type-body` |
| `--tab-font-size-sm` | Font size on mobile screens | `--seeds-type-label` |
| `--tab-font-size` | Font size | `--seeds-type-body-size` |
| `--tab-font-size-sm` | Font size on mobile screens | `--seeds-type-label-size` |
| `--tab-font-weight` | Font weight | `--seeds-font-weight-semibold` |
| `--tab-font-weight-sm` | Font weight on mobile screens | `--seeds-font-weight-regular` |
| `--tab-background-color` | <Swatch color="bloom-bg-color-surface" border={true} /> | `--seeds-bg-color-surface` |
Expand Down

0 comments on commit 6fe423b

Please sign in to comment.