diff --git a/.changeset/sour-experts-rest.md b/.changeset/sour-experts-rest.md index fc47518ac61..ab4b73235b5 100644 --- a/.changeset/sour-experts-rest.md +++ b/.changeset/sour-experts-rest.md @@ -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 diff --git a/.storybook/styles.css b/.storybook/styles.css index c1cd8c59308..d10e3c22f32 100644 --- a/.storybook/styles.css +++ b/.storybook/styles.css @@ -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); @@ -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); diff --git a/packages/lab/stories/skip-link/skip-link.stories.css b/packages/lab/stories/skip-link/skip-link.stories.css index e895e0cf30c..9283ff6592b 100644 --- a/packages/lab/stories/skip-link/skip-link.stories.css +++ b/packages/lab/stories/skip-link/skip-link.stories.css @@ -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); } diff --git a/tooling/css-variable-docgen-components/src/CharacteristicUsage.css b/tooling/css-variable-docgen-components/src/CharacteristicUsage.css index d5fbf26117e..03dd222c2ef 100644 --- a/tooling/css-variable-docgen-components/src/CharacteristicUsage.css +++ b/tooling/css-variable-docgen-components/src/CharacteristicUsage.css @@ -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); }