Hyvä Theme CSS Directory Structure
Hyvä themes organize source CSS files within the web/tailwind directory.
- The
base/directory contains Hyvä's preflight CSS, offering improved defaults over Tailwind's default preflight. It also demonstrates classless styling. - The
components/directory stores styles for common components like toolbars, buttons, forms, and messages. - The
generated/directory holdshyva-source.cssandhyva-tokens.css, generated by thenpx hyva-sourcesandnpx hyva-tokenscommands from hyva-modules. - The
utilities/directory houses custom utility styles. - The
theme/directory is for page-specific or custom styles.
Note: Older Hyvä Versions
Hyvä themes prior to version 1.4.0 had a different, less structured directory layout. Be aware of this if working with older builds (e.g., 1.3.x).