Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Our function for shorter usage of map-get();
- @function setcolor($scheme, $tone: base) {
- @return map-get(map-get($colorscheme, $scheme), $tone);
- }
- // Scheme of colors
- $colorscheme: (
- danger: (
- base: #f4516c,
- light: lighten(#f4516c, 20),
- dark: darken(#f4516c, 20)
- ),
- warning: (
- base: #ffa322,
- light: lighten(#ffa322, 20),
- dark: darken(#ffa322, 20)
- ),
- success: (
- base: #34bfa3,
- light: lighten(#34bfa3, 20),
- dark: darken(#34bfa3, 20)
- ),
- info: (
- base: #36a3f7,
- light: lighten(#36a3f7, 20),
- dark: darken(#36a3f7, 20)
- )
- );
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement