2020-09-22 17:06:37 +00:00
|
|
|
@mixin baseTheme {
|
2020-09-24 02:52:54 +00:00
|
|
|
--font-body: "Poppins", "sans-serif";
|
2020-10-21 08:19:02 +00:00
|
|
|
--font-mono: "Roboto Mono", "monospace";
|
2020-09-24 02:52:54 +00:00
|
|
|
--font-icon: "Material Icons";
|
2020-09-22 17:06:37 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-20 00:57:47 +00:00
|
|
|
@mixin darkTheme {
|
2019-08-24 23:42:41 +00:00
|
|
|
// Background color
|
2019-12-17 19:13:15 +00:00
|
|
|
--bg-color: rgba(32, 33, 36, 1);
|
2019-12-09 03:35:03 +00:00
|
|
|
// Light Background color
|
2020-03-27 01:00:13 +00:00
|
|
|
--bg-light-color: rgba(255, 255, 255, 0.04);
|
2019-12-14 09:53:10 +00:00
|
|
|
// Dark Background color
|
2020-03-26 10:34:46 +00:00
|
|
|
--bg-dark-color: rgba(0, 0, 0, 0.2);
|
2019-08-24 23:42:41 +00:00
|
|
|
// Text color
|
2019-12-17 19:13:15 +00:00
|
|
|
--fg-color: rgba(255, 255, 255, 0.9);
|
2019-09-20 13:04:42 +00:00
|
|
|
// Light Text color
|
2019-12-14 09:53:10 +00:00
|
|
|
--fg-light-color: rgba(255, 255, 255, 0.5);
|
2019-09-17 08:13:12 +00:00
|
|
|
// Border color
|
2019-12-14 09:53:10 +00:00
|
|
|
--brd-color: rgba(255, 255, 255, 0.05);
|
2019-08-24 23:42:41 +00:00
|
|
|
// Error color
|
2019-12-09 04:10:47 +00:00
|
|
|
--err-color: rgba(255, 255, 255, 0.05);
|
2019-12-17 19:13:15 +00:00
|
|
|
// Tooltip color
|
2020-09-25 01:09:21 +00:00
|
|
|
--tt-color: rgba(48, 48, 48, 1);
|
2020-09-24 02:52:54 +00:00
|
|
|
// Editor theme
|
|
|
|
|
--editor-theme: "twilight";
|
2020-09-24 17:22:17 +00:00
|
|
|
// Active text color
|
|
|
|
|
--act-color: rgba(32, 33, 36, 1);
|
2019-08-24 23:42:41 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-20 00:57:47 +00:00
|
|
|
@mixin lightTheme {
|
2019-12-14 09:53:10 +00:00
|
|
|
// Background color
|
|
|
|
|
--bg-color: rgba(255, 255, 255, 1);
|
2019-12-09 03:35:03 +00:00
|
|
|
// Light Background color
|
2020-03-27 01:00:13 +00:00
|
|
|
--bg-light-color: rgba(0, 0, 0, 0.05);
|
2019-12-14 09:53:10 +00:00
|
|
|
// Dark Background color
|
|
|
|
|
--bg-dark-color: rgba(0, 0, 0, 0.02);
|
2019-09-30 20:21:30 +00:00
|
|
|
// Text color
|
2019-12-17 19:13:15 +00:00
|
|
|
--fg-color: rgba(0, 0, 0, 0.9);
|
2019-09-30 20:21:30 +00:00
|
|
|
// Light Text color
|
2019-12-14 09:53:10 +00:00
|
|
|
--fg-light-color: rgba(0, 0, 0, 0.6);
|
2019-09-30 20:21:30 +00:00
|
|
|
// Border color
|
2019-12-14 09:53:10 +00:00
|
|
|
--brd-color: rgba(0, 0, 0, 0.1);
|
2019-09-30 20:21:30 +00:00
|
|
|
// Error color
|
2019-12-14 09:53:10 +00:00
|
|
|
--err-color: rgba(0, 0, 0, 0.1);
|
2019-12-17 19:13:15 +00:00
|
|
|
// Tooltip color
|
2020-09-25 01:09:21 +00:00
|
|
|
--tt-color: rgba(255, 255, 255, 1);
|
2020-09-24 02:52:54 +00:00
|
|
|
// Editor theme
|
|
|
|
|
--editor-theme: "iplastic";
|
2020-09-24 17:22:17 +00:00
|
|
|
// Active text color
|
|
|
|
|
--act-color: rgba(255, 255, 255, 1);
|
2019-09-30 20:21:30 +00:00
|
|
|
}
|
|
|
|
|
|
2019-10-20 00:57:47 +00:00
|
|
|
@mixin blackTheme {
|
2019-12-14 09:53:10 +00:00
|
|
|
// Background color
|
|
|
|
|
--bg-color: rgba(0, 0, 0, 1);
|
2019-12-09 03:35:03 +00:00
|
|
|
// Light Background color
|
2019-12-17 19:13:15 +00:00
|
|
|
--bg-light-color: rgba(255, 255, 255, 0.02);
|
2019-12-14 09:53:10 +00:00
|
|
|
// Dark Background color
|
2020-03-26 10:34:46 +00:00
|
|
|
--bg-dark-color: rgba(255, 255, 255, 0.04);
|
2019-08-24 23:42:41 +00:00
|
|
|
// Text color
|
2019-12-17 19:13:15 +00:00
|
|
|
--fg-color: rgba(255, 255, 255, 0.9);
|
2019-09-20 13:04:42 +00:00
|
|
|
// Light Text color
|
2019-12-14 09:53:10 +00:00
|
|
|
--fg-light-color: rgba(255, 255, 255, 0.5);
|
2019-09-17 08:13:12 +00:00
|
|
|
// Border color
|
2019-12-14 09:53:10 +00:00
|
|
|
--brd-color: rgba(255, 255, 255, 0.05);
|
2019-08-24 23:42:41 +00:00
|
|
|
// Error color
|
2019-12-14 09:53:10 +00:00
|
|
|
--err-color: rgba(255, 255, 255, 0.05);
|
2019-12-17 19:13:15 +00:00
|
|
|
// Tooltip color
|
2020-09-25 01:09:21 +00:00
|
|
|
--tt-color: rgba(32, 32, 32, 1);
|
2020-09-24 02:52:54 +00:00
|
|
|
// Editor theme
|
|
|
|
|
--editor-theme: "vibrant_ink";
|
2020-09-24 17:22:17 +00:00
|
|
|
// Active text color
|
|
|
|
|
--act-color: rgba(0, 0, 0, 1);
|
2020-09-24 02:52:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin blueTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.blue.400");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin greenTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.green.400");
|
|
|
|
|
}
|
|
|
|
|
|
2021-03-16 08:49:21 +00:00
|
|
|
@mixin indigoTheme {
|
2020-09-24 02:52:54 +00:00
|
|
|
// Acent color
|
2021-03-16 08:49:21 +00:00
|
|
|
--ac-color: theme("colors.indigo.400");
|
2020-09-24 02:52:54 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin purpleTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.purple.400");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin pinkTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.pink.400");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin redTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.red.400");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@mixin yellowTheme {
|
|
|
|
|
// Acent color
|
|
|
|
|
--ac-color: theme("colors.yellow.400");
|
2019-10-05 09:27:24 +00:00
|
|
|
}
|
2019-10-25 08:14:34 +00:00
|
|
|
|
2019-12-09 03:35:03 +00:00
|
|
|
:root {
|
2020-09-22 17:06:37 +00:00
|
|
|
@include baseTheme;
|
2019-12-09 03:35:03 +00:00
|
|
|
@include darkTheme;
|
2020-09-24 02:52:54 +00:00
|
|
|
@include greenTheme;
|
2019-12-09 03:35:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
:root.light {
|
|
|
|
|
@include lightTheme;
|
|
|
|
|
}
|
|
|
|
|
|
2020-09-24 02:52:54 +00:00
|
|
|
:root.dark {
|
|
|
|
|
@include darkTheme;
|
|
|
|
|
}
|
|
|
|
|
|
2019-10-20 00:57:47 +00:00
|
|
|
:root.black {
|
|
|
|
|
@include blackTheme;
|
2019-09-02 10:27:24 +00:00
|
|
|
}
|
2019-12-09 03:35:03 +00:00
|
|
|
|
2020-09-24 02:52:54 +00:00
|
|
|
:root[data-accent="blue"] {
|
|
|
|
|
@include blueTheme;
|
2019-12-09 03:35:03 +00:00
|
|
|
}
|
2020-09-24 02:52:54 +00:00
|
|
|
:root[data-accent="green"] {
|
|
|
|
|
@include greenTheme;
|
|
|
|
|
}
|
2021-03-16 08:49:21 +00:00
|
|
|
:root[data-accent="indigo"] {
|
|
|
|
|
@include indigoTheme;
|
2020-09-24 02:52:54 +00:00
|
|
|
}
|
|
|
|
|
:root[data-accent="purple"] {
|
|
|
|
|
@include purpleTheme;
|
|
|
|
|
}
|
|
|
|
|
:root[data-accent="pink"] {
|
|
|
|
|
@include pinkTheme;
|
|
|
|
|
}
|
|
|
|
|
:root[data-accent="red"] {
|
|
|
|
|
@include redTheme;
|
|
|
|
|
}
|
|
|
|
|
:root[data-accent="yellow"] {
|
|
|
|
|
@include yellowTheme;
|
2019-12-09 03:35:03 +00:00
|
|
|
}
|