From 41f68a98d692d3464a64e9fec4ca21512be5e32a Mon Sep 17 00:00:00 2001 From: Julia Tuttle Date: Thu, 18 Sep 2025 12:44:10 -0400 Subject: [PATCH] Fix speaker notes header and link contrast in Rust theme Despite the !important in the .content details style, links were showing up in the link color and headers were showing up in the (main) foreground color, which in the Rust theme has poor and no contrast, respectively. Fix this by explicitly forcing both to the sidebar foreground color instead. --- theme/css/speaker-notes.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/css/speaker-notes.css b/theme/css/speaker-notes.css index 7c14a17fad3f..e935f7a56490 100644 --- a/theme/css/speaker-notes.css +++ b/theme/css/speaker-notes.css @@ -5,6 +5,10 @@ padding: 0.25em; } +.content details a:link, .content details a:visited { + color: var(--sidebar-fg) !important; +} + .content details summary h4 { display: inline-block; list-style: none;