From fe92455ee6b6c020f9cfeb774789620375b4e9be Mon Sep 17 00:00:00 2001 From: Roland Date: Thu, 30 Jul 2026 19:46:20 -0600 Subject: [PATCH] ui: an inactive tab was a near-white block in dark, night and amber Found while checking tags in the gallery, and unrelated to them. A tab is a NavLink in the app's nav bars, but a + + , {theme}); + + cy.contains('button', 'Channels').should(($tab) => + expect(getComputedStyle($tab[0]).backgroundColor, 'inactive tab is transparent') + .to.equal('rgba(0, 0, 0, 0)')); + }); + }); +}); + describe('theme tokens actually resolve', () => { themeNames.forEach((theme) => { it(`paints text and borders from ${theme}'s table`, () => { diff --git a/app/src/components/ui/ui.css b/app/src/components/ui/ui.css index 106a1f82..0e62ea9f 100644 --- a/app/src/components/ui/ui.css +++ b/app/src/components/ui/ui.css @@ -191,6 +191,13 @@ html[data-theme="amber"] .wrolpi-pagination button[data-active] { color: var(--muted); text-decoration: none; font-size: 13px; + /* + * A tab is a NavLink in the app's nav bars but a