Skip to content

Use different shade for code snippet background #931

@nitodeco

Description

@nitodeco

Code snippets currently share their background color with the page background. This makes reading the package description a bit harder than it needs to IMO, especially in lightmode, since codeblocks aren't that visually distinct from any other text.

Image Image

I propose that codeblocks get the same treatment as the command snippets, with a different background shade to elevate it from the rest of the page:

Image

Let me know what you think and perhaps what the reasoning is for using identical background colors for code and the rest of the page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    frontFrontend, Design

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions