darkmode/README.md
2026-02-14 02:13:29 +01:00

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