rule @community/rule-color-oklch-required

Color Oklch Required

All new color declarations in CSS / inline styles MUST use the oklch() color function.…

Skill
@community
Domain
visual-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
85/395/855
$ aoe install @community/rule-color-oklch-required

Projection

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

ColorOklchRequired [rule] v1.0.0

All new color declarations in CSS / inline styles MUST use the oklch() color function. Hex (#rrggbb), rgb(), and hsl() are prohibited for new code because they encode color in non-perceptual spaces, making consistent lightness ramps and dark-mode mirroring mathematically painful.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-color-oklch-required/atom.yaml