Skip to content

fix(tokens): correct --spectrum-cjk-font to reference --spectrum-cjk-font-family-stack #3883

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Jun 10, 2025
Merged
5 changes: 5 additions & 0 deletions .changeset/late-teams-share.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@spectrum-css/tokens": patch
---

Fixed --spectrum-cjk-font variable to correctly reference --spectrum-cjk-font-family-stack instead of --spectrum-code-font-family-stack
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -184,5 +184,5 @@
".storybook/deprecated/*/*.mdx",
"components/*/stories/*.stories.js",
"components/*/stories/*.mdx"
]
]
}
2 changes: 1 addition & 1 deletion tokens/custom/global-vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
--spectrum-font-size: var(--spectrum-font-size-100);

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

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