Skip to content

Conversation

@ChristopherHaws
Copy link

Before:
image

After:
image

Copy link
Collaborator

@Myshor Myshor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With our without my proposed changes it is ugly in Firefox:
obraz

Maybe use border-color: ${rgb(194, 196, 201)} !important;

It will make darker color in darks scheme and lighter in light.


CSS
.markdown-body {
& pre {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

first thing...

Aplying this kind of fix breaks showing it in Dark Reader developer tools:
obraz

I would maybe change it to:

.markdown-body ,
 pre {
        background-color: unset !important;
        border-color: unset !important;
}

or something similar that is not nested one into another.

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

Successfully merging this pull request may close these issues.

2 participants