Advertisement
MastroPino

Untitled

Mar 16th, 2021
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. // Our function for shorter usage of map-get();
  2. @function setcolor($scheme, $tone: base) {
  3. @return map-get(map-get($colorscheme, $scheme), $tone);
  4. }
  5. // Scheme of colors
  6. $colorscheme: (
  7. danger: (
  8. base: #f4516c,
  9. light: lighten(#f4516c, 20),
  10. dark: darken(#f4516c, 20)
  11. ),
  12. warning: (
  13. base: #ffa322,
  14. light: lighten(#ffa322, 20),
  15. dark: darken(#ffa322, 20)
  16. ),
  17. success: (
  18. base: #34bfa3,
  19. light: lighten(#34bfa3, 20),
  20. dark: darken(#34bfa3, 20)
  21. ),
  22. info: (
  23. base: #36a3f7,
  24. light: lighten(#36a3f7, 20),
  25. dark: darken(#36a3f7, 20)
  26. )
  27. );
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement