From b8389f080a553849309c63a99af0f15e83291aee Mon Sep 17 00:00:00 2001 From: "alexei.dolgolyov" Date: Thu, 12 Feb 2026 03:08:44 +0300 Subject: [PATCH] Add color-scheme to dark/light themes for native control styling Spin buttons, checkboxes, scrollbars, and other native form controls now render in the correct theme instead of using default browser chrome. Co-Authored-By: Claude Opus 4.6 --- server/src/wled_controller/static/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/wled_controller/static/style.css b/server/src/wled_controller/static/style.css index dadda5b..0139941 100644 --- a/server/src/wled_controller/static/style.css +++ b/server/src/wled_controller/static/style.css @@ -18,6 +18,7 @@ --text-color: #e0e0e0; --border-color: #404040; --display-badge-bg: rgba(0, 0, 0, 0.4); + color-scheme: dark; } /* Light theme */ @@ -27,6 +28,7 @@ --text-color: #333333; --border-color: #e0e0e0; --display-badge-bg: rgba(255, 255, 255, 0.85); + color-scheme: light; } /* Default to dark theme */