What problem does it solve?
It solves inconsistent, fragile frontend implementations by providing a universal, repeatable methodology for structuring HTML/CSS and delivering accessible, responsive UI.
Core Features & Use Cases
- Token-first CSS architecture: define semantic CSS custom properties for colors, typography, spacing, shadows, and radii before component styles.
- BEM naming consistency: enforce Block-Element-Modifier conventions to keep component styles predictable and maintainable.
- Mobile-first responsive implementation: design for 375px first, then enhance at standard breakpoints without horizontal overflow.
- Optional three-state dark mode: add a JS-driven theme toggle only when the brief requires it, using the provided toggle approach.
- Accessibility built in: semantic HTML, focus styles, skip link, labeled form controls, and WCAG-oriented contrast guidance.
- Performance-minded rules: lazy-loading, preconnect for fonts, and keeping JS framework usage at vanilla JS only.
Quick Start
Apply the methodology by creating tokens in variables.css, implementing BEM component styles in styles.css, adding responsive nav in mobile-nav.css, and using the provided vanilla JS assets only when the brief requires mobile navigation or dark mode.