From 94fcabb0b4f9368c92fe9ec25c2a0e2bbd859a34 Mon Sep 17 00:00:00 2001 From: saberzero1 Date: Fri, 24 Jul 2026 20:33:05 +0200 Subject: [PATCH] feat: add @quartz-themes/core to config and templates Add disabled theme entry to default config and default/blog templates. Migrate obsidian and ttrpg templates from git-based quartz-themes source to npm @quartz-themes/core package. --- quartz.config.default.yaml | 5 +++++ quartz/cli/templates/blog.yaml | 5 +++++ quartz/cli/templates/default.yaml | 5 +++++ quartz/cli/templates/obsidian.yaml | 12 +++++------- quartz/cli/templates/ttrpg.yaml | 14 ++++++-------- 5 files changed, 26 insertions(+), 15 deletions(-) diff --git a/quartz.config.default.yaml b/quartz.config.default.yaml index 9acca06..6ff03cf 100644 --- a/quartz.config.default.yaml +++ b/quartz.config.default.yaml @@ -100,6 +100,11 @@ plugins: order: 92 - source: "@quartz-community/quartz-fonts" enabled: true + - source: "@quartz-themes/core" + enabled: false + options: + theme: tokyo-night + mode: both - source: "@quartz-community/remove-draft" enabled: true - source: "@quartz-community/explicit-publish" diff --git a/quartz/cli/templates/blog.yaml b/quartz/cli/templates/blog.yaml index fb2076a..9c243ce 100644 --- a/quartz/cli/templates/blog.yaml +++ b/quartz/cli/templates/blog.yaml @@ -102,6 +102,11 @@ plugins: order: 92 - source: "@quartz-community/quartz-fonts" enabled: true + - source: "@quartz-themes/core" + enabled: false + options: + theme: tokyo-night + mode: both - source: "@quartz-community/remove-draft" enabled: true - source: "@quartz-community/explicit-publish" diff --git a/quartz/cli/templates/default.yaml b/quartz/cli/templates/default.yaml index e52c926..5dafa5e 100644 --- a/quartz/cli/templates/default.yaml +++ b/quartz/cli/templates/default.yaml @@ -102,6 +102,11 @@ plugins: order: 92 - source: "@quartz-community/quartz-fonts" enabled: true + - source: "@quartz-themes/core" + enabled: false + options: + theme: tokyo-night + mode: both - source: "@quartz-community/remove-draft" enabled: true - source: "@quartz-community/explicit-publish" diff --git a/quartz/cli/templates/obsidian.yaml b/quartz/cli/templates/obsidian.yaml index 3fe9490..7434b8f 100644 --- a/quartz/cli/templates/obsidian.yaml +++ b/quartz/cli/templates/obsidian.yaml @@ -113,6 +113,11 @@ plugins: order: 92 - source: "@quartz-community/quartz-fonts" enabled: true + - source: "@quartz-themes/core" + enabled: true + options: + theme: default + mode: both - source: "@quartz-community/remove-draft" enabled: true - source: "@quartz-community/explicit-publish" @@ -261,13 +266,6 @@ plugins: position: beforeBody priority: 15 display: all - - source: - name: quartz-themes - repo: github:saberzero1/quartz-themes - subdir: plugin - enabled: true - options: - theme: default - source: "@quartz-community/obsidian-plugin-excalidraw" enabled: true options: diff --git a/quartz/cli/templates/ttrpg.yaml b/quartz/cli/templates/ttrpg.yaml index c53921d..97a26c5 100644 --- a/quartz/cli/templates/ttrpg.yaml +++ b/quartz/cli/templates/ttrpg.yaml @@ -113,6 +113,12 @@ plugins: order: 92 - source: "@quartz-community/quartz-fonts" enabled: true + - source: "@quartz-themes/core" + enabled: true + options: + theme: its-theme + variation: ttrpg-dnd + mode: both - source: "@quartz-community/remove-draft" enabled: true - source: "@quartz-community/explicit-publish" @@ -266,14 +272,6 @@ plugins: enabled: true options: enableCopyTool: false - - source: - name: quartz-themes - repo: github:saberzero1/quartz-themes - subdir: plugin - enabled: true - options: - theme: its-theme - variation: ttrpg-dnd - source: "@quartz-community/obsidian-plugin-excalidraw" enabled: true options: