Add dark light for highlight
This commit is contained in:
parent
cde7d8db7f
commit
8845db8993
7 changed files with 1709 additions and 15 deletions
28
style/mermaid.css
Normal file
28
style/mermaid.css
Normal 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;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue