Change the font attributes in the legend of pie chart panel

Hi there,
Can we change the font size or font color in the legend of pie chart panel?

I found the following link but it says to change the sass files.

I am looking for a solution whether it can be done in grafana dashboard as an option to change those attributes.

If anyone has any insight into this, it would be much appreciated.