Creating a plugin that adds a custom CSS bundle

This is now done per:

https://github.com/discourse/mattermost-css-hacks

image

We much prefer Lato over the current font, we find it very hard to read, additionally we stripped off some elements we do not like.

I have some feedback on the plugin interface though:

  • Part of my “build” process creates a new id for the plugin, I do this cause you cache the bundle js on the client forever, my workaround feels absolutely terrible

  • It would be awesome if custom css was a bit easier to amend

  • It would be nice if you could specify a textarea in plugin settings

  • It would be nice if there was a flag that allowed you to ship said setting to the client

3 Likes