Skip to content

Commit df5678e

Browse files
committed
Revert "darktheme mermaid"
This reverts commit 6b9e81d.
1 parent 6b9e81d commit df5678e

File tree

3 files changed

+143
-94
lines changed

3 files changed

+143
-94
lines changed

astro.config.mjs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,10 @@ import { defineConfig, sharpImageService } from 'astro/config';
33
import starlight from '@astrojs/starlight';
44
import starlightBlog from 'starlight-blog'
55
import starlightSidebarTopics from 'starlight-sidebar-topics';
6+
import tailwindcss from "@tailwindcss/vite";
67
import remarkSimplePlantumlPlugin from "@akebifiky/remark-simple-plantuml"
8+
import rehypeMermaid from 'rehype-mermaid';
79
import remarkGemoji from 'remark-gemoji';
8-
import mermaid from 'astro-mermaid';
910

1011

1112
// https://astro.build/config
@@ -15,6 +16,9 @@ export default defineConfig({
1516
remarkPlugins: [
1617
[remarkSimplePlantumlPlugin, { baseUrl: "https://www.plantuml.com/plantuml/svg" }],
1718
remarkGemoji
19+
],
20+
rehypePlugins: [
21+
rehypeMermaid
1822
]
1923
},
2024
image: {
@@ -23,10 +27,6 @@ export default defineConfig({
2327
site: 'https://modularmoose.org',
2428
base: '',
2529
integrations: [
26-
mermaid({
27-
theme: 'forest',
28-
autoTheme: true
29-
}),
3030
starlight({
3131
title: 'Modular Moose',
3232
customCss: [
@@ -314,5 +314,9 @@ export default defineConfig({
314314
},
315315
)]
316316
}),
317-
]
317+
],
318+
319+
vite: {
320+
plugins: [tailwindcss()],
321+
},
318322
});

package-lock.json

Lines changed: 132 additions & 86 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)