diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index daa42c7d816a1..f22129ecb1c9a 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -99,6 +99,7 @@ } /* See: https://github.com/astral-sh/ruff/issues/9046 */ -[data-md-color-scheme="astral-dark"] div.admonition p a { - color: var(--flare); +[data-md-color-scheme="astral-dark"] div.admonition { + color: var(--md-code-fg-color); + background-color: var(--md-code-bg-color); }