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
com.kernary.aoe/frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
131/291/538
$ aoe 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

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