The plugin API exposes a number of CSS properties to give the font, background color, size, etc. Is it not sufficient for plugins?

In any case, please don't fetch files in the profile directory, as it's likely to make your plugin break at some point as there's no guarantee that the profile structure will stay as it is.

In fact I will perhaps disable access to profileDir and a few other setting variables as giving access is going to prevent further improvements to the app, since it won't be possible to change it anymore.