NicoTheme/README.md

27 lines
1.8 KiB
Markdown
Raw Normal View History

2022-08-04 22:33:44 -05:00
# Setup Theme
2022-08-04 22:45:35 -05:00
As of Gitea version **1.17.0**, create directories in your Gitea custom file path with this name: **/public/css/**. For example, if your **Custom File Path was** `/var/lib/gitea/custom`, you would add folders to reach this directory: `/var/lib/gitea/custom/public/css`. You can use `mkdir -p /var/lib/gitea/custom/public/css` in that case to make things easier for yourself.
You can find your custom Gitea file path by navigating to **Site Administration -> Config** and looking under **Custom File Root Path**.
2022-08-04 22:33:44 -05:00
Take both *theme-nico.css* and *nicofooter.png* and insert them in this folder.
## Enable Theme
Go to your **app.ini Configuration File** (again, look under the Config page for what this is) and open the **app.ini**. If your file does not have a **[ui]** heading, add the following somewhere in the file:
```bash
[ui]
DEFAULT_THEME = auto
THEMES = auto,gitea,arc-green,nico
```
By adding **nico** to the end of the list you can now select it when you go to your *Appearance* options list. If you want the nico theme to be the default theme, then change **auto** to **nico**
2022-08-04 22:56:53 -05:00
If the **THEMES** key is already present somewhere in your app.ini file, simply add nico to the list.
Once you've done that **restart your Gitea service** and you should see all the changes applied! Enjoy!
## What does it look like?
Well, you're looking at it. But just to be safe, here's some images:
2022-08-04 22:45:35 -05:00
2022-08-08 13:20:11 -05:00
![Home](http://sig.projectdivar.com/assets/Screenshot%20from%202022-08-04%2022-06-19.png)
![Viewing a Repo](http://sig.projectdivar.com/assets/Screenshot%20from%202022-08-04%2022-07-16.png)
![Profile Page](http://sig.projectdivar.com/assets/Screenshot%20from%202022-08-04%2022-07-24.png)
![Viewing File Contents](http://sig.projectdivar.com/assets/Screenshot%20from%202022-08-04%2022-07-32.png)