Skip to main content

Type Alias: SemanticTokens

SemanticTokens = ThemeTokens["semantic"]

Defined in: Types.ts:230

The semantic token layer of a theme. This is the only part of the token system that components should consume — never core.* tokens directly.

Obtain via useTokens() inside a <ThemeProvider theme={...}>.

See

useTokens