Commit 7c875b1
feat: add dark mode support
Enable dark mode toggling for the theme:
- Change colorSchema from "light" to "both" in package.json
- Import dark-mode.css with color scheme overrides for all 50+ schemes
- Add dark mode styling for inline code elements
- Update example.md to use colorSchema: auto
Note: Dark mode colors could use some refinement for better aesthetics.
Closes #1
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>1 parent 9097413 commit 7c875b1
5 files changed
Lines changed: 794 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
162 | 168 | | |
163 | 169 | | |
164 | 170 | | |
| |||
0 commit comments