From 9c99b4c84e9299551be6893ec2c9f3e22ae89add Mon Sep 17 00:00:00 2001 From: Fuwn Date: Thu, 4 Jan 2024 09:31:06 -0800 Subject: fix(css): light mode input --- src/app.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src') 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'], -- cgit v1.2.3