I just used the tool linked here in the documentation to create a Bootstrap theme, but I can’t find the folder they’re referencing. I’ve used Ansible to install Lemmy, which is working fine, but I’m not really sure how to handle themes as a result. Do I place them somewhere in my Ansible stuff, or is there that directory somewhere on the server? I found the Docker /volumes/ folder, but the directory names were random strings and not labeled like they supposedly are at the link above.
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
This worked. Thanks! Turns out my bootstrap style looked like shit, but at least I know where to put things!
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 anextra_themes
folder by default.For native installation (without Docker), themes are loaded by
lemmy-ui
from./extra_themes
folder. 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 thelemmy-ui
service.