2023-11-28 08:29:55 +00:00
|
|
|
@use 'sass:color';
|
|
|
|
@use "sass:map";
|
|
|
|
|
|
|
|
$-colors: (
|
2023-12-24 06:26:30 +00:00
|
|
|
accent-azure: #66adffd9,
|
2023-11-28 08:29:55 +00:00
|
|
|
accent-blue: #4072e5,
|
|
|
|
accent-blue10: #4072e54d,
|
|
|
|
accent-blue30: #4072e573,
|
|
|
|
accent-blue50: #4072e599,
|
|
|
|
accent-gold: #cc9200d9,
|
|
|
|
accent-green: #39bf68d9,
|
|
|
|
accent-orange: #ff794cd9,
|
|
|
|
accent-red: #db2c3ae5,
|
|
|
|
accent-teal: #59adc4e5,
|
|
|
|
accent-white: #fff,
|
|
|
|
accent-wood-dark: #996b6f,
|
|
|
|
accent-wood: #cc7a52e5,
|
|
|
|
accent-yellow: #faa700cc,
|
|
|
|
fill-primary: #ffffffe5,
|
|
|
|
fill-secondary: #ffffff8c,
|
|
|
|
fill-tertiary: #ffffff4d,
|
|
|
|
fill-quarternary: #ffffff1f,
|
|
|
|
fill-quinary: #ffffff0f,
|
|
|
|
fill-senary: #ffffff08,
|
|
|
|
color-background: #1e1e1e,
|
|
|
|
color-background50: #1e1e1e80,
|
|
|
|
color-background70: #1e1e1eb2,
|
|
|
|
color-border: #ffffff2e,
|
|
|
|
color-border50: #ffffff17,
|
|
|
|
color-button: #404040,
|
|
|
|
color-control: #ccc,
|
|
|
|
color-menu: #28282894,
|
|
|
|
color-panedivider: #404040,
|
|
|
|
color-sidepane: #303030,
|
|
|
|
color-tabbar: #1e1e1e,
|
|
|
|
color-toolbar: #272727,
|
|
|
|
color-scrollbar: rgb(117, 117, 117),
|
|
|
|
color-scrollbar-hover: rgb(158, 158, 158),
|
|
|
|
color-scrollbar-background: transparent,
|
2024-01-11 03:18:34 +00:00
|
|
|
tag-blue: #2ea8e5d9,
|
2023-11-28 08:29:55 +00:00
|
|
|
tag-gray: #aaac,
|
2024-01-11 03:18:34 +00:00
|
|
|
tag-green: #5fb236d9,
|
|
|
|
tag-indigo: #576dd9,
|
|
|
|
tag-magenta: #e56eeed9,
|
|
|
|
tag-orange: #f19837cc,
|
|
|
|
tag-plum: #a6507b,
|
|
|
|
tag-purple: #a28ae5e5,
|
|
|
|
tag-red: #ff6666e5,
|
|
|
|
tag-teal: #009980,
|
|
|
|
tag-yellow: #ffd400bf,
|
2023-11-28 08:29:55 +00:00
|
|
|
);
|
|
|
|
|
2023-10-16 11:40:59 +00:00
|
|
|
@media (prefers-color-scheme: dark) {
|
|
|
|
:root {
|
2023-11-28 08:29:55 +00:00
|
|
|
@each $name, $color in $-colors {
|
|
|
|
--#{$name}: #{$color};
|
|
|
|
}
|
|
|
|
|
|
|
|
// composite (opaque) colors
|
|
|
|
--color-quinary-on-background: #{color.mix(
|
|
|
|
map.get($-colors, "color-background"), color.change(map.get($-colors, "fill-quinary"), $alpha: 1), 100% * (1 - color.alpha(map.get($-colors, "fill-quinary")))
|
|
|
|
)};
|
|
|
|
--color-quarternary-on-background: #{color.mix(
|
|
|
|
map.get($-colors, "color-background"), color.change(map.get($-colors, "fill-quarternary"), $alpha: 1), 100% * (1 - color.alpha(map.get($-colors, "fill-quarternary")))
|
|
|
|
)};
|
2024-01-03 22:11:54 +00:00
|
|
|
--color-quinary-on-sidepane: #{color.mix(
|
|
|
|
map.get($-colors, "color-sidepane"), color.change(map.get($-colors, "fill-quinary"), $alpha: 1), 100% * (1 - color.alpha(map.get($-colors, "fill-quinary")))
|
|
|
|
)};
|
2023-11-28 08:29:55 +00:00
|
|
|
--color-quarternary-on-sidepane: #{color.mix(
|
|
|
|
map.get($-colors, "color-sidepane"), color.change(map.get($-colors, "fill-quarternary"), $alpha: 1), 100% * (1 - color.alpha(map.get($-colors, "fill-quarternary")))
|
|
|
|
)};
|
2023-10-16 11:40:59 +00:00
|
|
|
|
|
|
|
// background materials
|
|
|
|
--material-background: var(--color-background);
|
|
|
|
--material-background50: var(--color-background50);
|
|
|
|
--material-background70: var(--color-background70);
|
|
|
|
--material-button: var(--color-button);
|
|
|
|
--material-control: var(--color-control);
|
|
|
|
--material-menu: var(--color-menu);
|
|
|
|
--material-sidepane: var(--color-sidepane);
|
|
|
|
--material-tabbar: var(--color-tabbar);
|
|
|
|
--material-toolbar: var(--color-toolbar);
|
2023-11-28 08:29:55 +00:00
|
|
|
--material-mix-quinary: var(--color-quinary-on-background);
|
|
|
|
--material-mix-quarternary: var(--color-quarternary-on-background);
|
|
|
|
|
2023-10-16 11:40:59 +00:00
|
|
|
// border materials
|
|
|
|
--material-border-transparent: 1px solid transparent;
|
|
|
|
--material-border: 1px solid var(--color-border);
|
|
|
|
--material-border50: 1px solid var(--color-border50);
|
|
|
|
--material-panedivider: 1px solid var(--color-panedivider);
|
2023-10-18 12:16:08 +00:00
|
|
|
--material-border-quinary: 1px solid var(--fill-quinary);
|
2023-11-06 17:32:37 +00:00
|
|
|
--material-border-quarternary: 1px solid var(--fill-quarternary);
|
2023-10-16 11:40:59 +00:00
|
|
|
}
|
2023-12-24 06:26:30 +00:00
|
|
|
}
|