If you followed the guide to use Ansible, there should be a 'extra_themes' folder where you put the css file.
For example, my install is in: /srv/lemmy/feddiverse.org/volumes/lemmy-ui/extra_themes
If you followed the guide to use Ansible, there should be a 'extra_themes' folder where you put the css file.
For example, my install is in: /srv/lemmy/feddiverse.org/volumes/lemmy-ui/extra_themes
According to the docs, there should be a lemmy-ui folder that was created by the Ansible install. Within that folder, the app is set up to search for an extra_themes folder by default.
For native installation (without Docker), themes are loaded by
lemmy-uifrom./extra_themesfolder. A different path can be specified with LEMMY_UI_EXTRA_THEMES_FOLDER environment variable.
Digging into the docker-compose.yml file used by the Ansible playbook, it looks like this is where extra themes directory is mapped into the lemmy-ui service.
That /app/ prefix was an annoyance to figure out when I was trying to get this working the other day. It's not super clear without digging into the docker. I didn't think to check ansible repo.
That env variable isn't really useful currently as there's a bug with where they build the full path differently in two spots. If you use it you'll probably experience themes showing up in the list but giving you the default theme when you try using it.
It should be within /volumes (a few level deeper down) That's where it was for me. Try /srv/lemmy/your.domain/volumes
top 5 comments