diff options
| author | Fuwn <[email protected]> | 2024-01-04 09:31:06 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-04 09:31:06 -0800 |
| commit | 9c99b4c84e9299551be6893ec2c9f3e22ae89add (patch) | |
| tree | c14d67b775dd5748f56fe8a6629a40010328abf8 /src/app.css | |
| parent | refactor(css): more buttons (diff) | |
| download | due.moe-9c99b4c84e9299551be6893ec2c9f3e22ae89add.tar.xz due.moe-9c99b4c84e9299551be6893ec2c9f3e22ae89add.zip | |
fix(css): light mode input
Diffstat (limited to 'src/app.css')
| -rw-r--r-- | src/app.css | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/app.css b/src/app.css index c023718d..cf1db216 100644 --- a/src/app.css +++ b/src/app.css @@ -12,7 +12,7 @@ input, select { cursor: pointer; position: relative; - background-color: #fff; + background-color: var(--base01); /* margin: 0; */ /* width: 1.15em; height: 1.15em; */ @@ -23,6 +23,13 @@ select { place-content: center; } +@media (prefers-color-scheme: dark) { + input, + select { + background-color: var(--base07); + } +} + input[type='text'], input[type='number'], input[type='date'], |