From f8398fda0220412d87b0daf1dd9b1f8deb43435d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20Cab=C3=A9?= Date: Wed, 6 Sep 2023 12:47:54 +0200 Subject: [PATCH] doc: css: fix text color for toggle buttons in related samples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Missed this usability issue earlier. This makes the text and icon in collapsible admonition the same color as the admonition title. Signed-off-by: Benjamin Cabé --- doc/_static/css/custom.css | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/_static/css/custom.css b/doc/_static/css/custom.css index 30d8607f9dc..711edd9936f 100644 --- a/doc/_static/css/custom.css +++ b/doc/_static/css/custom.css @@ -552,6 +552,7 @@ a.internal:visited code.literal { .rst-content .admonition.toggle button { display: inline-flex; + color: var(--admonition-note-title-color); } .rst-content .admonition.toggle .tb-icon {