generator-css-variables

1.1.1 • Public • Published

generator-css-variables logo

Generator-css-variables

npm NPM

This command line tool allows you to quickly create css variables for themes

Getting Started

To get started, use the following code:

const light = {
	name: 'light',
	'font-family': 'PT Sans, sans-serif',
	'font-size': '16px',
	'font-weight': 400,
	
};
const dark = {
	name: 'light',
	'font-family': 'PT Sans, sans-serif',
	'font-size': '16px',
	'font-weight': 400,
	
};
export default [light, dark];
import themes from './config/index.mjs';
import generator from 'generator-css-variables';

generator.default(themes, { path: 'src/themes/', pretty: true });

License

Generator-css-variables is released under the MIT License.

/generator-css-variables/

    Package Sidebar

    Install

    npm i generator-css-variables

    Weekly Downloads

    0

    Version

    1.1.1

    License

    MIT

    Unpacked Size

    4.46 kB

    Total Files

    4

    Last publish

    Collaborators

    • urijhoruzij