CSSnavn
CSSnavn is a naming convention for CSS class names and design tokens designed to improve readability, consistency, and maintainability of front-end styles. It prescribes a systematic approach to how components, their parts, and their states are named, with a focus on semantic meaning rather than presentational hints. The term merges CSS with 'navn', the Danish and Norwegian word for 'name', signaling an emphasis on explicit naming across a project or design system.
Core principles include semantic clarity, namespace scoping to minimize collisions, and predictable refactoring as a project
Structure guidelines commonly used in CSSnavn resemble established patterns while remaining explicit. A component namespace forms
Adoption and tooling often include linters and style guides to enforce naming rules, along with integration