WIP: feat(webui): Themes dropdown menu #2093

Closed
Animan8000 wants to merge 13 commits from (deleted):theme into main
Showing only changes of commit 85e7a40404 - Show all commits

View File

@ -3,8 +3,7 @@
<head> <head>
<script> <script>
// Set theme early to prevent flash of incorrect style // Set theme early to prevent flash of incorrect style
const theme = localStorage.getItem("theme") || "dark"; document.documentElement.setAttribute("data-bs-theme", localStorage.getItem("theme") || "dark");
document.documentElement.setAttribute("data-bs-theme", theme);
</script> </script>
<title>OpenWF WebUI</title> <title>OpenWF WebUI</title>
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />