raucao
December 14, 2018, 4:25pm
1
I found some less files for themes, e.g. https://github.com/go-gitea/gitea/blob/master/public/less/themes/arc-green.less
How would one add a custom theme (that’s ideally also being built like that using less)? Is there a convention for adding it to sth like custom/themes
perhaps?
azophy
January 28, 2019, 2:14am
2
I have not try it yet, but from what I’ve read on the documentation here https://docs.gitea.io/en-us/customizing-gitea/#other-additions-to-the-page , you could add custom css on the page header or just link another css file which could be put on custom/public/ directory (https://docs.gitea.io/en-us/customizing-gitea/#serving-custom-public-files ) . Hope that helps
raucao
January 28, 2019, 2:55am
3
Ah, so I would put a custom/public/css/theme-my-theme-name.css
then I guess? Worth a try.