2020-09-07 14:55:05 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
// theme-agnostic colors
|
|
|
|
|
:root
|
|
|
|
|
{
|
2022-01-05 13:28:09 +01:00
|
|
|
--color-accent: #76b900; // #f9aa19; // #76b900 // #67bdb1
|
2021-09-11 14:54:28 +02:00
|
|
|
--color-accent-fg: #ffffff;
|
2021-09-11 12:01:13 +02:00
|
|
|
|
2020-09-07 14:55:05 +02:00
|
|
|
--color-negative: rgb(216, 40, 83);
|
2021-04-20 16:21:33 +02:00
|
|
|
--color-image-bg: rgb(255, 255, 255);
|
2020-09-07 14:55:05 +02:00
|
|
|
|
|
|
|
|
// message colors
|
|
|
|
|
--color-accent-info: rgb(44, 162, 212);
|
2020-11-18 15:55:18 +01:00
|
|
|
--color-accent-info-dim: rgba(44, 162, 212, 0.3);
|
2021-03-20 13:07:28 +01:00
|
|
|
--color-accent-info-bg: rgba(228, 242, 249, 0.6);
|
2020-09-07 14:55:05 +02:00
|
|
|
--color-accent-success: rgb(47, 187, 152);
|
2021-03-20 13:07:28 +01:00
|
|
|
--color-accent-success-bg: rgba(47, 187, 152, 0.1);
|
2021-02-04 14:00:09 +01:00
|
|
|
--color-accent-warn: rgb(247, 125, 5);
|
|
|
|
|
--color-accent-warn-bg: rgba(247, 125, 5, 0.1);
|
2020-09-07 14:55:05 +02:00
|
|
|
--color-accent-error: rgb(216, 40, 83);
|
2021-03-20 13:07:28 +01:00
|
|
|
--color-accent-error-bg: rgba(216, 40, 83, 0.08);
|
2020-09-07 14:55:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$accent-color-prefix: --color-accent;
|
|
|
|
|
$accent-colors: (
|
|
|
|
|
"blue-gray": "#527281",
|
|
|
|
|
"gray": "#8a9598",
|
|
|
|
|
"brown": "#795548",
|
|
|
|
|
"blue": "#429be2",
|
|
|
|
|
"purple": "#9f3f9d",
|
|
|
|
|
"teal": "#3bb1c0",
|
|
|
|
|
"green": "#2fbb98",
|
|
|
|
|
"lime": "#a0db61",
|
|
|
|
|
"yellow": "#fdd330",
|
|
|
|
|
"orange": "#ff662b",
|
2021-03-16 13:57:52 +01:00
|
|
|
"red": "rgb(216, 40, 83)"
|
2020-09-07 14:55:05 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
|
|
:root
|
|
|
|
|
{
|
|
|
|
|
@each $name, $hex in $accent-colors
|
|
|
|
|
{
|
|
|
|
|
#{$accent-color-prefix}-#{$name}: unquote($hex);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@each $name, $hex in $accent-colors
|
|
|
|
|
{
|
|
|
|
|
$var: #{$accent-color-prefix}-#{$name};
|
|
|
|
|
|
|
|
|
|
.color-#{$name}
|
|
|
|
|
{
|
2021-03-16 13:57:52 +01:00
|
|
|
color: var(#{$var}) !important;
|
2020-09-07 14:55:05 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-color-#{$name}
|
|
|
|
|
{
|
|
|
|
|
background: var(#{$var});
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.color-default
|
|
|
|
|
{
|
|
|
|
|
color: var(--color-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.bg-color-default
|
|
|
|
|
{
|
|
|
|
|
background: var(--color-text);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.color-primary
|
|
|
|
|
{
|
|
|
|
|
color: var(--color-primary);
|
2020-09-10 11:57:19 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.color-negative
|
|
|
|
|
{
|
|
|
|
|
color: var(--color-negative);
|
2020-09-07 14:55:05 +02:00
|
|
|
}
|