From f80008c611c5cd800b3e4a003c6404a0a0aa702f Mon Sep 17 00:00:00 2001 From: Tmk Date: Thu, 30 Apr 2026 21:53:36 +0800 Subject: [PATCH] Set color-scheme explicitly --- src/app.css | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/app.css b/src/app.css index 0a29b4b0e3..da6ffd223f 100644 --- a/src/app.css +++ b/src/app.css @@ -24,6 +24,14 @@ @apply body-normal surface-background relative overscroll-none; } + body[data-theme='light'] { + color-scheme: light; + } + + body[data-theme='dark'] { + color-scheme: dark; + } + input[type='search']::-webkit-search-cancel-button { @apply hidden; }