api-client/assets/css/themes.scss

119 lines
2.6 KiB
SCSS
Raw Normal View History

/**
Main Themes:
- dark (default)
- light
2019-09-30 20:21:30 +00:00
- black
2019-10-05 09:27:24 +00:00
- auto
*/
// Dark is the default theme variant.
:root {
// Dark Background color
--bg-dark-color: rgb(41, 42, 45);
// Background color
--bg-color: rgb(37, 38, 40);
2019-09-04 04:37:08 +00:00
// Auto-complete color
--atc-color: rgb(49, 49, 55);
// Text color
--fg-color: rgb(247, 248, 248);
// Light Text color
--fg-light-color: rgb(150, 155, 160);
2019-09-17 08:13:12 +00:00
// Border color
--brd-color: rgb(48, 47, 55);
// Error color
--err-color: rgb(41, 42, 45);
// Acent color
2019-09-04 02:48:24 +00:00
--ac-color: #50fa7b;
// Active text color
--act-color: rgb(37, 38, 40);
}
2019-10-05 09:27:24 +00:00
:root.light {
2019-09-30 20:21:30 +00:00
// Dark Background color
2019-10-05 09:27:24 +00:00
--bg-dark-color: #e8f0fe;
2019-09-30 20:21:30 +00:00
// Background color
2019-10-05 09:27:24 +00:00
--bg-color: #ffffff;
2019-09-30 20:21:30 +00:00
// Auto-complete color
2019-10-05 09:27:24 +00:00
--atc-color: #ebebeb;
2019-09-30 20:21:30 +00:00
// Text color
2019-10-05 09:27:24 +00:00
--fg-color: #525252;
2019-09-30 20:21:30 +00:00
// Light Text color
--fg-light-color: rgb(150, 155, 160);
// Border color
2019-10-05 09:27:24 +00:00
--brd-color: #f2f2f2;
2019-09-30 20:21:30 +00:00
// Error color
2019-10-05 09:27:24 +00:00
--err-color: invert(#303341, 1);
2019-09-30 20:21:30 +00:00
// Acent color
2019-10-05 09:27:24 +00:00
--ac-color: #57b5f9;
2019-09-30 20:21:30 +00:00
// Active text color
2019-10-05 09:27:24 +00:00
--act-color: #ffffff;
2019-09-30 20:21:30 +00:00
}
2019-10-05 09:27:24 +00:00
:root.black {
// Dark Background color
2019-10-05 09:27:24 +00:00
--bg-dark-color: rgb(23, 24, 26);
// Background color
2019-10-05 09:27:24 +00:00
--bg-color: #000000;
2019-09-04 04:37:08 +00:00
// Auto-complete color
2019-10-05 09:27:24 +00:00
--atc-color: rgb(49, 49, 55);
// Text color
2019-10-05 09:27:24 +00:00
--fg-color: rgb(247, 248, 248);
// Light Text color
--fg-light-color: rgb(150, 155, 160);
2019-09-17 08:13:12 +00:00
// Border color
2019-10-05 09:27:24 +00:00
--brd-color: rgb(48, 47, 55);
// Error color
2019-10-05 09:27:24 +00:00
--err-color: rgb(41, 42, 45);
// Acent color
2019-10-05 09:27:24 +00:00
--ac-color: #50fa7b;
// Active text color
2019-10-05 09:27:24 +00:00
--act-color: rgb(37, 38, 40);
}
@media(prefers-color-scheme: light) {
:root.auto {
// Dark Background color
--bg-dark-color: #e8f0fe;
// Background color
--bg-color: #ffffff;
// Auto-complete color
--atc-color: #ebebeb;
// Text color
--fg-color: #525252;
// Light Text color
--fg-light-color: rgb(150, 155, 160);
// Border color
--brd-color: #f2f2f2;
// Error color
--err-color: invert(#303341, 1);
// Acent color
--ac-color: #57b5f9;
// Active text color
--act-color: #fff;
}
}
@media(prefers-color-scheme: dark) {
:root.auto {
// Dark Background color
--bg-dark-color: rgb(41, 42, 45);
// Background color
--bg-color: rgb(37, 38, 40);
// Auto-complete color
--atc-color: rgb(49, 49, 55);
// Text color
--fg-color: rgb(247, 248, 248);
// Light Text color
--fg-light-color: rgb(150, 155, 160);
// Border color
--brd-color: rgb(48, 47, 55);
// Error color
--err-color: rgb(41, 42, 45);
// Acent color
--ac-color: #50fa7b;
// Active text color
--act-color: rgb(37, 38, 40);
}
}