-
Notifications
You must be signed in to change notification settings - Fork 41
[Bug] Marked text has less contrast due to double overlay #323
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Since background colors were added to the style in the newest versions of Expressive Code, the application of double background to the text leads to the contrast between background and text falling below the requirements.
For example consider the example under Selecting inline marker types (mark, ins, del).
Notice how each of the three markers has a stronger color underneath the text. That's because all <ins>, <del> and <mark> set a low opacity background color. The <span>s inside inherit this background in the absence of one specified and thus the background becomes more prominent.
Can't apologize enough for introducing this bug in my PR.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
