As of Grafana v6.5.3 (05025c5), custom CSS and backgrounds are not natively supported.
Custom backgrounds and CSS can be achieved via the plugin Boomtheme Panel
Although the developer's instructions state the panel options will appear under dashboards, for me they did not.
After I created a panel and went into the Vistualization section, I was able to select Boom Theme as a panel.
The Unassigned Tickets heading gradient and custom background was achieved with Boomtheme Panel.
-
Create a new panel and go straight into Choose Vistualization
-
Select Boom Theme
-
I don't like to hotlink images, so I loaded my custom images on my Grafana server (which will likely be wiped in future upgrades, fyi; if you do this, make sure you back it up prior to upgrading!) -- Go into your images directory; on a Windows install, it's
C:\Program Files\GrafanaLabs\grafana\public\img
and create a new directory in there, called custom -
Download the image you want to use as your background and place it in the custom directory
-
Back in the Boom Theme panel you created moments ago, delete the default hotlinked image and replace it with the public URL to your Grafana install. ie.
http://grafana.example.com:3000/public/img/custom/background.png
You should now have a styled background.
- Create a new panel, but select Text as the Vistualization
- Either do your own styled gradient here or use a generator
- Paste your code/text and select the Mode as
html
That's it.
This is a native function of Grafana:
As are the neon colors:
On the color pallete, click on the red circle to change the red color (for example) > Custom > move the dial until you find the color you like. Repeat for other color options.
These too, are via native capability. Create a new Text Panel, similarly to the Gradient Text setup.
Create a new html/markdown panel and simply call your image with Mode markdown
:
![Tux](http://grafana.example.com:3000/public/img/custom/tux.png)