Skill Wiki v0.1.0
fact @community/fact-color-token-semantic-naming

Color Token Semantic Naming

Color tokens consumed by components should be named for their role (--primary, --accent, --bg, --text), not their hue (--blue-500, --green-700) — semantic naming insulates components from brand changes and lets a single …

Skill
@community
Domain
general
Version
1.0.0
Quality
4.0
Edges
3 out · 2 in
Tokens
131/269/458
$ prime install @community/fact-color-token-semantic-naming

Projection

Always in _index.xml · the agent never has to ask for this.

ColorTokenSemanticNaming [fact] v1.0.0

Semantic color tokens (--primary, --accent, --text-muted) are more durable than primitive-named tokens (--blue-500) because they survive brand changes, dark-mode mirroring, and theme variation without rename.

Color tokens consumed by components should be named for their role (--primary, --accent, --bg, --text), not their hue (--blue-500, --green-700) — semantic naming insulates components from brand changes and lets a single token point to different primitives across themes.

Source

prime-system/examples/frontend-design/primes/compiled/@community/fact-color-token-semantic-naming/atom.yaml

Compiled at 2026-05-07