A Sass module containing a function that return a especific color found on Brand Colors.
-
Include the module:
@include "brandcolors";
-
Use the function:
.twitter-button { background: brandcolor(twitter); } .amazon-link { color: brandcolor(amazon,2); }
You can write the names with spaces, dash or underscore.
.class { color: brandcolor("angie's list"); color: brandcolor(angies list); color: brandcolor(angies-list); color: brandcolor(angies_list); }
- Sass module by Cristian Ferrari
- Brand Colors by Galen Gidman