mirror of
https://github.com/rommapp/romm.git
synced 2026-12-05 23:44:11 +01:00
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