No description
  • CSS 93.9%
  • Shell 6.1%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-10-03 23:06:17 +02:00
docs docs: Convert style guide to markdown with theme implementation notes 2026-10-03 23:06:17 +02:00
fonts feat: Add learnit paper theme with self-hosted fonts and container example 2026-10-03 22:53:53 +02:00
.gitignore feat: Replace compose example with run.sh podman script 2026-10-03 22:56:30 +02:00
README.md feat: Replace compose example with run.sh podman script 2026-10-03 22:56:30 +02:00
run.sh feat: Replace compose example with run.sh podman script 2026-10-03 22:56:30 +02:00
theme-learnit.css fix: Make text, icons and buttons light on dark header strips 2026-10-03 23:02:15 +02:00

Forgejo learnit theme

A single warm-paper light theme for Forgejo, built from the tokens in docs/style-guide.html. It imports the stock theme-forgejo-light.css and overrides its CSS variables, so it needs little maintenance across Forgejo upgrades (variable names verified against Forgejo 16.0.5).

Install (container)

  1. Run ./run.sh (or mount theme-learnit.css and the fonts/ directory (as learnit-fonts) into custom/public/assets/css/, see run.sh).
  2. Set FORGEJO__ui__THEMES=learnit and FORGEJO__ui__DEFAULT_THEME=learnit (or [ui] THEMES / DEFAULT_THEME in app.ini).
  3. Restart Forgejo.

Fonts

Cantarell and JetBrains Mono are self-hosted as woff2 (SIL OFL), no external requests.

After a Forgejo upgrade

Diff the new /assets/css/theme-forgejo-light.css variable names against the ones set in theme-learnit.css.