Skip to content

Commit 013933e

Browse files
committed
style: use catppuccin-mocha theme for syntax highlighting
- Add markdown.theme config for better code block contrast - Update code block background to catppuccin crust (#11111b) - Improves readability on dark background with warm color palette
1 parent 904ed32 commit 013933e

3 files changed

Lines changed: 7 additions & 2 deletions

File tree

docs/.vitepress/config.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ export default defineConfig({
77
base: '/',
88
appearance: false,
99

10+
markdown: {
11+
theme: 'catppuccin-mocha',
12+
},
13+
1014
head: [['link', { rel: 'icon', type: 'image/svg+xml', href: '/favicon.svg' }]],
1115

1216
themeConfig: {

docs/.vitepress/theme/custom.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,8 @@
4545
--vp-c-divider: rgba(255, 255, 255, 0.1);
4646
--vp-c-gutter: rgba(255, 255, 255, 0.05);
4747

48-
/* Code blocks */
49-
--vp-code-block-bg: #0a0a0a;
48+
/* Code blocks - using catppuccin-mocha crust for cohesion */
49+
--vp-code-block-bg: #11111b;
5050
--vp-code-line-highlight-color: rgba(249, 115, 22, 0.1);
5151

5252
/* Sidebar */

pta-standards

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../pta-standards

0 commit comments

Comments
 (0)