Skip to content

Fix contrast in new dark mode code block #17939

Closed
@HarHarLinks

Description

@HarHarLinks

Is your suggestion related to a problem? Please describe.

image
image
Congrats on the snazzy looking new code block styling. In the above screenshots it looks pretty good!

Now look at this message:
image
My eyes try to skip the code snippet as it is not only far from the text color but also darker than normal text (less fg-bg contrast) while the background is lighter than normal background (next to no contrast left).

Describe the solution you'd like.

Notice how in light mode, the non-coloured text has the same color as regular messages. In dark mode, the same parts in code are kind of faded. I'd like if they matched the normal message text color, or much closer to it, especially inline.

Describe alternatives you've considered.

🤔

Additional context

Screenshots taken on nightly 2021071001-1

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions