Skip to content

Code blocks have very low contrast #281

@isaacbrodsky

Description

@isaacbrodsky

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions