Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $colormap: (
- green: (
- background: #86c351,
- hover: #78b04a,
- txt: #78b05f
- ),
- blue: (
- background: #00b3e0,
- hover: #0097be,
- txt: #0097ff,
- ),
- red: (
- background: #ff5817,
- hover: #da4912,
- txt: #da4912
- ),
- white:(
- background: #fff,
- hover: #eee,
- txt: #ddd
- ),
- black:(
- background: #010101,
- hover: #444,
- txt: #333
- )
- );
- @function color($color, $variant){
- $setColor: map-get($colormap, $color);
- @return map-get($setColor, $variant);
- }
- body{
- background: color(white, background);
- color: color(black,txt);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement