-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathquartz.config.ts
95 lines (93 loc) · 3.04 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
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: "Permaweb Journal",
pageTitleSuffix: "",
enableSPA: false,
enablePopovers: true,
analytics: {
provider: "plausible",
},
locale: "en-US",
baseUrl: "permaweb-journal.arweave.net",
ignorePatterns: ["private", "templates", ".obsidian"],
defaultDateType: "created",
generateSocialImages: true,
theme: {
fontOrigin: "googleFonts",
cdnCaching: true,
typography: {
header: "Schibsted Grotesk",
body: "Manrope",
code: "IBM Plex Mono",
},
colors: {
lightMode: {
light: "#FAFAFA", // Soft off-white for background
lightgray: "#e0e0e0", // Lighter gray for dividers, UI elements
gray: "#b0b0b0", // Neutral gray for secondary text
darkgray: "#3C3C3C", // Darker gray for body text
dark: "#1A1A1A", // Deep black for headings, strong contrast
secondary: "#1A1A1A", // Signature green for CTA buttons, highlights
tertiary: "#66BB6A", // Lighter green for hover states
highlight: "#F2F2F2", // Subtle highlight color
textHighlight: "#4CAF50", // Green highlight for important text
},
darkMode: {
light: "#121212", // Dark mode background, slightly lifted black
lightgray: "#393939", // Darker gray for UI elements
gray: "#646464", // Mid-tone gray for secondary text
darkgray: "#d4d4d4", // Lighter gray for readability
dark: "#EAEAEA", // Off-white for primary text
secondary: "#EAEAEA", // Signature green for CTA and key elements
tertiary: "#66BB6A", // Lighter green for hover states
highlight: "rgba(76, 175, 80, 0.15)", // Subtle green tint for highlights
textHighlight: "#66BB6A", // Lighter green for emphasized text
},
}
},
},
plugins: {
transformers: [
Plugin.FrontMatter(),
Plugin.CreatedModifiedDate({
priority: ["frontmatter", "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.TagPage(),
Plugin.ContentIndex({
enableSiteMap: true,
enableRSS: true,
}),
Plugin.Assets(),
Plugin.Static(),
Plugin.NotFoundPage()
],
},
}
export default config