Closed zoglo closed 7 months ago
I found one more thing that has been missing in this PR and did implement it in my last commit: https://github.com/contao/docs/pull/1301/commits/27d6d00d2951038c78f62c75990c963d34c73ba2.
This also adds dark mode for mermaid.js but only works when reloading the page due to how mermaid.js works.
Light mode
Dark mode
The PR should be ready for review @fritzmg @netzarbeiter
Dark-mode
prefers-color-scheme: dark
as well'data-theme=dark'
also uses most dark-themes (e.g. Algolia)Preview
Can be temporarily accessed through these two links: removed