35 lines
1.1 KiB
Markdown
35 lines
1.1 KiB
Markdown
# Description
|
|
|
|
[theme.park](https://docs.theme-park.dev/themes/gitea/#screenshots) is compilation of skins for different apps. It can be deployed in different ways. Here is how to get the themes into Gitea itself.
|
|
|
|
Theme Menu:
|
|

|
|
|
|
---
|
|
|
|
# Installation of theme.park
|
|
|
|
Click the little squares at the top right of the code window to quick and easy copy the code. Paste the code into your shell and thats it.
|
|
|
|
### Bare Metal Installation (Alpine LXC f.e.)
|
|
```bash
|
|
# Create the Template File
|
|
tee /usr/share/webapps/gitea/templates/custom/body_outer_pre.tmpl <<EOF
|
|
{{ if .IsSigned }}
|
|
{{ if and (ne .SignedUser.Theme "gitea") (ne .SignedUser.Theme "arc-green") }}
|
|
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{.SignedUser.Theme}}.css">
|
|
{{end}}
|
|
{{ else if and (ne DefaultTheme "gitea") (ne DefaultTheme "arc-green") }}
|
|
<link rel="stylesheet" href="https://theme-park.dev/css/base/gitea/{{DefaultTheme}}.css">
|
|
{{end}}
|
|
EOF
|
|
|
|
tee -a /etc/gitea/app.ini << EOF
|
|
|
|
[ui]
|
|
THEMES = aquamarine,arc-green,dark,dracula,gitea,hotline,hotpink,nord,onedark,organizr,overseerr,plex,space-gray
|
|
DEFAULT_THEME = gitea
|
|
EOF
|
|
|
|
service gitea restart
|
|
``` |