Files
wiki/quartz.config.ts
vorpax f42e30024d
All checks were successful
Build and Push Quartz Wiki / build-and-push (push) Successful in 1m5s
fix: update color scheme and syntax highlighting theme in quartz configuration
2026-01-06 02:38:06 +01:00

98 lines
2.6 KiB
TypeScript

import { QuartzConfig } from "./quartz/cfg"
import * as Plugin from "./quartz/plugins"
/**
* Quartz 4 Configuration
*
* See https://quartz.jzhao.xyz/configuration for more information.
*/
const config: QuartzConfig = {
configuration: {
pageTitle: "Vorpax Wiki",
pageTitleSuffix: " | Vorpax Wiki",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "wiki.vorpax.dev",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "modified",
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
body: "Source Sans Pro",
code: "IBM Plex Mono",
},
colors: {
lightMode: {
light: "#eff1f5",
lightgray: "#e6e9ef",
gray: "#9ca0b0",
darkgray: "#4c4f69",
dark: "#1e1e2e",
secondary: "#7287fd",
tertiary: "#8839ef",
highlight: "rgba(114, 135, 253, 0.15)",
textHighlight: "#7287fd88",
},
darkMode: {
light: "#1e1e2e",
lightgray: "#313244",
gray: "#585b70",
darkgray: "#a6adc8",
dark: "#cdd6f4",
secondary: "#b4befe",
tertiary: "#94e2d5",
highlight: "rgba(180, 190, 254, 0.15)",
textHighlight: "#b4befe88",
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "git", "filesystem"],
}),
Plugin.SyntaxHighlighting({
theme: {
light: "catppuccin-latte",
dark: "catppuccin-mocha",
},
keepBackground: false,
}),
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.TableOfContents(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Description(),
Plugin.Latex({ renderEngine: "katex" }),
],
filters: [Plugin.RemoveDrafts(), Plugin.ExplicitPublish()],
emitters: [
Plugin.AliasRedirects(),
Plugin.ComponentResources(),
Plugin.ContentPage(),
Plugin.FolderPage(),
Plugin.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.Favicon(),
Plugin.NotFoundPage(),
// Comment out CustomOgImages to speed up build time
Plugin.CustomOgImages(),
],
},
}
export default config