giri-kur
v1.0.0
Published
An SCSS->Design Token processor
Downloads
13
Readme
Giri-kur
![]()
Pile of SCSS -> More sane SCSS processor
Things you can do
npm run docGenerates esdoc and opens your browser to look at it.bin/create-scss-from-raw.js --helptells you how to use the thing.bin/incorporate-brandai.js --helptells you how to incorporate a brandai brand package
Installation
This was built using yarn as package manager, but there should be no issue just using regular npm as well.
Yarn
npm install -g yarnyarn
NPM
npm install
Folder structure
create-scss-from-raw expects the src folder to only have scss/css files in it. Depending on
the contents of any other files, the resulting output can be unpredictable. It will output in the
following structure:
destination
↳ scss
↳ main.scss
_variables.scss
↳ components
↳ 1-Atoms
↳ some-atom.scssincorporate-brandai expects the folder structure defined in create-scss-from-raw, but the only
required files are main.scss and _variables.scss.
