feat(appearance): opt-in glass tuner toggle in Settings

Graduate the floating glass tuner from a localhost-only dev tool to a
user-facing opt-in: it's now gated on a per-user `theme.showTuner` pref (off by
default) with a "Show the glass tuner" switch in Settings → Appearance, riding
the existing theme draft-save. Softened the dev-only framing. Behaviour and look
are unchanged; the full preset system is a separate epic.
This commit is contained in:
2026-07-14 21:39:53 +02:00
parent ad1cc4586a
commit 6a9bf948f9
6 changed files with 26 additions and 12 deletions
+2 -2
View File
@@ -985,8 +985,8 @@ export default function App() {
<ErrorDialog />
{/* Re-binds to the active page's scroll container on navigation (page or channel change). */}
<BackToTop dep={channelView ? `chan:${channelView.id}` : page} />
{/* Local-only live appearance tuner (renders only on localhost; null everywhere else). */}
<GlassTuner />
{/* Opt-in live appearance tuner (Settings → Appearance; off by default). */}
<GlassTuner enabled={theme.showTuner} />
</div>
);
}