Add catppuccin as gitea theme and make it standard

This commit is contained in:
Alex D. 2024-07-10 06:51:47 +00:00
parent feb2072657
commit fd2152fad3
Signed by: caskd
GPG Key ID: F92BA85F61F4C173
3 changed files with 41 additions and 4 deletions

View File

@ -3,10 +3,11 @@
. ../APKBUILD-config.template
pkgver=2024.05.29.01
pkgver=2024.07.10.01
pkgrel=0
depends="
redxen-data-gitea-theme
redxen-data-catppuccin
bash
"
# GITEA DEPENDS ON BASH FOR HOOKS, AAA
@ -37,6 +38,6 @@ package() {
}
sha512sums="
3225153cf88b776f809d06bcb669fa3ce588356dd549e345ff86ae811f1f751e67dc747d736090357a37c19c7b45bdd9db8674bcda14c9eb44c1bbe6b75340f4 redxen.ini
a44bf0eeeb839411808a0f73eca80d911fcd113a2f2b165db71c30ae425a672561abaf167fe294c0cfdabae813a5c781bbadeb2b4c0e3f7f2ba804ac411e345a redxen.ini
012d489c5d71864cda4b99ec16b3d6edbf83d18ea14d2104afe70e320937f4dd223572e384fba040cb3d43ced8ca7267e434756e4a1cd8bd41bb6f9092ad4b9d secret
"

View File

@ -38,8 +38,8 @@ USER = gitea
PASSWD = POSTGRESQL_GITEA_PASSWORD
[ui]
THEMES = gitea,arc-green
DEFAULT_THEME = arc-green
THEMES = auto,arc-green,catppuccin-mocha-red
DEFAULT_THEME = catppuccin-mocha-red
USE_SERVICE_WORKER = true
[ui.meta]

36
data/catppuccin/APKBUILD Normal file
View File

@ -0,0 +1,36 @@
# Contributor: Alex Denes <caskd@redxen.eu>
# Maintainer: Alex Denes <caskd@redxen.eu>
. ../APKBUILD-data.template
pkgver=0.4.1
pkgrel=0
makedepends="
deno
npm
"
url="https://gitea.catppuccin.com/catppuccin/gitea"
source="
$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz
"
_customroot="/usr/share/gitea/custom"
_rx_installdir="$_customroot/public/assets/css"
_rx_fperm=444 # Public, static resources
builddir="$srcdir/gitea"
prepare() {
default_prepare
mkdir -p node_modules
}
build() {
deno task build
}
package() {
rx_install dist/theme-catppuccin-mocha-red.css
}
sha512sums="
0f9e9946551109cab618778183a6d7f7a03792fe9533da9a7379b26c1727602b1f9b44d4d705ae96007a49bed340d516ce434dab98e6a69f38ebcfa121c038c6 redxen-data-catppuccin-0.4.1.tar.gz
"