Add Forgejo custom fonts

This commit is contained in:
Edgar P. Burkhart 2023-05-16 16:23:53 +02:00
parent 14ef3c9dcd
commit 9e0bfc242b
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
3 changed files with 22 additions and 1 deletions

8
src/Forgejo/.install.fish Executable file
View file

@ -0,0 +1,8 @@
#!/usr/bin/env fish
read -P "Install main config [yN] ? " inst
test $inst = "y"; and sudo install -o forgejo -g forgejo -m a=,u=rw -b -D app.ini /etc/forgejo/app.ini
sudo mkdir -p /var/lib/forgejo/custom
sudo cp -r custom/* /var/lib/forgejo/custom/
sudo chown -R forgejo:forgejo /var/lib/forgejo/custom/
sudo chmod -R a=,u=rwx /var/lib/forgejo/custom/

View file

@ -1,5 +1,7 @@
# Forgejo
<https://docs.gitea.io/en-us/administration/config-cheat-sheet/>
Install to `/etc/forgejo/app.ini`.
Install `app.ini` to `/etc/forgejo/app.ini`.
Fill in secrets.
Install `custom` to `/var/lib/forgejo/custom`.

View file

@ -0,0 +1,11 @@
<style>
@import url('https://free.bboxtype.com/embedfonts/?family=FiraGO:200,400,600');
@import url('https://free.bboxtype.com/embedfonts/?family=FiraMono:400,500,700');
:root {
--fonts-proportional: FiraGO, Fira Sans, sans-serif;
--fonts-monospace: Fira Mono, monospace;
--font-weight-bold: 600;
}
</style>