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.
2021-04-15 12:42:07 +02:00
2021-04-15 12:42:07 +02:00
2020-12-08 01:15:33 +00:00
2021-04-15 12:42:07 +02:00

Forked version of arc-green theme for gitea

If editor is not displaying properly hit ctl+f5 and/or clear browser cache

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
mv /var/lib/gitea/custom/public/js /var/lib/gitea/custom/public/js.old
mv /var/lib/gitea/custom/public/css /var/lib/gitea/custom/public/css.old

Install

  • Download the repo to the opt directory
git clone https://git.bprieshof.nl/DarkTheme/Gitea-Arc_blue-Theme.git /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
systemctl restart gitea

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

  • cleanup if old version was installed
mv /var/lib/gitea/custom/public/css/theme-arc-green.css /var/lib/gitea/custom/public/css/theme-arc-green.css.old
  • 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
Description
No description provided
Readme 6.6 MiB
2021-08-29 18:56:54 +02:00
Languages
Less 99.7%
JavaScript 0.3%