addonfactory-ucc-generator
addonfactory-ucc-generator copied to clipboard
Feature request: Switch to enterprise dark theme via globalConfig.json
Hi,
From the UI point of view, it would be a great addition to be able change the UI based theme via a configuration parameter in globalConfig.json.
Currently, ucc-gen will use an hard encoded light mode, if the Add-on provides frontend components such as other dashboards and if these are using dark theme, then from a conception point of view the configuration UI looks a defect in the app.
And well, Dark theme is espicially fancy in React!
I am going to transfer this issue to UCC UI repository.
Actually, I just tried to swap light theme to the dark theme in the UCC UI repository, it was not beautiful at all, probably because of some custom CSS here and there.
We can return to this feature request after we clean up this repository.
This will become more and more requests once dark mode gets more adopted. It would be great if UCC-based apps would automatically adapt to the user-setting.
This functionality was added in v5.48.0 release (went out today), please check out the PR https://github.com/splunk/addonfactory-ucc-generator/pull/1257 and supported_themes
field in meta
(https://splunk.github.io/addonfactory-ucc-generator/metadata/).