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

Code blocks have very low contrast #281

Open
isaacbrodsky opened this issue Dec 23, 2019 · 0 comments
Open

Code blocks have very low contrast #281

isaacbrodsky opened this issue Dec 23, 2019 · 0 comments

Comments

@isaacbrodsky
Copy link
Collaborator

For example, see https://loaders.gl/docs/developer-guide/polyfills

A contrast checking extension reads the following:

Color Contrast
#C5C8C6 1.57
#B5BD68 1.88
#8ABEB7 1.94

I think the issue is the file modules/gatsby-theme-ocular/styles/markdown/b16-tomorrow-dark.css - per the name it's for a dark theme, but that's not what Ocular uses. Code blocks should either have a dark background to bring the contrast up or switch the code styling to a light theme.

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

No branches or pull requests

1 participant