feat: change code theme
This commit is contained in:
@@ -6,8 +6,6 @@ import sitemap from '@astrojs/sitemap';
|
||||
import starlight from "@astrojs/starlight";
|
||||
import starlightThemeRapide from 'starlight-theme-rapide'
|
||||
|
||||
import tailwindcss from '@tailwindcss/vite';
|
||||
|
||||
const getSiteURL = () => {
|
||||
if (process.env.SITE_URL) {
|
||||
return `https://${process.env.SITE_URL}`;
|
||||
@@ -29,6 +27,9 @@ export default defineConfig({
|
||||
customCss: [
|
||||
'./src/styles/custom.css',
|
||||
],
|
||||
expressiveCode: {
|
||||
themes: ['vitesse-light', 'vitesse-dark'],
|
||||
},
|
||||
social: [
|
||||
{
|
||||
icon: "external",
|
||||
@@ -54,21 +55,9 @@ export default defineConfig({
|
||||
autogenerate: { directory: "applications" },
|
||||
},
|
||||
],
|
||||
}),
|
||||
})
|
||||
],
|
||||
|
||||
markdown: {
|
||||
syntaxHighlight: false,
|
||||
},
|
||||
|
||||
plugins: {
|
||||
'@tailwindcss/postcss': {},
|
||||
},
|
||||
|
||||
vite: {
|
||||
plugins: [tailwindcss()],
|
||||
},
|
||||
|
||||
output: 'static',
|
||||
|
||||
adapter: node({
|
||||
|
||||
Reference in New Issue
Block a user