Skip to content

Add dark mode support with system theme detection#963

Open
Smyrcu wants to merge 1 commit into
jhuckaby:masterfrom
Smyrcu:master
Open

Add dark mode support with system theme detection#963
Smyrcu wants to merge 1 commit into
jhuckaby:masterfrom
Smyrcu:master

Conversation

@Smyrcu
Copy link
Copy Markdown

@Smyrcu Smyrcu commented Feb 6, 2026

Add a dark mode theme that respects the user's system preference
(prefers-color-scheme) by default, with a manual toggle button in the
header to switch between light and dark modes. Preference is persisted
in localStorage.

  • New htdocs/css/dark-mode.css with complete dark theme styles
  • Theme toggle icon in header (sun/moon)
  • Auto-detection of system dark/light preference
  • Bundled within COMBINE_STYLE block for production builds

PLEASE READ:

THE CRONICLE TEAM DOES NOT MERGE PULL REQUESTS!

Please understand, we greatly appreciate your contribution. Open source software is amazing, because anyone can fork it and build in their own enhancements. But Cronicle v0.x is in maintenance-only mode. We are no longer adding any new features, because we are hard at work on the next major version of Cronicle (called Orchestra). It is a complete ground-up rewrite from scratch, and will have MANY of the requested features people has been asking for.

We simply do not have the man power to merge PRs into Cronicle v0.x and then maintain them.

The very rare exception to this is something like a single line bug fix, which we have merged before (and we are very thankful for!). If you happen to be fixing a bug, and your PR contains only a small amount of code with minor changes, then it MAY possibly get merged. But this is largely not the case.

We're very sorry if you have already spent time on your PR. We will copy this message into the main README file so it is hopefully visible to people before they fork and begin work on a PR.

Thank you, and deepest apologies.

-- The Cronicle Team

  Add a dark mode theme that respects the user's system preference
  (prefers-color-scheme) by default, with a manual toggle button in the
  header to switch between light and dark modes. Preference is persisted
  in localStorage.

  - New htdocs/css/dark-mode.css with complete dark theme styles
  - Theme toggle icon in header (sun/moon)
  - Auto-detection of system dark/light preference
  - Bundled within COMBINE_STYLE block for production builds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant