Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 515 Bytes

README.md

File metadata and controls

37 lines (23 loc) · 515 Bytes

less-plugin-export-variables

Exports LESS CSS global variables into an ES6 javascript file.

Transforms:

@brand-primary: #428bca;

into:

export const brandPrimary = '#428bca';

lessc usage

npm install -g less-plugin-export-variables

and then on the command line,

lessc file.less --export-variables

Programmatic usage

Programmatic usage is not supported at this time.

Browser usage

Browser usage is not supported as this time.