From 1293383cdc58cec81815c18f883efe9aea2aa787 Mon Sep 17 00:00:00 2001 From: Noah Jenner <64815328+Eutropios@users.noreply.github.com> Date: Wed, 3 Jan 2024 16:41:27 -0800 Subject: [PATCH] [docs] - Fix admonition hyperlink colouring (#9385) ## Summary Fix the colouration of hyperlinks within admonitions on dark theme to be more readable. Closes #9046 ## Test Plan Documentation was regenerated via mkdocs and the supplied requirements. Signed-off-by: 64815328+Eutropios@users.noreply.github.com --- docs/stylesheets/extra.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 1855c2e841904..daa42c7d816a1 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -97,3 +97,8 @@ [data-md-color-scheme="astral-dark"] details summary a { color: var(--flare); } + +/* See: https://github.com/astral-sh/ruff/issues/9046 */ +[data-md-color-scheme="astral-dark"] div.admonition p a { + color: var(--flare); +}