This repository has been archived on 2024-07-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Gitea-Arc_blue-Theme/readme.md
2020-12-08 01:32:32 +01:00

1.6 KiB

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