disable katex, change text color in light mode

This commit is contained in:
semanticdata 2023-10-30 13:02:47 -05:00
parent c4389f60f0
commit f83bf69898
4 changed files with 7 additions and 5 deletions

View File

@ -23,7 +23,8 @@ const config: QuartzConfig = {
light: "#faf8f8",
lightgray: "#e5e5e5",
gray: "#b8b8b8",
darkgray: "#4e4e4e",
// darkgray: "#4e4e4e",
darkgray: "#2e2e2e",
dark: "#2b2b2b",
secondary: "#284b63",
tertiary: "#84a59d",
@ -51,7 +52,7 @@ const config: QuartzConfig = {
Plugin.ObsidianFlavoredMarkdown({ enableInHtmlEmbed: false }),
Plugin.GitHubFlavoredMarkdown(),
Plugin.CrawlLinks({ markdownLinkResolution: "shortest" }),
Plugin.Latex({ renderEngine: "katex" }),
// Plugin.Latex({ renderEngine: "katex" }),
Plugin.Description(),
],
filters: [Plugin.RemoveDrafts()],

View File

@ -57,7 +57,8 @@ export default ((opts?: GraphOptions) => {
const globalGraph = { ...defaultOptions.globalGraph, ...opts?.globalGraph }
return (
<div class={`graph ${displayClass ?? ""}`}>
<h3>Graph View</h3>
{/* line bellow was h3 */}
<h2>Graph View</h2>
<div class="graph-outer">
<div id="graph-container" data-cfg={JSON.stringify(localGraph)}></div>
<svg

View File

@ -118,7 +118,7 @@ export function renderPage(
)
const doc = (
<html>
<html lang="en-US">
<Head {...componentData} />
<body data-slug={slug}>
<div id="quartz-root" class="page">

View File

@ -30,7 +30,7 @@ export const AliasRedirects: QuartzEmitterPlugin = () => ({
const fp = await emit({
content: `
<!DOCTYPE html>
<html lang="en-us">
<html lang="en-US">
<head>
<title>${ogSlug}</title>
<link rel="canonical" href="${redirUrl}">