Fix bad contrast in the platform pill in the docsite (#1251)

White text on green breaks site accessibility standards so I'm updating
the active text color for the platform picker pill to be
`--ifm-color-secondary-contrast-foreground`, which is white on light
mode and light grey on dark mode.
This commit is contained in:
Evan Simkowitz 2024-11-08 13:10:39 -08:00 committed by GitHub
parent bac9649140
commit 92271408dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,7 +22,7 @@
.pill-option.active { .pill-option.active {
background-color: var(--ifm-color-primary); background-color: var(--ifm-color-primary);
color: var(--ifm-color-secondary-lightest); color: var(--ifm-color-secondary-contrast-background);
font-weight: bold; font-weight: bold;
} }