From 1afdfe22d2ea0e35b28df3aed8b8bea4edfcdbcd Mon Sep 17 00:00:00 2001 From: Joshua Chen Date: Thu, 5 May 2022 13:58:59 +0800 Subject: [PATCH] fix(website): darken breadcrumbs color to ensure contrast --- website/src/css/custom.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index ccddea72eb7d3..bcfe9fa251d58 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -41,6 +41,8 @@ html[data-theme='dark'] { --ifm-color-primary-lightest: hsl( var(--site-primary-hue-saturation-light) 58% ); + /* Use a darker color to ensure contrast */ + --ifm-breadcrumb-color-active: var(--ifm-color-primary-darker); } [data-theme='dark'] {