CSS Writing Rules

CSS coding guidelines for Web Components with Shadow DOM. Use when (1) writing new CSS styles for components, (2) reviewing CSS code, (3) implementing design tokens, (4) creating responsive layouts, (5) managing CSS variables. Covers @layer structure, ::part() styling, variable patterns, accessibility (reduced motion, any-hover), and naming conventions. Use when this capability is needed.

tomevault-io baf8f69 2 files · 8.7 KB Updated

File contents

tomevault-io/skills-registry/tree/main/monoharada--web-components-factory--css-writing-rules commit baf8f69e9c

Frequently asked questions

npx skillmds@latest add tomevault-io/css-writing-rules