🌑 darkmode support on form elements

This commit is contained in:
Philipp Dormann 2021-07-12 00:33:52 +02:00
parent b15b44e290
commit 6fb1b344f6
No known key found for this signature in database
GPG key ID: 3BB9ADD52DCA4314
2 changed files with 8 additions and 0 deletions

View file

@ -18,6 +18,12 @@ a,
color: #0a0a0a; color: #0a0a0a;
} }
.form-control,
.form-select {
color: var(--main-font-color);
background-color: var(--background-4);
}
#app { #app {
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif, segoe ui, Roboto, helvetica neue, Arial, noto sans, sans-serif,

View file

@ -7,6 +7,8 @@ $highlight: #7ce8a4;
$highlight-white: #e7faec; $highlight-white: #e7faec;
:root { :root {
color-scheme: light dark;
//
--page-background: #fafafa; --page-background: #fafafa;
--background-secondary: #d0d3d5; --background-secondary: #d0d3d5;
--background-4: #d0d3d5; --background-4: #d0d3d5;