Quartz supports darkmode out of the box that respects the user’s theme preference. Any future manual toggles of the darkmode switch will be saved in the browser’s local storage so it can be persisted across future page loads.
- Removing darkmode: delete all usages of
You can also listen to the
themechange event to perform any custom logic when the theme changes.