Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color contrast #908

Merged
merged 1 commit into from
Oct 3, 2022
Merged

Color contrast #908

merged 1 commit into from
Oct 3, 2022

Conversation

NiedziolkaMichal
Copy link
Member

This PR changes colors in Code Mirror CSS editor, in order to meet WCAG color contrast AA standard.
Now CSS looks like this in Dark Mode:
image
and in light mode:
image

Except for changes made purely to improve contrast, at-rules now have yellow color, !important was changed to red and JavaScript class name was changed from grey to white.

Fixes #811

@queengooborg queengooborg merged commit b9f5252 into mdn:main Oct 3, 2022
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.

Color of css ID selector
2 participants