@font-face { font-family: 'Maple Mono NF'; src: url('/assets/fonts/MapleMonoNerd.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'Jost Book'; src: url('/assets/fonts/Jost-400-Book.otf') format('opentype'); font-weight: normal; font-style: normal; font-display: swap; } /* import base Forgejo theme so we only override what we need */ @import "./theme-forgejo-auto.css"; :root { /* prefer the Maple Mono Nerd Font for monospace usage */ --fonts-monospace: 'Maple Mono NF' !important; --fonts-proportional: 'Jost Book' !important; } /* If some odd reason the themes are not appluing even after rebuild, try the following sudo systemd-tmpfiles --create --remove --exclude-prefix=/dev sudo systemctl restart forgejo TODO: Investigate the inconsistencies, see header.tmpl as a workaround. */