Use Mantine's `useComputedColorScheme` hook to dynamically configure mermaid's theme. - When the computed color scheme is "light", the theme is set to "default". - Otherwise, it is set to "dark". |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||
Use Mantine's `useComputedColorScheme` hook to dynamically configure mermaid's theme. - When the computed color scheme is "light", the theme is set to "default". - Otherwise, it is set to "dark". |
||
|---|---|---|
| .. | ||
| client | ||
| server | ||