mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-14 06:43:25 +08:00
c30aa6f9cf
Use the `github-dark` highlight theme for fence blocks in vitepress, instead of the default `material-palenight` theme. This increases the contrast ratio of `#comments` from 2.75:1 to 4.43:1, which is a lot more visible. It still doesn't reach WCAG 2.0 level AA contrast standards, which requires 4.5:1 as a minimum constrast ratio, but 4.43:1 is pretty close, and we don't need to manually modify the theme's colours.