Closed sven-ahrens closed 5 months ago
HTML <code></code> elements have the wrong background-color which makes them very hard or almost impossible to read.
<code></code>
Here is the code that gets applied:
The background color is: #f8f8f8
#f8f8f8
I'm not familiar with Vitepress but I think something like this should do the trick:
.dark { code { background-color: transparent; color: white; } }
I tested this in Firefox & Chrome.
Thanks for your feedback @sven-ahrens, I also took the opportunity to remove the white background of the mermaid graphs, it's not perfect but it's not as bad :-)...
HTML
<code></code>
elements have the wrong background-color which makes them very hard or almost impossible to read.Here is the code that gets applied:
The background color is:
#f8f8f8
I'm not familiar with Vitepress but I think something like this should do the trick:
I tested this in Firefox & Chrome.