Commit bb14588
fix(docs): readable admonition text in dark mode (#516)
AsciiDoc admonition bodies hardcode color: rgba(0,0,0,.6) from the
asciidoctor stylesheet. The dark-mode override only darkened the block
background, leaving black text on a dark (#1f2937) panel — effectively
unreadable (contrast ~1.1:1), e.g. the "Working on an existing codebase?"
note on the Spec-Driven Development page. Override the admonition content
text to var(--color-text) and darken its left divider for dark mode.
Light mode is unchanged (rule is .dark-scoped).
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 05d0c75 commit bb14588
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
402 | 402 | | |
403 | 403 | | |
404 | 404 | | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
405 | 414 | | |
406 | 415 | | |
407 | 416 | | |
| |||
0 commit comments