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.
https://www.neteye-blog.com/2017/12/how-to-customize-your-grafana-theme/

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.