aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app/main.css14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/app/main.css b/src/app/main.css
index 497050d..854c47a 100644
--- a/src/app/main.css
+++ b/src/app/main.css
@@ -1,6 +1,15 @@
:root {
--background: #4C515B;
--foreground: #DDE2EB;
+ --btnforeground: var(--foreground);
+}
+
+@media (prefers-color-scheme: light) {
+ :root {
+ --background: #FFFFFF;
+ --foreground: #4C566A;
+ --btnforeground: var(--background);
+ }
}
@font-face {
@@ -37,7 +46,10 @@ button, .text {
transition: 0.2s ease-in-out;
}
-button {-webkit-app-region: no-drag;}
+button {
+ color: var(--btnforeground);
+ -webkit-app-region: no-drag;
+}
button:hover {opacity: 0.9}
button:active {