1.0.10 • Published 7 years ago
color-to-variable v1.0.10
Installation
npm install color-to-variable -g
Usage
ctv style.scss
Example
Basically script transform this
.boom {
color: #fff;
}
.test {
color: #000;
}
into this
$white: #fff;
$black: #000000;
.boom {
color: $white;
}
.test {
color: $black;
}