quartz/docs/plugins/Darkmode.md

942 B

title description tags image repository enabled required
Darkmode Toggle between light and dark themes.
plugin/component
#0052cc [quartz-community/darkmode](https://github.com/quartz-community/darkmode) true false

Dark mode toggle.

Note

For information on how to add, remove or configure plugins, see the configuration#Plugins page.

See plugins/Darkmode for detailed usage information.

Configuration

This plugin accepts the following configuration options:

  • enabled: Whether to enable the dark mode toggle. Defaults to true.

Default options

- source: github:quartz-community/darkmode
  enabled: true

API

  • Category: Component
  • Function name: ExternalPlugin.Darkmode().
  • Source: quartz-community/darkmode
  • Install: npx quartz plugin add github:quartz-community/darkmode