Hello, I noticed the Ledger documentation site <https://ledger-cli.org/doc/ledger3.html> now attempts to support the dark theme. To that end, it sets the body background to the value of variable --background-color, which is conditionally set to the value of --dark-background-color, which is #212121. It also sets default color to --color, conditionally set to --dark-color, which is #fefefe.
The problem is first seen in § 4.5.4 Complete control over commodity pricing, under “A valuation function receives three arguments:”, where argument names and descriptions are formatted as a definition list (<dl> containing <dt>/<dd> pairs). The definition term element, along with fifth and sixth level headings, is styled without any regard to theme: h5, h6, dt { color: #222; } which is invisible on the dark background of #212121. As a workaround, I’m injecting a userstyle of: h5, h6, dt { color: var(--color); } -- --- You received this message because you are subscribed to the Google Groups "Ledger" group. To unsubscribe from this group and stop receiving emails from it, send an email to ledger-cli+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ledger-cli/CAP_d_8WYR%2BOAbp5N5BsFPybqH3jKCAVh3_gbQHCSZ2TqvS2eLQ%40mail.gmail.com.