Variable WS_CARD_TOKENSConst
WS_CARD_TOKENS: {
"--ws-accent": string;
"--ws-accent-bg": string;
"--ws-border": string;
"--ws-ink": string;
"--ws-ink-2": string;
"--ws-panel": string;
"--ws-path": string;
} = ...
Type declaration
--ws-accent: string
--ws-accent-bg: string
--ws-border: string
--ws-ink: string
--ws-ink-2: string
--ws-panel: string
--ws-path: string
The base
--ws-*tokens, mapped onto Sanity UI's card vars so the workflow tools follow the ambient theme. Consumers retheme by overriding--ws-*on a wrapping element.--ws-fontand--ws-font-weightare absent because Sanity UI publishes no card variable for either — it sets them onText/Heading/Codeand nowhere inheritable, so a bare Card computes to the browser's default serif. WorkflowDiagram reads them off the theme instead; a consumer applying this map to its own wrapper must set that pair itself.