Commit e0ab4b1
fix: make code blocks respond to dark mode theme toggle (#200)
Replace hardcoded colors in .content pre with CSS variables
(--color-code-bg, --color-code-fg) that adapt to the selected theme.
Closes #159
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent f0de5be commit e0ab4b1
1 file changed
Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
531 | 535 | | |
532 | 536 | | |
533 | 537 | | |
534 | | - | |
535 | | - | |
| 538 | + | |
| 539 | + | |
536 | 540 | | |
537 | 541 | | |
538 | 542 | | |
| |||
0 commit comments