aboutsummaryrefslogtreecommitdiff
path: root/styles/ui.css
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-20 16:32:08 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-20 16:32:08 +0200
commit84bfb5e738a100a6572344bf8babaa1a776d8947 (patch)
treecfaeed86a33481e5ae1b466b215f1918a2acbf8c /styles/ui.css
parentae4375d8b492c244328a88190e8ed10c8dbd2fda (diff)
dark mode working now :tada:
Diffstat (limited to 'styles/ui.css')
-rw-r--r--styles/ui.css13
1 files changed, 5 insertions, 8 deletions
diff --git a/styles/ui.css b/styles/ui.css
index cd9f461..6dbc388 100644
--- a/styles/ui.css
+++ b/styles/ui.css
@@ -5,6 +5,7 @@
box-sizing: border-box;
}
+html.dark .button { color: var(--foreground); }
.button {
background-color: var(--accent);
color: var(--gray-900);
@@ -64,20 +65,16 @@
transform: translate(-50%, 0%) rotate(0deg);
}
-.dialogbox {
- width: 392px;
-}
-
-.dialogbox > .title {
- margin-bottom: var(--spacing-large);
-}
-
+.dialogbox { width: 392px; }
+.dialogbox > .title { margin-bottom: var(--spacing-large); }
.dialogbox .icon.close {
top: 25px;
right: 25px;
cursor: pointer;
}
+html.dark .dialogbox { background-color: var(--gray-700); }
+
.searchBar {
overflow: hidden;
}