mirror of
https://github.com/quartz-community/darkmode.git
synced 2026-07-22 02:50:22 +00:00
533 B
533 B
@quartz-community/darkmode
Adds a dark mode toggle button that switches between light and dark themes.
Installation
npx quartz plugin add github:quartz-community/darkmode
Usage
// quartz.layout.ts
import * as Plugin from "./.quartz/plugins";
// Add to your layout
Plugin.Darkmode(); // in the appropriate layout section
Configuration
This plugin has no configuration options.
Documentation
See the Quartz documentation for more information.
License
MIT