You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds a three-way theme toggle to the bottom of the nav sidebar so users
can switch between dark, light, and auto (follows OS preference) modes.
The choice is persisted in localStorage under programmarr-color-scheme.
Changes:
- index.html: inline anti-flash script reads localStorage before React
loads and sets data-mantine-color-scheme on the html element, so the
correct theme is applied immediately with no visible flicker.
- App.tsx: swaps hardcoded defaultColorScheme for localStorageColorSchemeManager
so the persisted preference is restored on every page load.
- theme.ts: replaces hardcoded dark CSS variables in AppShell and Card
component overrides with light-dark() so backgrounds adapt correctly
in both light and dark mode.
- AppLayout.tsx: adds moon/sun/monitor icon buttons at the bottom of the
navbar next to the version string. The active mode is filled orange,
inactive modes are subtle. Tooltips on hover label each option.
- package.json: bump to 0.1.3.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
0 commit comments