diff --git a/quartz.config.ts b/quartz.config.ts index 1de0605..3bd4b8c 100644 --- a/quartz.config.ts +++ b/quartz.config.ts @@ -27,26 +27,26 @@ const config: QuartzConfig = { }, colors: { lightMode: { - light: "#faf8f8", - lightgray: "#e5e5e5", - gray: "#b8b8b8", - darkgray: "#4e4e4e", - dark: "#2b2b2b", - secondary: "#284b63", - tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", - textHighlight: "#fff23688", + light: "#f5ecd9", + lightgray: "#d9cdb4", + gray: "#a8997b", + darkgray: "#4a3e2a", + dark: "#2b2316", + secondary: "#b8552e", + tertiary: "#6b8048", + highlight: "rgba(107, 128, 72, 0.15)", + textHighlight: "#e8b54066", }, darkMode: { - light: "#161618", - lightgray: "#393639", - gray: "#646464", - darkgray: "#d4d4d4", - dark: "#ebebec", - secondary: "#7b97aa", - tertiary: "#84a59d", - highlight: "rgba(143, 159, 169, 0.15)", - textHighlight: "#b3aa0288", + light: "#1c1f1a", + lightgray: "#3a3d33", + gray: "#7a7361", + darkgray: "#e0d4b8", + dark: "#f4ead2", + secondary: "#d97a55", + tertiary: "#9bb87a", + highlight: "rgba(155, 184, 122, 0.15)", + textHighlight: "#e8b54066", }, }, }, diff --git a/quartz/components/PageTitle.tsx b/quartz/components/PageTitle.tsx index 53ee824..ecfb3d5 100644 --- a/quartz/components/PageTitle.tsx +++ b/quartz/components/PageTitle.tsx @@ -1,4 +1,4 @@ -import { pathToRoot } from "../util/path" +import { joinSegments, pathToRoot } from "../util/path" import { QuartzComponent, QuartzComponentConstructor, QuartzComponentProps } from "./types" import { classNames } from "../util/lang" import { i18n } from "../i18n" @@ -6,9 +6,13 @@ import { i18n } from "../i18n" const PageTitle: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzComponentProps) => { const title = cfg?.pageTitle ?? i18n(cfg.locale).propertyDefaults.title const baseDir = pathToRoot(fileData.slug!) + const logoPath = joinSegments(baseDir, "static/icon.png") return (