Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 980 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 980 Bytes

Sass Function for Brand Colors

A Sass module containing a function that return a especific color found on Brand Colors.

Usage

  1. Include the module:

    @include "brandcolors";
    
  2. 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);
    }
    

Credits

License

WTFPL