revoltchat/themes

Add the possibility to add a 'media' folder containing graphics for the theme.

QazCetelic opened this issue · 3 comments

I use a few background images (copyleft-license). However, it currently requires hot-linking to an external third party service.
Adding a possibility to ship the graphics with the theme itself could solve this.

It's not ideal, however you can embed images within the css itself using Data URIs.

It's not ideal, however you can embed images within the css itself using Data URIs.

I have ended up uploading it to Revolt and then using the image link to prevent the CSS file from becoming 100KB+.

Files/media should be uploaded to Revolt, then linked to by the CSS - aside from anything, this prevents any CORS issues. As attribution isn't currently easy to include, please ensure any files are available under a permissive license ^^