0.0.4 • Published 5 years ago

sass-json-theme-one v0.0.4

Weekly downloads
1
License
MIT
Repository
-
Last release
5 years ago

Testing ways to share variables between JavaScript and SASS in a maintainable way.

theme.json is supposed to be used as the single source of truth in this project. scss.scss is generated from theme.json by running the npm script build.

The npm script release runs the build script and publishes the package to npm after that.

In scss files import the theme as follows:

@import '~sass-json-theme-one/theme'

In js files import the theme as follows:

import theme from 'sass-json-theme-one' // import from index.js
/* OR */
import theme from 'sass-json-theme-one/theme' // import from theme.json
0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago