https://github.com/fahimc/variabilize-css
a util to convert a css stylesheet to use css variables
https://github.com/fahimc/variabilize-css
bootstrap css css-vars sass
Last synced: 2 months ago
JSON representation
a util to convert a css stylesheet to use css variables
- Host: GitHub
- URL: https://github.com/fahimc/variabilize-css
- Owner: fahimc
- License: gpl-2.0
- Created: 2019-03-02T23:14:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-09T21:39:04.000Z (over 7 years ago)
- Last Synced: 2025-03-10T21:54:53.750Z (over 1 year ago)
- Topics: bootstrap, css, css-vars, sass
- Language: JavaScript
- Size: 38.1 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# variabilize-css
a util to convert a css stylesheet to use css variables
# Usage
```
const variabilizeCSS = require('variabilize-css');
const variablePath = 'node_modules/bootstrap/dist/css/bootstrap.css';
const outputDir = './dist';
variabilizeCSS(variablePath, outputDir);
```