A userstyle that applies GitHub's dark theme colors to Forgejo instances
Find a file
Markus Unterwaditzer efad6cf1f8
All checks were successful
Lint CSS / lint (push) Successful in 3s
add copy of gplv3
2026-05-17 22:10:54 +02:00
.forgejo/workflows init 2026-05-16 21:55:14 +02:00
LICENSE add copy of gplv3 2026-05-17 22:10:54 +02:00
README.md update readme 2026-05-16 22:12:16 +02:00
style.user.css switch out license 2026-05-17 22:10:36 +02:00

Forgejo GitHub Theme

A userstyle that applies GitHub's dark theme colors to Forgejo instances (including Codeberg).

Theme is based on forgejo-dark, with all colors replaced with colors from GitHub.

Light mode is not supported right now.

Installation

  1. For now, set the theme in Forgejo to gitea-dark, other combinations have not been tested with this style. It's known that the Codeberg theme interferes.
  2. Install the Stylus browser extension
  3. Click here to install the style

Configuration

Edit the @-moz-document rule at the top of the style to match your Forgejo instance URLs.

Development

Format CSS before committing:

npx prettier --write style.user.css