Commit 60bf1aa
fix(vitepress): use one-dark-pro for code blocks in both themes
Code blocks render on a dark navy background (--vp-code-block-bg) in both
light and dark mode, but VitePress's default Shiki themes (github-light/
github-dark) have muted tokens tuned for light backgrounds, leaving
identifiers nearly invisible. Pin one-dark-pro for both modes so syntax
stays legible on the navy.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent cdec158 commit 60bf1aa
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
144 | 152 | | |
145 | 153 | | |
146 | 154 | | |
| |||
0 commit comments