You need to put the .css file directly into the extra_theme folder. As for documentation and how to make them I didn't find much myself so I did some trial and error with another person's custom theme. I've got some commented stuff at the bottom of our instance's theme if that's of any help.
this post was submitted on 13 Aug 2024
5 points (100.0% liked)
Lemmy Support
4656 readers
15 users here now
Support / questions about Lemmy.
founded 5 years ago
MODERATORS
I tried putting all the css files, but nothing works. Should I put them together in one file? Or is each file a single theme?
I set the LEMMY_UI_EXTRA_THEMES_FOLDER
environment variable to /app/extra_themes
then volume my extra_theme
to it, which is
# ...
volumes:
- ./lemmy-ui/extra_themes:/app/extra_themes
# ...
Is this right?
That looks correct to me. Try doing a Ctrl+F5 on the theme selection page in settings for it to show up in the dropdown if you haven't done that.
Thanks Sami, it was a cache issue, I've updated the post with more details
I'll try that, hope it works, thank you