@CaelFrost Thanks for the command, I didn’t knew about it.
This got me looking.
Here’s a relatively simple way to do it while waiting for 1.5.
It will require you to edit the index.html file of the relevant Framework.
Steps
(Implied Windows default MSI installation. For other OS / types, you’ll have to transpose the directories)
Navigate to : C:\ProgramData\PowerShellUniversal\Dashboard\Frameworks\UniversalDashboard
Go in the framework you are using (For me, I use the latest, which is 3.1.2 on my machine)
Open the index.html with your text editor.
Add the following Javascript script block before the other one present. (#1)
<script type="text/javascript">
var theme = sessionStorage.getItem("theme");
if (theme ==null) {
sessionStorage.setItem("theme", "dark");
}
This will result in the dark theme being selected by default and loading with the page if the theme is not set.
Bonus : If you edit the body BG color and set it to the #303030 value, when you refresh the page, instead of having the short white flash of doom, the background of the unloaded page will be the same as the dark theme background.