Merge pull request 'Update readme to mention theme path in Gitea 1.16' (#33) from normandy/Gitea-Modern:normandy-patch-1 into main

Reviewed-on: https://codeberg.org/Freeplay/Gitea-Modern/pulls/33
This commit is contained in:
Free 2022-07-08 00:34:16 +02:00
commit 2fe4273c82

View file

@ -11,6 +11,7 @@ To install the theme for all Gitea users:
0. Make sure you're on the latest version of Gitea! 0. Make sure you're on the latest version of Gitea!
1. Download the [`theme-gitea-modern.css` file][theme-file] and add it to your custom folder in `$GITEA_CUSTOM/public/css/` ([learn how to find that directory][doc-dir]). 1. Download the [`theme-gitea-modern.css` file][theme-file] and add it to your custom folder in `$GITEA_CUSTOM/public/css/` ([learn how to find that directory][doc-dir]).
- The path has changed in Gitea 1.15, there the file needs to be placed in `$GITEA_CUSTOM/public/assets/css` - The path has changed in Gitea 1.15, there the file needs to be placed in `$GITEA_CUSTOM/public/assets/css`
- Gitea 1.16 uses the old path at `$GITEA_CUSTOM/public/css/`
2. Adapt your `app.ini` to make it the default theme or be user-selectable: 2. Adapt your `app.ini` to make it the default theme or be user-selectable:
- To change the default theme, change the value of `DEFAULT_THEME` in the [ui section][doc-config] of `app.ini` to `gitea-modern` - To change the default theme, change the value of `DEFAULT_THEME` in the [ui section][doc-config] of `app.ini` to `gitea-modern`