From ff1b54b551c26b7e05add9ee4cd102dd6e68ee74 Mon Sep 17 00:00:00 2001 From: Niraj Tolia Date: Fri, 23 Dec 2022 10:01:41 -0800 Subject: [PATCH] Improve .md code color (#1918) ## Description Inherit from top-level color schemes so that the text color is readable in both dark and light modes ## Does this PR need a docs update or release note? - [x] :no_entry: No ## Type of change - [x] :bug: Bugfix - [x] :world_map: Documentation --- website/src/css/custom.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/src/css/custom.scss b/website/src/css/custom.scss index 4377f3c6c..167106467 100644 --- a/website/src/css/custom.scss +++ b/website/src/css/custom.scss @@ -195,7 +195,7 @@ html[data-theme='dark'] { display: inline-block; line-height: 1.2em; vertical-align: top; - color: #e74c3c; + color: var(--ifm-color-primary-dark); background-color: unset; }