We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dba2bb9 + 0f73a58 commit cfce59aCopy full SHA for cfce59a
1 file changed
yardang/custom.css
@@ -44,3 +44,22 @@ body[data-theme="dark"] .logo-dark {
44
display: none;
45
}
46
47
+
48
49
+/* Handle mermaid diagrams in dark mode */
50
+body[data-theme="light"] div.mermaid-container {
51
+ background-color: unset;
52
+}
53
+body[data-theme="dark"] div.mermaid-container {
54
+ background-color: whitesmoke;
55
56
+@media (prefers-color-scheme: dark) {
57
+ div.mermaid-container {
58
59
+ }
60
61
+@media (prefers-color-scheme: light) {
62
63
64
65
0 commit comments