Hi, I am new to Grafana and has been assigned a task, I am trying to change the theme of grafana, by default there are only 3 themes available ( default, light, dark ) , I am trying to figure out what changes can I make in the helm chart so that i can add 2 more colors into the theme, what I can see from the the prometheus.json file are these values :
what else should i check and how should i add 2 more new colors into the background when selecting Ui theme from Preferences in the admin console of grafana.
Hello @aqeelahmednz, welcome to the world of absolutely nonsensual developers and their crazy, half-done ideas…
Id highly advise you to leave Grafana aside and forget. Why? Developers (Team) lives in Matrix; their software is buggy as hell and the deeper you will dive in, the more you gonna realize how Im true. And the more crital you get, the more restrictions @torkel and his “friends” from dev-team will impose on your account.
Just to see for yourself what Im talking about: I advice you read my topics. And decide what you gonna do…either stay and become more & more frustrated, or leave and enjoy life…
AFAIK its not so easy thing to add custom styling. Grafana uses SASS instead of CSS (I know, I know, SASS compiles to CSS), but there is no support for static CSS within Grafana…
Your code looks OK, but is useless in Grafana… Rewrite it in SASS and than place your file in /public/sass subdir. Everything in this folder gets compiled at buildtime of Grafana and is parsed again on every Grafana job is started (either manually by you or automatically (by cron for instance).
I found two things for this: this and this (also linked from the first one)
that would be helpful, but normally using K8s which uses Helm charts by default uses 3 themes, what if i can send you the config file where these configurations are stored in json, would that help.
awesome , but one query ,normaly in the k8s environment, if the pod get restarted which then comes up with a new configuration , means the above plugin will be deleted :(…and then I again have to reconfigure and SSH into the pod…
not a stupid question mate, its a valid question , the pods are not consistent , so most of the time they restarted or even if get deleted ( come up with a new config ) …