Skip to content

Comments in code blocks are almost invisible #618

@36degrees

Description

@36degrees

Description of the issue

Comments in code blocks are now #eee on #f9f9f9, with a color contrast of 1.1:1, and are pretty much invisible

Image

I'm pretty sure this is a recent regression, possibly introduced as part of an update to the tech docs gem.

Steps to reproduce the issue

  1. Go to https://deploy-preview-615--govuk-frontend-docs-preview.netlify.app/import-css/#import-specific-parts-using-sass
  2. Look at the code block
  3. Look even closer – I promise there are comments there

Actual vs expected behaviour

You should be able to read the comments.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status

    Done 🏁

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions