Skip to content

Glossary

termmeans
tokenone named design decision — a custom property (or DTCG entry) with a value: --spacing-3: 12px
systemthe complete set of tokens your config’s tokens sources resolve to — the allowed set dscheck enforces
modean alternate value a token takes under a theme scope (.dark, [data-theme=…], media-wrapped :root, or a second token file); any mode’s value counts as on-system
rolean opt-in semantic job for a token (fg, bg, border) — lets dscheck flag a valid token doing the wrong job
findingone report: a value, its location, the rule that fired, and the nearest on-system tokens with distances
verdictthe mark a finding carries — ✔ on-system, ⚠ needs judgment, ✖ off-system
surfacea place dscheck reads values from: CSS declarations, style={{}}, class strings, tagged templates… — the checked and skipped inventory is the supported-surfaces contract
skipa deliberate, documented non-check (an interpolation, a dynamic classname) — never silent, always listed by --explain-skips
baselineaccepted existing debt, recorded as per-file/per-rule counts; CI then fails only on findings beyond it
exact matcha suggestion whose value is provably identical to the raw value — the only kind autofix will ever apply