2023-06-23 10:52:03 +00:00
|
|
|
@use "sass:color";
|
2022-02-23 13:52:06 +00:00
|
|
|
|
2020-10-10 23:32:27 +00:00
|
|
|
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,
|
2020-10-10 23:32:27 +00:00
|
|
|
);
|
|
|
|
|
2022-02-23 13:52:06 +00:00
|
|
|
--background-primary: #{color.adjust(#002b36, $lightness: -5%)};
|
2020-10-10 23:32:27 +00:00
|
|
|
--background-secondary: #002b36;
|
|
|
|
--background-tertiary: #000;
|
|
|
|
--foreground: #fdf6e3;
|
|
|
|
|
|
|
|
@each $name, $color in $accents {
|
2022-02-23 13:52:06 +00:00
|
|
|
/* stylelint-disable custom-property-pattern */
|
2020-10-10 23:32:27 +00:00
|
|
|
--#{$name}: #{$color};
|
2022-02-23 13:52:06 +00:00
|
|
|
--light-#{$name}: #{color.adjust($color, $lightness: 10%)};
|
|
|
|
--dark-#{$name}: #{color.adjust($color, $lightness: -10%)};
|
|
|
|
/* stylelint-enable */
|
2020-10-10 23:32:27 +00:00
|
|
|
}
|
|
|
|
}
|