From c557b596bcc0fb262856fa987ff4561b9db3ee67 Mon Sep 17 00:00:00 2001 From: mystieneko <65071577+mystieneko@users.noreply.github.com> Date: Mon, 15 Jul 2024 22:13:01 +0300 Subject: [PATCH] add color scheme handling for inputs --- dev.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/dev.css b/dev.css index 298de7a..b773d75 100644 --- a/dev.css +++ b/dev.css @@ -29,6 +29,9 @@ "Segoe UI", sans-serif; --dc-font-mono: "Geist Mono", monospace; + /* color scheme for inputs */ + --dc-cs: light; + /* light colors */ --dc-tx-1: #000000; --dc-tx-2: #1a1a1a; @@ -70,6 +73,9 @@ --dc-lkb-tx: var(--dc-d-lkb-tx); --dc-ac-1: var(--dc-d-ac-1); --dc-ac-tx: var(--dc-d-ac-tx); + + /* color scheme for inputs */ + --dc-cs: dark; } } @@ -363,6 +369,7 @@ input { border-radius: 0.25rem; box-shadow: none; box-sizing: border-box; + color-scheme: var(--dc-cs); } textarea { -- 2.51.2