Commit 0b012b1
committed
dark-mode: fix code contrast on Book pages
Book pages inherited light-mode code colors in dark mode, resulting in poor contrast for inline and block code.
Move the Book-specific fix into dark-mode.scss, mirroring the existing light-mode selector scope and using existing theme variables. This avoids layout-related overrides and follows established dark-mode patterns (as used for man-pages in f3771e3).1 parent 424c22d commit 0b012b1
2 files changed
+14
-26
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
174 | 174 | | |
175 | 175 | | |
176 | 176 | | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
| 177 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
118 | 127 | | |
119 | 128 | | |
120 | 129 | | |
| |||
190 | 199 | | |
191 | 200 | | |
192 | 201 | | |
193 | | - | |
194 | | - | |
| 202 | + | |
| 203 | + | |
195 | 204 | | |
196 | 205 | | |
197 | | - | |
198 | | - | |
| 206 | + | |
| 207 | + | |
199 | 208 | | |
0 commit comments