forge: replace forgejo logo with hyperhive mark (closes #143)

This commit is contained in:
damocles 2026-05-21 17:45:48 +02:00 committed by Mara
parent ca2f98017b
commit 615928453d
2 changed files with 15 additions and 0 deletions

10
nix/forge-theme/logo.svg Normal file
View file

@ -0,0 +1,10 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32">
<!-- hexagon backdrop — Catppuccin Mocha base -->
<polygon points="16,1 28.7,8.5 28.7,23.5 16,31 3.3,23.5 3.3,8.5"
fill="#1e1e2e" stroke="#cba6f7" stroke-width="1.5"/>
<!-- lightning bolt — mauve fill, cyan accent on upper half -->
<polygon points="19,5 11,17 16,17 10,27 21,15 16,15"
fill="#cba6f7"/>
<polygon points="19,5 11,17 16,17 21,5"
fill="#89dceb"/>
</svg>

After

Width:  |  Height:  |  Size: 497 B

View file

@ -119,6 +119,11 @@ in
mkdir -p $out/public/assets/css mkdir -p $out/public/assets/css
cp ${../forge-theme/theme-catppuccin-vibec0re.css} \ cp ${../forge-theme/theme-catppuccin-vibec0re.css} \
$out/public/assets/css/theme-catppuccin-vibec0re.css $out/public/assets/css/theme-catppuccin-vibec0re.css
# Replace the default Forgejo logo + favicon with the hyperhive
# mark. Files in public/assets/img/ are served before built-ins.
mkdir -p $out/public/assets/img
cp ${../forge-theme/logo.svg} $out/public/assets/img/logo.svg
cp ${../forge-theme/logo.svg} $out/public/assets/img/favicon.svg
''; '';
in in
{ {