rule @community/rule-z-index-stacking-system

Z Index Stacking System

All z-index values must be drawn from a named token scale (base: 0, raised: 10, dropdown: 100, sticky: 200, overlay-backdrop: 300, overlay: 400, toast/notification: 500, tooltip: 600) — never hard-coded arbitrary integer…

Skill
@community
Domain
frontend-design
Version
1.0.0
Quality
0.0
Edges
0 out · 0 in
Tokens
86/505/1043
$ aoe install @community/rule-z-index-stacking-system

Projection

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

ZIndexStackingSystem [rule] v1.0.0

All z-index values must be drawn from a named token scale (base: 0, raised: 10, dropdown: 100, sticky: 200, overlay-backdrop: 300, overlay: 400, toast/notification: 500, tooltip: 600) — never hard-coded arbitrary integers. Magic z-index values like z-index: 9999 are prohibited.

Source

aoe-engine/examples/frontend-design/primes/compiled/@community/rule-z-index-stacking-system/atom.yaml