github vavallee/bindery v0.4.2
v0.4.2 — Light mode

latest releases: v1.2.6, v1.2.5, v1.2.4...
20 days ago

Light mode
Dark mode

Light mode

Added

  • Light theme using a slate palette, with an iOS-style toggle in Settings → General → Appearance. First-load default respects the browser's prefers-color-scheme; saved preference lives in localStorage under bindery.theme and syncs instantly across tabs via the dark class on <html>.
  • Pre-paint bootstrap script in index.html applies the saved theme before React hydrates, eliminating the dark-to-light flash on page load.
  • New useTheme hook (web/src/theme.ts) and ThemeToggle component (web/src/components/ThemeToggle.tsx) that both modules outside Settings can reuse later.

Changed

  • Every hardcoded zinc-* utility class across the UI (App shell, all 10 pages, Pagination, AddAuthorModal) now has a paired dark: variant. Light mode is the default, dark mode activates when <html> has the dark class. No semantic-color token refactor — just the standard Tailwind class-based strategy.
  • tailwind.config.js was already set to darkMode: 'class' — no config change needed.

Image: ghcr.io/vavallee/bindery:v0.4.2
Full changelog: https://github.com/vavallee/bindery/blob/main/CHANGELOG.md

Don't miss a new bindery release

NewReleases is sending notifications on new releases.