Skip to content

THEME_SHARED_TOKENS

const THEME_SHARED_TOKENS: object

Defined in: packages/core/src/fields/color/utils.ts:57

Scheme-independent fields, read from the theme document root.

--font-sans is commonly also set by the host’s font loader (e.g. next/font) as a class on <html>; both are specificity (0,1,0), so the later declaration wins. A stack naming a font the app has not loaded degrades to the next entry rather than breaking.

readonly fontFamily: "--font-sans" = "--font-sans"

readonly radius: "--radius" = "--radius"