Inital commit for v1.13.0

This commit is contained in:
Gitea
2020-12-08 01:32:32 +01:00
commit c5158918c4
87 changed files with 6239 additions and 0 deletions

63
readme.md Normal file
View File

@@ -0,0 +1,63 @@
# Forked version of arc-green theme for gitea
# Install arc-blue theme
gitea is setup as a sevice as described in `https://docs.gitea.io/en-us/install-from-binary/`
## Adding as new theme
### Prepare
Create /public/css/ in the custom directory for gitea (default: /var/lib/gitea/custom/)
```
mkdir -p /var/lib/gitea/custom/public/css/ /opt/gitea_blue-theme
```
Remove old custom css/js
rm -rf /opt/gitea_blue-theme/custom_public_bin/js
rm -rf /opt/gitea_blue-theme/custom_public_bin/css
### Install
* Download the repo to the opt directory
```
git clone https://git.bprieshof.nl/DarkTheme/Gitea-Arc_blue-Theme.git mkir /opt/gitea_blue-theme/
```
* Link custom files to gitea installation
```
ln -sfn /opt/gitea_blue-theme/custom_public_bin/css /var/lib/gitea/custom/public/css
ln -sfn /opt/gitea_blue-theme/custom_public_bin/js /var/lib/gitea/custom/public/js
```
* add to gitea config file `/etc/gitea/app.ini` to enable the theme
```
[ui]
THEMES = gitea,arc-green,arc-blue
```
### Finalize
* Restart gitea
```
systemctl restart gitea
```
### Update
```
cd /opt/gitea_blue-theme
git pull
```
---
## Overwriting existing arc-green
### Prepare
* create /public/css/ in the custom directory for gitea (default: /var/lib/gitea/custom/)
```
mkdir -p /var/lib/gitea/custom/public/css/
```
### Install
* Download the blue theme to the custom directory
```
wget https://git.bprieshof.nl/DarkTheme/Gitea-Arc_blue-Theme/custom_public_bin/css/theme-arc-blue.css -O /var/lib/gitea/custom/public/css/theme-arc-green.css
```
### Finalize
* Restart gitea
```
systemctl restart gitea
```