diff --git a/quartz.config.ts b/quartz.config.ts index ea968a0..d19c59a 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -16,8 +16,7 @@ const config: QuartzConfig = { baseUrl: "notes.kinoshita-lab.org", ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"], defaultDateType: "modified", - theme: { - fontOrigin: "googleFonts", + theme: { cdnCaching: true, typography: { header: "BIZ UDPGothic", diff --git a/quartz.config.ts.orig b/quartz.config.ts.orig new file mode 100644 index 0000000..5f9049d --- /dev/null +++ b/quartz.config.ts.orig @@ -0,0 +1,98 @@ +import { QuartzConfig } from "./quartz/cfg" +import * as Plugin from "./quartz/plugins" + + +/** + * Quartz 4.0 Configuration + * + * See https://quartz.jzhao.xyz/configuration for more information. + */ +const config: QuartzConfig = { + configuration: { +<<<<<<< HEAD + pageTitle: "kazbo public notes", +======= + pageTitle: "🪴 Quartz 4.0", + pageTitleSuffix: "", +>>>>>>> upstream/v4 + enableSPA: true, + enablePopovers: true, + locale: "ja-JP", + baseUrl: "notes.kinoshita-lab.org", + ignorePatterns: ["private", "templates", ".obsidian", "obsidian_templates_"], + defaultDateType: "modified", + theme: { + fontOrigin: "googleFonts", + cdnCaching: true, + typography: { + header: "BIZ UDPGothic", + body: "BIZ UDMincho", + code: "Noto Mono", + }, + colors: { + lightMode: { + light: "#faf8f8", + lightgray: "#e5e5e5", + gray: "#000000", + darkgray: "#000000", + dark: "#000000", + secondary: "#284b63", + tertiary: "#84a59d", + highlight: "rgba(143, 159, 169, 0.15)", + textHighlight: "#fff23688", + }, + darkMode: { + light: "#161618", + lightgray: "#393639", + gray: "#ffffff", + darkgray: "#ffffff", + dark: "#ffffff", + secondary: "#7b97aa", + tertiary: "#84a59d", + highlight: "rgba(143, 159, 169, 0.15)", + textHighlight: "#b3aa0288", + }, + }, + }, + }, + plugins: { + transformers: [ + Plugin.FrontMatter(), + Plugin.TableOfContents(), + Plugin.CreatedModifiedDate({ + // you can add 'git' here for last modified from Git + // if you do rely on git for dates, ensure defaultDateType is 'modified' + priority: ["git"], + }), + Plugin.SyntaxHighlighting({ + theme: { + light: "github-light", + dark: "github-dark", + }, + keepBackground: false, + }), + Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }), + Plugin.GitHubFlavoredMarkdown(), + Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }), + Plugin.Description(), + Plugin.Latex({ renderEngine: "katex" }), + ], + filters: [Plugin.RemoveDrafts()], + emitters: [ + Plugin.AliasRedirects(), + Plugin.ComponentResources(), + Plugin.ContentPage(), + Plugin.FolderPage(), + Plugin.TagPage(), + Plugin.ContentIndex({ + enableSiteMap: false, + enableRSS: true, + }), + Plugin.Assets(), + Plugin.Static(), + Plugin.NotFoundPage(), + ], + }, +} + +export default config diff --git a/quartz/styles/custom.scss b/quartz/styles/custom.scss index 264b612..fce622a 100644 --- a/quartz/styles/custom.scss +++ b/quartz/styles/custom.scss @@ -37,11 +37,6 @@ li { font-size: $default-font-size; } -div.left.sidebar { - padding-left: 1rem !important; -} - - h2 { font-size: 1rem !important;