Skip to content

fix(styles/webidl): add dark mode color variants for contrast#5286

Draft
marcoscaceres wants to merge 1 commit into
mainfrom
fix/4871-webidl-contrast
Draft

fix(styles/webidl): add dark mode color variants for contrast#5286
marcoscaceres wants to merge 1 commit into
mainfrom
fix/4871-webidl-contrast

Conversation

@marcoscaceres
Copy link
Copy Markdown
Contributor

Partially addresses #4871

Add prefers-color-scheme: dark overrides for WebIDL syntax colors
that have poor contrast on dark backgrounds.

Add prefers-color-scheme: dark overrides for WebIDL syntax colors.
The hardcoded dark-blue (#005a9c) and orangered (#ff4500) have poor
contrast on dark backgrounds. The header badge also gets a darker
blue background with light text.

Partially addresses #4871
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant