headlamp-k8s / headlamp

A Kubernetes web UI that is fully-featured, user-friendly and extensible
https://headlamp.dev
Apache License 2.0
2.22k stars 156 forks source link

Change Theme #2150

Open pedroosorio opened 3 months ago

pedroosorio commented 3 months ago

Hi !

Just wondering if it is possible to change the theme (colors) from a plugin ?

Thank you !

illume commented 3 months ago

Hello.

We don't have an API for it, and I don't think anyone has tried it yet. (We have an example plugin to change the logo, and that's about it)

It may be possible via the Mui library. But you'd need to keep track that the colors are all ok if they are changed inside Headlamp too, or if new UI is made.

cheers,

ps. There was a request to be able to change some colours in this issue too https://github.com/headlamp-k8s/headlamp/issues/1401 So there's at least two people who want to do this.

pedroosorio commented 3 months ago

It would complete the "branding" capabilities :)

joaquimrocha commented 3 months ago

Indeed we want to add support for new themes, like we already do for the logos.

SegFault02 commented 3 months ago

Hello.

We don't have an API for it, and I don't think anyone has tried it yet. (We have an example plugin to change the logo, and that's about it)

It may be possible via the Mui library. But you'd need to keep track that the colors are all ok if they are changed inside Headlamp too, or if new UI is made.

cheers,

ps. There was a request to be able to change some colours in this issue too #1401 So there's at least two people who want to do this.

one more :D