styles: use auto dark themes

This commit is contained in:
SerKo 2022-05-21 22:19:08 +08:00
parent 379fcc486e
commit d08bb4c558
1 changed files with 2 additions and 4 deletions

View File

@ -18,8 +18,6 @@
<script src="https://unpkg.com/@master/style@1.5.0"></script>
<script src="https://unpkg.com/@master/styles@1.13.0"></script>
<script src="https://unpkg.com/master-styles-group"></script>
<script>
window.matchMedia('(prefers-color-scheme: dark)').matches && document.documentElement.classList.add("dark");
</script>
<script type="module" src="https://unpkg.com/vanilla-themes"></script>
<script type="module">new window.Themes()</script>
</head>