css-modules

Solid

CSS Modules patterns, composition, variables, and build configuration.

Web & Frontend 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 93/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
32
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# CSS Modules Skill Expert assistance for scoped styling with CSS Modules. ## Capabilities - Configure CSS Modules - Write scoped styles - Implement composition - Use CSS variables - Handle theming ## Usage Pattern ```css /* Button.module.css */ .button { padding: 0.5rem 1rem; border-radius: 0.25rem; composes: reset from './reset.module.css'; } .primary { composes: button; background: var(--color-primary); color: white; } ``` ```tsx import styles from './Button.module.css'; <button className={styles.primary}>Click me</button> ``` ## Target Processes - react-application-development - component-styling - design-system

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills