You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Docs: spec.md calls the tokens "the normative values", PHILOSOPHY.md calls them "context" #194
The two documents give the YAML tokens opposite roles:
docs/spec.md: "The tokens are the normative values; the prose provides context for how to apply them."
PHILOSOPHY.md: "The token values serve as context and are not rendering instructions. Generally, we do not accept or recommend token requirements in the specification."
This matters when the code already holds the values. Some CSS values cannot be written as tokens with 0.4.0. For example, a clamp() font size is refused as a dimension, and color-mix(in srgb, #f2b33d 10%, transparent) is exported as #f2b33d1a, so the link to the base colour is lost. If the tokens are normative, such a project must keep a second, lossy copy of its values. If they are context, it can keep the values in the code and let DESIGN.md name them.
Could the docs say which reading is intended, or when each applies? For example: normative when the YAML is the only source of the values, context when the code holds them. If the @-references of #180 are the intended answer, a sentence saying so in spec.md would settle it.
Related: #16 (the same facts written twice in one file), #181 (whether a page uses the tokens at all).
Thanks for the clamp() example. I opened #204 to clarify where YAML token values are defined and point readers to the external-reference syntax when those values already live in CSS.
Activity
zachshallbetter commentedon Dec 2, 2026
Thanks for the
clamp()example. I opened #204 to clarify where YAML token values are defined and point readers to the external-reference syntax when those values already live in CSS.