Custom Gitea Themes

From D-Wiki

Custom Gitea Themes

Prerequisites

Have Gitea installed in either way on your system. (Even Docker is possible.)

Setup

Download the .css file of your theme of your theme you wanna use. Look up the "Custom File Root Path" inside the "Configuration" of the "Site Administration" panel. Go to that file path inside your Gitea directory. (Or your Gitea Folder containing Config stuff from Docker.) Inside that folder create the subfolder structure public/css and put your theme css file in there.

Then from your Gitea base directory that you've got available go to /conf/app.ini and open that file. If there is no according section then add one but add the corresponding section to this file. (Or add your theme to that list if you've got it already there.)

THEMES = gitea,YOUR_THEME
DEFAULT_THEME = YOUR_THEME

Restart Gitea and you can then select your new theme via your profile account settings.