feat: add `window.themes` variable

This commit is contained in:
SerKo 2022-10-09 17:18:54 +08:00
parent f447fcd349
commit ec5ee7eeaa
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
<script src="https://unpkg.com/@master/styles@1.13.0"></script> <script src="https://unpkg.com/@master/styles@1.13.0"></script>
<script src="https://unpkg.com/master-styles-group"></script> <script src="https://unpkg.com/master-styles-group"></script>
<script src="https://unpkg.com/themes.js"></script> <script src="https://unpkg.com/themes.js"></script>
<script>new window.Themes()</script> <script>window.themes = window.themes || new window.Themes()</script>
{{- partial "head-extra.html" . -}} {{- partial "head-extra.html" . -}}
</head> </head>