Skip to content

Commit cee1332

Browse files
committed
Use catppuccin theme
1 parent 9452943 commit cee1332

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

home/.vitepress/config.mts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,12 @@ export default defineConfig({
111111
hostname: 'https://collapselauncher.com'
112112
},
113113
lastUpdated: true,
114+
markdown: {
115+
theme: {
116+
light: 'catppuccin-latte',
117+
dark: 'catppuccin-mocha'
118+
}
119+
},
114120
vite: {
115121
plugins: [],
116122
resolve: {

home/.vitepress/theme/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import transition from './transition.vue'
77
import MarkdownLoader from '../components/md-loader.vue'
88
import { vuetify } from '../components/vuetify.vue'
99
import { VCard, VCardText, VCardTitle, VTimeline, VTimelineItem, VIcon, VBtn } from 'vuetify/components'
10+
import "@catppuccin/vitepress/theme/mocha/peach.css"
1011

1112
export default {
1213
extends: DefaultTheme,

package-lock.json

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"home:preview": "vitepress preview home"
66
},
77
"dependencies": {
8+
"@catppuccin/vitepress": "^0.1.0",
89
"@mdi/font": "^7.4.47",
910
"highlight.js": "^11.11.1",
1011
"markdown-it": "^14.1.0",

0 commit comments

Comments
 (0)