1.1.1 • Published 1 year ago

generator-css-variables v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

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.

1.1.1

1 year ago

1.1.0

1 year ago

1.0.1

2 years ago

1.0.0

2 years ago