Skip to content

Commit 6815706

Browse files
authored
Merge pull request #127 from scroll-tech/dark-mode
Dark mode
2 parents b2124ca + 709ec20 commit 6815706

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+1072
-255
lines changed

astro.config.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { defineConfig } from "astro/config"
22
import preact from "@astrojs/preact"
33
import react from "@astrojs/react"
4+
import svgr from "vite-plugin-svgr"
45
import astroI18next from "astro-i18next"
56
import { astroCallouts, asideAutoImport } from "./integrations/astro-callouts"
67
import { solidityRemixCode, codeSampleAutoImport } from "./integrations/solidity-remix"
@@ -32,6 +33,7 @@ export default defineConfig({
3233
preact({
3334
compat: true,
3435
}),
36+
3537
sitemap({
3638
changefreq: "daily",
3739
}),
@@ -47,6 +49,9 @@ export default defineConfig({
4749
}),
4850
astroI18next(),
4951
],
52+
vite: {
53+
plugins: [svgr()],
54+
},
5055
markdown: {
5156
drafts: true,
5257
remarkPlugins: [remarkMath, remarkGfm],

0 commit comments

Comments
 (0)