Files
garden-astro/astro.config.mjs
T
wesandClaude Fable 5 601922e607 Design pass: visual alignment with the Ghost blog
Fixed-dark theme matching blog.c0smere.net (Source theme + injections):
bg #0b0d12, white/64%-white text, accent green #218107 (links lifted to
#2fa50f for contrast). Self-hosted JetBrains Mono + Libre Baskerville —
the same woff2 files the blog serves. Site header with logo + nav
mirroring gh-head; serif-italic quotes; blog-style borderless tables;
single dark shiki/mermaid theme; homepage styled as a typographic feed.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 21:38:04 -04:00

20 lines
715 B
JavaScript

import { defineConfig } from 'astro/config';
import remarkMath from 'remark-math';
import rehypeKatex from 'rehype-katex';
import { remarkObsidian } from './src/lib/remark-obsidian.mjs';
import { buildSlugMap, CONTENT_DIR } from './src/lib/quartz-compat.mjs';
const slugMap = buildSlugMap(CONTENT_DIR);
export default defineConfig({
site: 'https://garden.c0smere.net',
// 'file' => /A/B.html served as /A/B — matches Quartz's URL shape
build: { format: 'file' },
markdown: {
remarkPlugins: [[remarkObsidian, { slugMap }], remarkMath],
rehypePlugins: [rehypeKatex],
// single dark theme — the site is fixed-dark to match blog.c0smere.net
shikiConfig: { theme: 'github-dark' },
},
});