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 

## Type of change

- [x] 🐛 Bugfix
- [x] 🗺️ Documentation
This commit is contained in:
Niraj Tolia 2022-12-23 10:01:41 -08:00 committed by GitHub
parent 91b9f2e825
commit ff1b54b551
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -195,7 +195,7 @@ html[data-theme='dark'] {
display: inline-block; display: inline-block;
line-height: 1.2em; line-height: 1.2em;
vertical-align: top; vertical-align: top;
color: #e74c3c; color: var(--ifm-color-primary-dark);
background-color: unset; background-color: unset;
} }