ACE-IoT-Solutions / ace-svg-react

Grafana SVG Rendering Panel using the 7+ Plugin Framework
https://grafana.com/grafana/plugins/aceiot-svg-panel/
MIT License
41 stars 14 forks source link

Option to get currently loaded Grafana theme #33

Open miq28 opened 2 years ago

miq28 commented 2 years ago

Is there a way to get information about the currently loaded Grafana theme using this plugin?

I have looked at 'option' object but it seems this option is not available there.

I want to dynamically change the color of the line / path element based on currently loaded Grafana theme.

nicfv commented 6 months ago

I think there might be a way to achieve this! I'll look into it and keep you posted.