.github
content
advanced
features
Latex.md
Mermaid diagrams.md
Obsidian compatibility.md
RSS Feed.md
SPA Routing.md
backlinks.md
callouts.md
darkmode.md
folder and tag listings.md
full-text search.md
graph view.md
index.md
popover previews.md
private pages.md
recent notes.md
syntax highlighting.md
table of contents.md
upcoming features.md
wikilinks.md
images
tags
authoring content.md
build.md
configuration.md
hosting.md
index.md
layout.md
migrating from Quartz 3.md
philosophy.md
showcase.md
upgrading.md
quartz
.gitattributes
.gitignore
.npmrc
.prettierignore
.prettierrc
CODE_OF_CONDUCT.md
LICENSE.txt
README.md
globals.d.ts
index.d.ts
package-lock.json
package.json
quartz.config.ts
quartz.layout.ts
tsconfig.json
535 B
535 B
title, tags
title | tags | |
---|---|---|
Darkmode |
|
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.
Customization
- Removing darkmode: delete all usages of
Component.Darkmode()
fromquartz.layout.ts
. - Component:
quartz/components/Darkmode.tsx
- Style:
quartz/components/styles/darkmode.scss
- Script:
quartz/components/scripts/darkmode.inline.ts