Quickstart
Install. Configure. Build. The full reference lives in one markdown file at /llms.txt.
npm install eva-css-fluid \
eva-css-purge \
eva-colors
Three packages: the framework, the CSS purger, and the OKLCH color utilities.
// styles/main.scss @use 'eva-css-fluid' with ( $sizes: (4, 8, 16, 32, 64, 128), $font-sizes: (14, 16, 24, 36, 52), $build-class: true );
Just the sizes you actually use. Modifiers ( _, __, -) are generated automatically.
npx sass \ --load-path=node_modules \ styles/main.scss:styles/main.css
Native Sass works directly. Or use the watch script: npm run watch.
Two CLIs ship alongside the framework: color conversion and CSS purging.
npx eva-color convert "#ff0000" npx eva-color palette "#ff0000" 7 npx eva-color theme my.json npx eva-color contrast "#fff" "#000"
HEX-OKLCH conversion and theme generation.
npx eva-purge \ --css styles/main.css \ --content '**/*.html' \ --output styles/min.css
40-70 % CSS reduction on production builds.
Wire EVA into a fresh, mid-stage, or fully-shipped project. The guide walks through entry points, the px audit + fusion workflow, design-token aliasing, multi-themes, and dark mode via .toggle-theme. The LLM version is dense and pasteable into Claude, ChatGPT, or Cursor.
Don't read documentation. Paste it. Copy /llms.txt into Claude, ChatGPT, or Cursor — your AI now knows EVA CSS by heart and can write it for you.