mirror of
https://github.com/quartz-community/darkmode.git
synced 2026-07-22 02:50:22 +00:00
33 lines
580 B
Markdown
33 lines
580 B
Markdown
# @quartz-community/darkmode
|
|
|
|
Adds a dark mode toggle button that switches between light and dark themes.
|
|
|
|
## Installation
|
|
|
|
```bash
|
|
npx quartz plugin add github:quartz-community/darkmode
|
|
```
|
|
|
|
## Usage
|
|
|
|
```yaml title="quartz.config.yaml"
|
|
plugins:
|
|
- source: github:quartz-community/darkmode
|
|
enabled: true
|
|
layout:
|
|
position: left
|
|
priority: 30
|
|
group: toolbar
|
|
```
|
|
|
|
## Configuration
|
|
|
|
This plugin has no configuration options.
|
|
|
|
## Documentation
|
|
|
|
See the [Quartz documentation](https://quartz.jzhao.xyz/features/darkmode) for more information.
|
|
|
|
## License
|
|
|
|
MIT
|