mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 16:54:04 +00:00
🌑 darkmode support on form elements
This commit is contained in:
parent
b15b44e290
commit
6fb1b344f6
2 changed files with 8 additions and 0 deletions
|
@ -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,
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue