Advertisement
Guest User

Untitled

a guest
Jul 30th, 2015
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.90 KB | None | 0 0
  1. /// UI colors map for the main theme
  2. ///
  3. /// @example
  4. /// .element {
  5. /// color: palette(ui, 'brand');
  6. /// }
  7. $palettes: (
  8. ui: (
  9. 'brand': $color-brand,
  10. 'brand-dark': mix(black, $color-brand, 20%),
  11. 'white': white,
  12. 'offwhite': #f7f7f7,
  13. 'gray-lightest': #e6e6e6,
  14. 'gray-lighter': #c7c7c7,
  15. 'gray-light': #b5b5b5,
  16. 'gray': gray,
  17. 'gray-dark': #555,
  18. 'gray-darker': #333,
  19. 'black': black
  20. ),
  21. vendor: (
  22. 'facebook': #3B5998,
  23. 'twitter': #4099ff,
  24. 'gplus': #c63d2d,
  25. 'pinterest': #c92228,
  26. 'reddit': #cee2fa,
  27. 'bloglovin': #479aff,
  28. 'instagram': #04558c,
  29. 'untappd': #fdcd0a,
  30. 'rss': #ffae00
  31. )
  32. );
  33.  
  34. /// Function to parse color palettes
  35. @function palette($palette, $tone: 'brand') {
  36. @return map-get(map-get($palettes, $palette), $tone);
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement