more-css
Installation
SKILL.md
More CSS
Make intentional decisions about structure, tokens, and tooling so CSS scales across components, themes, teams, and time.
No frameworks. Do not use TailwindCSS, UnoCSS, Bootstrap, or any other CSS framework. Write vanilla CSS only. If a utility layer is needed, build it — don't import it.
Core Principles
- Tokens first — Define values once as custom properties; reference everywhere
- Layer everything — Use
@layerto make specificity predictable and override-safe - Name with intent — Naming conventions exist to communicate, not to decorate
- Tooling serves you — Use a bundler to split files and handle imports; never let tooling substitute for clear CSS architecture
- Composition over inheritance — Build components from tokens and utilities, not from each other
- Relative units — Use relative values for everything except
border-widthandoutline-width;pxanywhere else overrides user preferences