luci-theme-bootstrap: disable Dark Reader
authorMikael Magnusson <[email protected]>
Wed, 26 Nov 2025 22:48:37 +0000 (23:48 +0100)
committerPaul Donald <[email protected]>
Wed, 26 Nov 2025 23:27:59 +0000 (00:27 +0100)
Disable Dark Deader since the bootstap theme has built-in
dark and light modes, as well as a mode which auto-detects
the user's preference. Dark Reader also doesn't work well
with the bootstrap theme.

Signed-off-by: Mikael Magnusson <[email protected]>
themes/luci-theme-bootstrap/ucode/template/themes/bootstrap/header.ut

index ef37c7a454217de23d2a69072334b93f810036e9..9e5e3a2381ede5353e499f80bd89ffa995560ae9 100644 (file)
@@ -30,6 +30,7 @@
                        </script>
                {% endif %}
                <meta name="viewport" content="initial-scale=1.0">
+               <meta name="darkreader-lock">
                <link rel="stylesheet" href="{{ media }}/cascade.css">
                <link rel="stylesheet" media="only screen and (max-device-width: 854px)" href="{{ media }}/mobile.css" />
                <link rel="icon" href="{{ media }}/logo_48.png" sizes="48x48">