From dc67024be2c90fb8c8adb254840d97becad70cd9 Mon Sep 17 00:00:00 2001 From: Ben Phelps Date: Wed, 11 Sep 2024 15:00:20 +0300 Subject: [PATCH] fix light mode ad text contrast --- docs/stylesheets/extra.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/stylesheets/extra.css b/docs/stylesheets/extra.css index 07ecaa575..ab00fed6e 100644 --- a/docs/stylesheets/extra.css +++ b/docs/stylesheets/extra.css @@ -57,6 +57,10 @@ --carbon-text-color: var(--md-typeset-color) !important; } +[data-md-color-scheme="default"] .carbon-text { + color: var(--md-code-fg-color) !important; +} + .md-typeset__table { width: 100%; }