Fix: Dark-Mode JS-Fallback via matchMedia + html.dark Klasse (SW by-v955)

matchMedia-Listener setzt html.dark als Fallback für macOS 26 / Brave
die prefers-color-scheme Media Query nicht korrekt weiterleiten
This commit is contained in:
rene 2026-05-14 19:07:36 +02:00
parent e548c43010
commit 10964c6509
4 changed files with 11 additions and 4 deletions

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache
============================================================ */
const CACHE_VERSION = 'by-v954';
const CACHE_VERSION = 'by-v955';
const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten
const CACHE_API = 'ban-yaro-api-v1'; // API-Response-Cache