addonfactory-ucc-generator icon indicating copy to clipboard operation
addonfactory-ucc-generator copied to clipboard

Feature request: Switch to enterprise dark theme via globalConfig.json

Open guilhemmarchand opened this issue 3 years ago • 3 comments

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!

guilhemmarchand avatar Jul 13 '21 10:07 guilhemmarchand

I am going to transfer this issue to UCC UI repository.

ghost avatar Jul 13 '21 11:07 ghost

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.

artemrys avatar Aug 05 '22 21:08 artemrys

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.

dfederschmidt avatar Aug 11 '23 11:08 dfederschmidt

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/).

artemrys avatar Jul 10 '24 11:07 artemrys