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

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

View File

@ -1,6 +1,11 @@
<!doctype html> <!doctype html>
<html lang="en" data-bs-theme="dark"> <html lang="en">
<head> <head>
<script>
// Set theme early to prevent flash of incorrect style
const theme = localStorage.getItem("theme") || "dark";
document.documentElement.setAttribute("data-bs-theme", theme);
</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" />
<link rel="stylesheet" href="/webui/libs/bootstrap.min.css" /> <link rel="stylesheet" href="/webui/libs/bootstrap.min.css" />