Skip to content

Project structure

VyomaCSS follows a clean SCSS architecture inspired by real-world design systems.

scss/
β”œβ”€β”€ abstracts/
β”‚ β”œβ”€β”€ _variables.scss
β”‚ β”œβ”€β”€ _mixins.scss
β”‚ └── _functions.scss
β”œβ”€β”€ base/
β”‚ β”œβ”€β”€ _reset.scss
β”‚ └── _typography.scss
β”œβ”€β”€ utilities/
β”‚ β”œβ”€β”€ _spacing.scss
β”‚ β”œβ”€β”€ _text.scss
β”‚ └── _display.scss
β”œβ”€β”€ components/
β”‚ β”œβ”€β”€ _button.scss
β”‚ └── _card.scss
β”œβ”€β”€ main.scss

All core design values live in _variables.scss.

$primary: #4f46e5;
$danger: #ef4444;
$dark: #111827;
$light: #f9fafb;
$spaces: (
0: 0,
1: 0.25rem,
2: 0.5rem,
3: 1rem,
4: 1.5rem,
5: 3rem
);