Import theme

This commit is contained in:
DuN0z 2025-10-09 10:23:36 +02:00
parent 51769fa6be
commit c59ffbfeee
127 changed files with 13611 additions and 1 deletions

View file

@ -0,0 +1,7 @@
{{ if .Page.Store.Get "hasMermaid" }}
<script src="https://cdn.jsdelivr.net/npm/mermaid/dist/mermaid.min.js"></script>
<script>
const mermaidtheme = getStoredThemeStyle() === 'dark' ? 'dark' : 'base';
mermaid.initialize({ startOnLoad: true, theme: mermaidtheme });
</script>
{{ end }}