GNU bug report logs - #71443
[mumi] Some HTML elements don't respond to preferred color scheme when JS is disabled

Previous Next

Package: mumi;

Reported by: Luis Felipe <sirgazil <at> zoho.com>

Date: Sat, 8 Jun 2024 19:56:02 UTC

Severity: normal

Done: Arun Isaac <arunisaac <at> systemreboot.net>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 71443 <at> debbugs.gnu.org (full text, mbox):

From: sirgazil <at> zoho.com
To: 71443 <at> debbugs.gnu.org
Cc: Luis Felipe <sirgazil <at> zoho.com>
Subject: [PATCH] assets: Make body and .tokenInput color scheme aware in non
 JS browsers.
Date: Sat,  8 Jun 2024 18:19:36 -0500
From: Luis Felipe <sirgazil <at> zoho.com>

Fixes https://debbugs.gnu.org/71443

* assets/mumi.scss (body, .tokenInput): Set their "background-color"
property to the same color variable used by the navigation bar, which
actually responds to the preferred color scheme settings of the
browser.
---
 assets/mumi.scss | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/assets/mumi.scss b/assets/mumi.scss
index e605630..5ac0f26 100644
--- a/assets/mumi.scss
+++ b/assets/mumi.scss
@@ -69,6 +69,7 @@ html {
 }
 
 body {
+    background-color: var(--nav-background-color);
     height: auto;
 }
 
@@ -711,7 +712,7 @@ div.line pre {
     width: 100%;
     padding-inline-start: calc(var(--form-element-spacing-horizontal) + 1.75rem);
     border-radius: 5rem;
-    background-color: var(--background-color);
+    background-color: var(--nav-background-color);
     background-image: var(--icon-search);
     background-position: center left 1.125rem;
     background-size: 1rem auto;

base-commit: b7848b1e83b3eaa8b8aec0f734cbd04020d71b51
-- 
2.41.0





This bug report was last modified 350 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.