This is directly related to a customer need with many MAAS machines managed in multiple environments.
They would like the ability to color their MAAS ui to match their environment in scope, so ‘Red’ would be prod, ‘Yellow’ would be dev and ‘Green’ would be lab, for example . Their colors are different, but their other tooling in-house follows a similar construct.
I was able to hack this into a POC/workaround, but it required installing a few additional packages to re-lint the CSS, unpacking the snap’s squashfs, altering the included CSS files, repacking the snap and putting it back in place (making sure that MAAS was stopped before overwriting its squashfs filesystem).
This did work, and illustrated the ability nicely, but has a few issues, the biggest of which… is that when snap auto-upgrades the MAAS snap, it will replace these adjustments with the in-core versions, and have to be done again, per-region/rack controller in each environment. This isn’t ideal.
What they’d like, is an easy way to theme the UI colors, nothing complicated, much like you can do with Github, Mattermost, Slack and similar tooling, by editing a basic CSS color template in JSON format, that gets saved. OpenStack’s Horizon component has a similar implementation with baked-in themes that can be used, or custom themes that can be added.
They recognize this isn’t in the critical path of other issues, but it is a feature they’d like to see implemented.