feat: re-render mermaid when theme changed

This commit is contained in:
st1020 2024-03-18 20:51:37 +08:00
parent 44acba4041
commit be0ec891a0
4 changed files with 39 additions and 6 deletions

View file

@ -1459,9 +1459,8 @@ body {
background-color: rgb(0 0 0 / var(--tw-bg-opacity));
}
.bg-white {
--tw-bg-opacity: 1;
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
.bg-inherit {
background-color: inherit;
}
.bg-white\/50 {