Add dark light for highlight

This commit is contained in:
Florian RICHER 2023-12-09 15:07:06 +01:00
parent cde7d8db7f
commit 8845db8993
7 changed files with 1709 additions and 15 deletions

28
style/mermaid.css Normal file
View file

@ -0,0 +1,28 @@
@layer components {
.edgeLabel {
@apply !bg-surface dark:!bg-dark_surface !text-on_surface dark:!text-dark_on_surface;
}
.label {
@apply !bg-surface dark:!bg-dark_surface !text-on_surface dark:!text-dark_on_surface;
}
.arrowheadPath {
@apply !fill-surface dark:!fill-dark_surface !stroke-surface dark:!stroke-dark_surface;
}
.path {
@apply !stroke-surface dark:!stroke-dark_surface;
}
.cluster rect,
.node rect,
.node circle,
.node ellipse,
.node polygon,
.node path {
@apply !fill-surface dark:!fill-dark_surface !stroke-surface dark:!stroke-dark_surface;
}
.marker {
@apply !fill-surface dark:!fill-dark_surface !stroke-surface dark:!stroke-dark_surface;
}
.marker.cross {
@apply !stroke-surface dark:!stroke-dark_surface;
}
}