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