diff --git a/docs/templates/squidstd/public/main.css b/docs/templates/squidstd/public/main.css index 9c80695..c9cb708 100644 --- a/docs/templates/squidstd/public/main.css +++ b/docs/templates/squidstd/public/main.css @@ -53,6 +53,12 @@ table > thead { background-color: rgba(75, 180, 189, 0.12); } /* Affix (right-hand "In this article") active marker. */ .affix ul li.active > a { color: var(--sqd-brand); border-left-color: var(--sqd-brand); } +/* Dark mode: the brand teals are too dark against the ink background - lift to the light accent. + Inline code especially matters on API reference pages, which are full of type/member names. */ +[data-bs-theme="dark"] :not(pre) > code { color: var(--sqd-accent); } +[data-bs-theme="dark"] .toc .nav-link.active { color: var(--sqd-accent) !important; } +[data-bs-theme="dark"] .affix ul li.active > a { color: var(--sqd-accent); border-left-color: var(--sqd-accent); } + /* Package READMEs use