Skip to content

Commit 4e3a120

Browse files
authored
fix(tokens): correct --spectrum-cjk-font to reference --spectrum-cjk-font-family-stack (#3883)
Update the value of --spectrum-cjk-font to reference --spectrum-cjk-font-family-stack.
1 parent 4db3e8a commit 4e3a120

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.changeset/late-teams-share.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@spectrum-css/tokens": patch
3+
---
4+
5+
Fixed --spectrum-cjk-font variable to correctly reference --spectrum-cjk-font-family-stack instead of --spectrum-code-font-family-stack

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,5 +184,5 @@
184184
".storybook/deprecated/*/*.mdx",
185185
"components/*/stories/*.stories.js",
186186
"components/*/stories/*.mdx"
187-
]
187+
]
188188
}

tokens/custom/global-vars.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
--spectrum-font-size: var(--spectrum-font-size-100);
5656

5757
--spectrum-cjk-font-family-stack: adobe-clean-han-japanese, var(--spectrum-cjk-font-family), sans-serif;
58-
--spectrum-cjk-font: var(--spectrum-code-font-family-stack);
58+
--spectrum-cjk-font: var(--spectrum-cjk-font-family-stack);
5959

6060
/* static white / black background color for docs containers */
6161
--spectrum-docs-static-white-background-color: rgb(15 121 125);

0 commit comments

Comments
 (0)