Files
claudeandClaude Opus 5.5 f9c7a7468b Fix black text in Firefox ESR (no CSS @scope)
Funkwhale 2.x defines --color-foreground-* and --color-background-* only
inside two @scope blocks in fw.css. Firefox ESR 140 has no @scope, so
every color: var(--color-foreground-N) was invalid and text fell back to
black on the Mocha background. files/compat.js marks such browsers with
html.no-css-scope, and catppuccin.css supplies the same positive and
negative mappings as plain selectors there. Chromium is unaffected.

The API pod now also restarts when the theme changes, because it caches
the front's index.html for 15 minutes for the pages it renders itself.
Destructive buttons and the old teal count badges get exact Catppuccin
colours.

Checked with headless Firefox ESR 140 and Chromium against a local copy
with test content: nothing below 4.5:1 in dark mode on the home,
library, album, artist, profile, search, settings, notifications and
admin pages.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:15:20 -05:00
..