Custom font support


#1

How would we go about uploading and using a custom font?

I wanted to add lato per:

however it looks like I am in a CORS nightmare cause I would have to upload it to my own domain and give it CORS to rocket chat.


#2

Yeah right now you’d have to host externally somewhere and bring in via css override in layout. :frowning:


#3

Sounds like a nice idea! :slight_smile:

I think the proper way to go here would be to enable the Admin to upload those to https://your.rocket.chat/admin/Assets.

Then, one could reference it via /assets in the CSS-Layouts.

It would - in general - be nice, to be able to upload generic custom resources there, to reference them in CSS overrides and whatnot…

Cheers
Thomas