Coming from Pico CSS
Pico CSS development stopped; forma-css continues the journey. The philosophy is the same – semantic HTML, almost no classes – with tokens, states and grids taken further.
What stays the same
Semantic HTML as the API, class-light components, no JavaScript. Your Pico markup mostly works as-is.
What changes
- Variables become per-element tokens: --forma-button-*, --forma-heading1-*, all wrapped in light-dark() – one rule per element, both themes.
- Colors: define primary and secondary; hover, active and secondary states derive in relative oklch.
- Color utilities are .color-* (primary, secondary, success, danger, info, warning).
- Grids: no pre-generated column classes – .responsive-container plus --span, with decimal values allowed.
- Sizes: universal .sm, .lg, .xl classes scale any element.
- Modules: every module except normalize and layout can be switched off in _config.scss.