diff --git a/website/src/css/custom.css b/website/src/css/custom.css index c8047407450..3181738406d 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -102,6 +102,14 @@ html[data-theme="dark"] { --ifm-table-cell-color: var(--color-green-blue); } +/* Linked `code` tags visibility adjustment */ +html[data-theme=dark] a code { + color: var(--ifm-link-color); +} +html[data-theme=dark] a code:hover { + color: var(--ifm-link-hover-color);; +} + /* For /dbt-cloud/api REDOC Page */ html[data-theme="dark"] .api-content h2, html[data-theme="dark"] .api-content h3, @@ -228,10 +236,6 @@ code { color: var(--ifm-color-emphasis-900); } -html[data-theme="dark"] a code { - color: var(--color-white); -} - .main-wrapper .home .col>p { font-size: 1.25rem; }