1
Fork 0
tildes-reextended/source/scss/_colors.scss

28 lines
651 B
SCSS
Raw Normal View History

2023-06-23 10:52:03 +00:00
@use "sass:color";
body {
$accents: (
2023-06-23 10:52:03 +00:00
"red" #dc322f,
"orange" #cb4b16,
"yellow" #b58900,
"green" #859900,
"cyan" #2aa198,
"blue" #268bd2,
"violet" #6c71c4,
"magenta" #d33682,
);
--background-primary: #{color.adjust(#002b36, $lightness: -5%)};
--background-secondary: #002b36;
--background-tertiary: #000;
--foreground: #fdf6e3;
@each $name, $color in $accents {
/* stylelint-disable custom-property-pattern */
--#{$name}: #{$color};
--light-#{$name}: #{color.adjust($color, $lightness: 10%)};
--dark-#{$name}: #{color.adjust($color, $lightness: -10%)};
/* stylelint-enable */
}
}