Usage
Styles #
The CSS is processed with PostCSS and uses CUBE CSS as the methodology. Tailwind CSS is used as a utility class and CSS Custom Property generator. All core partials are bundled into one single output CSS file: global.css.
CSS Folder Structure #
The CSS code is divided into two categories:
- Global styles contain all the code that should be included in the global.css file.
- And additional files that should be bundled with a component or loaded on demand.
assets
└── css
└── global
├── components
├── global
├── compositions
├── utilities
└── global.css
└── bundle
├── file-a.css
└── file-b.cssThe CSS folder mostly resembles the CUBE CSS structure and is as follows:
- global: global styles, broken up into handy partials
- compositions: layout compositions
- components: contains css components
- utilities: core utilities
- global.css: the main CSS file that pulls everything together