nomad
nomad copied to clipboard
Add Dark mode to Nomad UI
Hi there, I have not found any information regarding a dark mode for the Nomad UI, so I wanted to know if it would be of any interest for the UI team to implement one.
Proposal
Add controls on the UI to allow toggling between dark, light and system modes
Use-cases
Users can set their preferred theme at will according to their setup
Attempted Solutions
There are third party browser extension that can change the theme of web pages but wont always change the right elements to the right colour and styling. It would be really nice to have a simple dark mode from the team itself.
Hi @FranksRobins and thanks for raising this issue which would be nice to have. I'll pass this over to our UI team who will be best placed to handle this request.
Thanks for raising this, @FranksRobins. We have a few UI styling things to take care of first (some changes to our header and sidebar, generally) before it makes sense to try to specifically have a dark theme, but I think it's a good idea worth pursuing after that.
Dark mode would be nice, currently I inject CSS to emulate one. I'm no good at UI but here's a screenshot for inspiration:
@nightwolfz That looks nice. Do you mind sharing the stylesheet?
@nate-sys Here you go https://gist.github.com/nightwolfz/6ea08a499f7fe3f2a96304e565e40c43
It's a bit of a mess though since my goal was simply not to blind myself every time I opened nomad :)
Here are a few more pictures:
@nightwolfz Amazing! Thanks a lot for sharing. It's very pretty, actually.
dark reader worked great to fill this gap - up until v1.6
, that is https://github.com/hashicorp/nomad/issues/19867
@nightwolfz this looks great indeed! Thank you so much for putting an effort into it!
@FranksRobins I use this chrome extension to inject the CSS https://chromewebstore.google.com/detail/user-javascript-and-css/nbhcbdghjpllgmfilhnhkllmkecfmpld
Glad you guys like it :)
As a nomad admin and dark-mode-liking individual, I'm excited to see this feature progress! +1 from me!