From 19d468aebb949b11507cbc1541a0e4c79976fe8a Mon Sep 17 00:00:00 2001 From: GALI PREM SAGAR Date: Tue, 21 Nov 2023 20:05:51 -0600 Subject: [PATCH] Fix dark theme to not have dark text color that is same as background (#456) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://github.com/rapidsai/cudf/issues/14463 This PR fixes dark theme text color to not pick the background color and also fixes span tags text color to not pick general body color. Previously: Now: Screenshot 2023-11-21 at 7 56 59 PM --- assets/css/custom.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/assets/css/custom.css b/assets/css/custom.css index b39aad45a9a..3b32739d1cf 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -182,7 +182,7 @@ body { roboto, noto, "segoe ui", arial, sans-serif; font-size: inherit; line-height: 1.4; - color: #5c5962; + color: var(--pst-color-text-base); } h1, @@ -546,7 +546,7 @@ table.io-supported-types-table thead{ } :root { - + --pst-heading-color: var(--pst-color-primary); --pst-color-active-navigation: 114, 83, 237; --pst-color-navbar-link: 77, 77, 77; --pst-color-navbar-link-hover: var(--pst-color-active-navigation);