-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquartz.config.ts
97 lines (95 loc) · 3.42 KB
/
quartz.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
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: {
pageTitle: "PixelBend",
enableSPA: true,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "pixelbend.github.io/pixelbend-blog",
ignorePatterns: ["private", "templates", "whiteboards", ".obsidian"],
defaultDateType: "created",
generateSocialImages: false,
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "JetBrains Mono",
body: "JetBrains Mono",
code: "JetBrains Mono",
},
colors: {
lightMode: {
light: "#fafafa", // Authentic Atom One Light background
lightgray: "#e5e5e5", // Very light gray for panels
gray: "#4b535e", // Darkened medium gray, slightly darker for better contrast
darkgray: "#2f3338", // Darker gray for primary text, optimized for readability
dark: "#c678dd", // Light purple for headers and accents (matches dark mode)
secondary: "#56b6c2", // Teal for links and accents, consistent with dark mode
tertiary: "#98675d", // Warm pinkish-brown for secondary accents
highlight: "rgba(216, 222, 233, 0.15)", // Light gray for background highlights
textHighlight: "#d19a66", // Light, warm gold for highlighted text
},
darkMode: {
light: "#282c34", // Authentic Atom One Dark background
lightgray: "#3e4451", // Slightly lighter than background for panels
gray: "#5c6370", // Muted gray for secondary text
darkgray: "#abb2bf", // Light gray for main text
dark: "#c678dd", // Soft purple for headers and accents (replaces red)
secondary: "#56b6c2", // Teal for links and additional accents
tertiary: "#d19a66", // Warm pinkish-orange for secondary accents
highlight: "rgba(56, 61, 72, 0.15)", // Subtle dark highlight
textHighlight: "#e5c07b88", // Soft gold for highlighted text
},
},
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "filesystem"],
}),
Plugin.SyntaxHighlighting({
theme: {
light: "github-light",
dark: "github-dark",
},
keepBackground: false,
}),
Plugin.ObsidianFlavoredMarkdown({
enableInHtmlEmbed: true,
enableCheckbox: true,
}),
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.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage(),
],
},
}
export default config