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: #66adff,
|
2023-11-28 08:29:55 +00:00
|
|
|
accent-blue: #4072e5,
|
|
|
|
accent-blue10: #4072e51a,
|
|
|
|
accent-blue30: #4072e54d,
|
|
|
|
accent-blue50: #4072e580,
|
|
|
|
accent-gold: #cc9200,
|
|
|
|
accent-green: #39bf68,
|
|
|
|
accent-orange: #ff794c,
|
|
|
|
accent-red: #db2c3a,
|
|
|
|
accent-teal: #59adc4,
|
|
|
|
accent-white: #fff,
|
|
|
|
accent-wood-dark: #996b6f,
|
|
|
|
accent-wood: #cc7a52,
|
|
|
|
accent-yellow: #faa700,
|
2024-02-02 20:13:56 +00:00
|
|
|
accent-highlight: #ffea0080,
|
2023-11-28 08:29:55 +00:00
|
|
|
fill-primary: #000000d9,
|
|
|
|
fill-secondary: #00000080,
|
|
|
|
fill-tertiary: #00000040,
|
|
|
|
fill-quarternary: #0000001a,
|
|
|
|
fill-quinary: #0000000d,
|
|
|
|
fill-senary: #00000005,
|
|
|
|
color-background: #fff,
|
|
|
|
color-background50: #ffffff80,
|
|
|
|
color-background70: #ffffffb2,
|
|
|
|
color-border: #00000026,
|
|
|
|
color-border50: #00000014,
|
|
|
|
color-button: #fff,
|
|
|
|
color-control: #fff,
|
|
|
|
color-menu: #f6f6f6b8,
|
|
|
|
color-panedivider: #dadada,
|
|
|
|
color-sidepane: #f2f2f2,
|
|
|
|
color-tabbar: #f2f2f2,
|
|
|
|
color-toolbar: #f9f9f9,
|
|
|
|
color-scrollbar: rgb(194, 194, 194),
|
|
|
|
color-scrollbar-hover: rgb(125, 125, 125),
|
|
|
|
color-scrollbar-background: transparent,
|
2024-02-02 08:20:47 +00:00
|
|
|
color-stripe: #0000000a,
|
2024-01-11 03:18:34 +00:00
|
|
|
tag-blue: #2ea8e5,
|
2023-11-28 08:29:55 +00:00
|
|
|
tag-gray: #aaa,
|
2024-01-11 03:18:34 +00:00
|
|
|
tag-green: #5fb236,
|
|
|
|
tag-indigo: #576dd9,
|
|
|
|
tag-magenta: #e56eee,
|
|
|
|
tag-orange: #f19837,
|
|
|
|
tag-plum: #a6507b,
|
|
|
|
tag-purple: #a28ae5,
|
|
|
|
tag-red: #ff6666,
|
|
|
|
tag-teal: #009980,
|
|
|
|
tag-yellow: #ffd400,
|
2023-11-28 08:29:55 +00:00
|
|
|
);
|
|
|
|
|
2023-10-16 11:40:59 +00:00
|
|
|
@media (prefers-color-scheme: light) {
|
|
|
|
: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")))
|
|
|
|
)};
|
2024-02-02 08:20:47 +00:00
|
|
|
--color-stripe-on-background: #{color.mix(
|
|
|
|
map.get($-colors, "color-background"), color.change(map.get($-colors, "color-stripe"), $alpha: 1), 100% * (1 - color.alpha(map.get($-colors, "color-stripe")))
|
|
|
|
)};
|
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);
|
2024-02-02 08:20:47 +00:00
|
|
|
--material-stripe: var(--color-stripe-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-10-04 13:27:02 +00:00
|
|
|
}
|