tokens.js¶
tokens.js
is an ES6 module where tokens are published as importable variables (with camel-cased names).
Note
Themed tokens are included in the module with a ThemedLight
or ThemedDark
suffix, unlike tokens.css and tokens.dark.css.
Example¶
import { ComponentTextColorThemedDark } from '@lsst-sqre/rubin-style-dictionary';