99 lines
2.5 KiB
TypeScript
99 lines
2.5 KiB
TypeScript
import { QuartzConfig } from "./quartz/cfg"
|
|
import * as Plugin from "./quartz/plugins"
|
|
|
|
const config: QuartzConfig = {
|
|
configuration: {
|
|
pageTitle: "GameCult Quartz",
|
|
pageTitleSuffix: "",
|
|
enableSPA: true,
|
|
enablePopovers: true,
|
|
analytics: null,
|
|
locale: "en-GB",
|
|
baseUrl: "example.com",
|
|
ignorePatterns: ["private", "templates", ".obsidian"],
|
|
defaultDateType: "modified",
|
|
theme: {
|
|
fontOrigin: "googleFonts",
|
|
cdnCaching: true,
|
|
typography: {
|
|
header: {
|
|
name: "Montserrat",
|
|
weights: [100, 200, 300, 400, 600],
|
|
},
|
|
title: {
|
|
name: "Montserrat",
|
|
weights: [100, 200, 300],
|
|
},
|
|
body: {
|
|
name: "Ubuntu",
|
|
weights: [300, 400, 500, 700],
|
|
includeItalic: true,
|
|
},
|
|
code: "IBM Plex Mono",
|
|
},
|
|
colors: {
|
|
lightMode: {
|
|
light: "#07111a",
|
|
lightgray: "#16212c",
|
|
gray: "#63758a",
|
|
darkgray: "#b7c7d9",
|
|
dark: "#eef5ff",
|
|
secondary: "#ff8a2a",
|
|
tertiary: "#59b7ff",
|
|
highlight: "rgba(89, 183, 255, 0.14)",
|
|
textHighlight: "#ff8a2a55",
|
|
},
|
|
darkMode: {
|
|
light: "#07111a",
|
|
lightgray: "#16212c",
|
|
gray: "#63758a",
|
|
darkgray: "#b7c7d9",
|
|
dark: "#eef5ff",
|
|
secondary: "#ff8a2a",
|
|
tertiary: "#59b7ff",
|
|
highlight: "rgba(89, 183, 255, 0.14)",
|
|
textHighlight: "#ff8a2a55",
|
|
},
|
|
},
|
|
},
|
|
},
|
|
plugins: {
|
|
transformers: [
|
|
Plugin.FrontMatter(),
|
|
Plugin.CreatedModifiedDate({
|
|
priority: ["frontmatter", "git", "filesystem"],
|
|
}),
|
|
Plugin.SyntaxHighlighting({
|
|
theme: {
|
|
light: "github-light",
|
|
dark: "github-dark",
|
|
},
|
|
keepBackground: false,
|
|
}),
|
|
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
|
|
Plugin.GitHubFlavoredMarkdown(),
|
|
Plugin.TableOfContents(),
|
|
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
|
|
Plugin.Description(),
|
|
Plugin.Latex({ renderEngine: "katex" }),
|
|
],
|
|
filters: [Plugin.RemoveDrafts()],
|
|
emitters: [
|
|
Plugin.AliasRedirects(),
|
|
Plugin.ComponentResources(),
|
|
Plugin.ContentPage(),
|
|
Plugin.FolderPage(),
|
|
Plugin.ContentIndex({
|
|
enableSiteMap: true,
|
|
enableRSS: true,
|
|
}),
|
|
Plugin.Assets(),
|
|
Plugin.Static(),
|
|
Plugin.Favicon(),
|
|
Plugin.NotFoundPage(),
|
|
Plugin.CustomOgImages(),
|
|
],
|
|
},
|
|
}
|
|
|
|
export default config
|