Productivity
A lightweight, modular, and highly customizable design system built with vanilla CSS. Perfect for creating consistent and responsive web applications.
Explore the full documentation and examples here: ā”ļø Design System Documentation
Clone the repository:
git clone https://github.com/pattespatte/vanilla-css-design-system.git
Install dependencies (optional):
npm install
Include the generated CSS in your project:
<link rel="stylesheet" href="styles/vanilla-combined.min.css">
Combine, purge, and minify CSS:
npm run build:css
CSS ā Tokens:
npm run css2tokens
npm run tokens2css
Automatically rebuild and convert files on changes:
npm run watch
Check and fix CSS styles:
npm run lint:css
npm run lint:css:fix
Script | Description |
---|---|
build:css | Combine, purge, and minify CSS. |
css2tokens | Convert CSS to design tokens. |
tokens2css | Convert design tokens to CSS. |
watch | Watch for changes and rebuild/convert files. |
lint:css | Lint CSS files. |
lint:css:fix | Lint and fix CSS files. |
vanilla-css-design-system/
āāā styles/ # CSS files (variables, components, utilities, etc.)
āāā scripts/ # Helper scripts for combining, purging, and converting CSS
āāā examples/ # Demo examples showcasing the design system
āāā tokens/ # Design tokens for easy customization
āāā README.md # Project documentation
āāā package.json # Project dependencies and scripts
Check out examples showcasing the design system in action: ā”ļø View Examples
This project is licensed under the MIT License. See the LICENSE file for details.
If you find this project helpful, please consider giving it a ā on GitHub!