Skip to content

Commit

Permalink
Review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z authored and joshwooding committed May 14, 2024
1 parent c0023e6 commit ad16a65
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
13 changes: 7 additions & 6 deletions .changeset/sour-experts-rest.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,13 @@

Added new tokens

| Tier | Token | Value |
| Foundation | `--salt-typography-fontFamily-openSans` | "Open Sans" |
| Foundation | `--salt-typography-fontFamily-ptMono` | "PT Mono" |
| Palette | `--salt-palette-text-fontFamily` | `--salt-typography-fontFamily-openSans` |
| Palette | `--salt-palette-text-fontFamily-heading` | `--salt-typography-fontFamily-openSans` |
| Palette | `--salt-palette-text-fontFamily-code` | `--salt-typography-fontFamily-ptMono` |
| Tier | Token | Value |
| ---------- | ---------------------------------------- | --------------------------------------- |
| Foundation | `--salt-typography-fontFamily-openSans` | "Open Sans" |
| Foundation | `--salt-typography-fontFamily-ptMono` | "PT Mono" |
| Palette | `--salt-palette-text-fontFamily` | `--salt-typography-fontFamily-openSans` |
| Palette | `--salt-palette-text-fontFamily-heading` | `--salt-typography-fontFamily-openSans` |
| Palette | `--salt-palette-text-fontFamily-code` | `--salt-typography-fontFamily-ptMono` |

Updated existing token value mapping to use new tokens

Expand Down
4 changes: 2 additions & 2 deletions .storybook/styles.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.salt-theme .sbdocs {
font-family: var(--salt-palette-text-fontFamily);
font-family: var(--salt-text-fontFamily);
font-size: var(--salt-text-fontSize);
letter-spacing: var(--salt-text-letterSpacing);
line-height: var(--salt-text-lineHeight);
Expand Down Expand Up @@ -41,7 +41,7 @@
color: var(--salt-color-gray-900);
font-size: var(--salt-text-fontSize);
line-height: var(--salt-text-lineHeight);
font-family: var(--salt-palette-text-fontFamily-code);
font-family: var(--salt-text-code-fontFamily);
font-size: var(--salt-text-fontSize);
letter-spacing: var(--salt-text-letterSpacing);
line-height: var(--salt-text-lineHeight);
Expand Down
2 changes: 1 addition & 1 deletion packages/lab/stories/skip-link/skip-link.stories.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

.goalsList {
font-size: var(--salt-text-fontSize);
font-family: var(--salt-palette-text-fontFamily);
font-family: var(--salt-text-fontFamily);
line-height: var(--salt-text-lineHeight);
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.characteristicTokenDoc {
font-family: var(--salt-palette-text-fontFamily-code);
font-family: var(--salt-text-fontFamily-code);
height: var(--salt-size-base);
margin: var(--salt-size-unit);
}
Expand Down

0 comments on commit ad16a65

Please sign in to comment.