Skip to content

docs: fix dark-mode horizontal list descriptions - #4882

Merged
andypugh merged 1 commit into
LinuxCNC:masterfrom
grandixximo:docs-dark-hdlist
Nov 22, 2026
Merged

andypugh merged 1 commit into
LinuxCNC:masterfrom
grandixximo:docs-dark-hdlist

Conversation

@grandixximo

Copy link
Copy Markdown
Contributor

Summary

Fix unreadable descriptions in horizontal definition lists in dark mode.

Asciidoctor renders these lists as tables, and its generic table-cell rule leaves td.hdlist2 descriptions near-black. Add these cells to the existing light-text override used for .hdlist1 terms.

Test

I rendered an Asciidoctor horizontal-list fixture in headless Firefox before and after the change with the dark-mode rules enabled. Descriptions are now light and readable; labels and surrounding paragraphs are unchanged.

git diff --check passes.

Asciidoctor renders horizontal description lists as tables, whose generic td rule sets near-black text. Override hdlist2 cells along with hdlist1 so descriptions remain legible in dark mode.
@andypugh
andypugh merged commit 234a613 into LinuxCNC:master Nov 22, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants