Loader to get CSS custom properties from CSS files.
See MDN custom CSS properties: MDN
$ npm install --save-dev css-custom-props-loader
Usage
In your source code:
;
with having css file props.css
:
You can access the property values via cssProps.prop1
or cssProps.anotherProp
.
Copyright
Copyright 2019
Sebastian Software GmbH