Files
romm/frontend
Georges-Antoine Assi ce59e5d9ed feat(v2): add reduced-effects mode for low-power devices
The v2 UI leans on two GPU-heavy decorative effects that are cheap on a
desktop GPU but punishing on weak hardware (TV boxes, older phones):

- a full-viewport filter: blur(28px) background-art layer (always on),
  which the code's own Firefox note already flags as pegging weak
  rendering backends; and
- a per-cover filter: blur(16px) blur-up reveal, run on ~100 covers at
  once when a full grid paints.

Add a per-device "Reduced effects" toggle (Settings > User interface,
under Theme) backed by a localStorage flag, mirroring useCrtMode. When
on, AppLayout sets `r-v2-reduced-effects` on <html> and the global /
GameCover CSS drops the blur filters (keeping tone and the opacity
fade), so low-power devices composite sharp, unblurred visuals.

Per-device rather than backend-synced on purpose: whether effects are
too heavy depends on the machine RomM is viewed on, not the account.

Generated-By: PostHog Code
Task-Id: 6690877a-9c32-4c91-a78b-3d6fd3851fb7
2026-07-16 08:50:38 -04:00
..
2026-06-22 10:06:03 -04:00
2025-09-09 20:19:30 -04:00
2026-05-30 20:53:52 -04:00
2026-06-25 17:17:23 -04:00