Skip to content

Added new theme: Bruha#104

Open
catcarbonell wants to merge 3 commits into
PrismJS:masterfrom
catcarbonell:bruha
Open

Added new theme: Bruha#104
catcarbonell wants to merge 3 commits into
PrismJS:masterfrom
catcarbonell:bruha

Conversation

@catcarbonell
Copy link
Copy Markdown

No description provided.

Comment thread themes/prism-bruha.css

:not(pre) > code[class*="language-"],
pre[class*="language-"] {
background: rgba(102, 93, 105, 0.8);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is the semi-transparent background color intentional?

It's a really problem with white backgrounds because the color contrasts goes to 2.47:1. It's fine on black backgrounds with 5.3:1.

Please consider choosing a darker semi-transparent bg color or #524a54 (= the current color on a black background).

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