VolkovLabs / volkovlabs-dynamictext-panel

Business Text Panel for @grafana
https://docs.volkovlabs.io
Apache License 2.0
78 stars 14 forks source link

Variables in CSS styles editor #181

Closed evenckus closed 1 year ago

evenckus commented 1 year ago

Hi, is it possible to use Grafana dashboard variables in CSS styles editor? If not, It would be a nice-to-have feature.

mikhail-vl commented 1 year ago

@evenckus Dashboard variables are not supported in the CSS Styles Editor.

I am curious, what do you want to use variables for?

It should not be a problem to add it.

evenckus commented 1 year ago

@mikhail-vl Having variables support in CSS Styles Editor would let us customize the background colors or any other style properties. For example, we have query variables that use custom datasources from different brands, so it would be nice to have an option to change the styling based on what branding each datasource has.