Customizable Gruvbox color scheme for Forgejo frontend.
Files
README.md

Forgejo Gruvbox #

Customizable Gruvbox color scheme for Forgejo frontend.

Install from GitHub

Preview

Installation #

Client-side (Stylus) #

  1. Install the Stylus extension for Chrome or Stylus for Firefox.
  2. Click the badge above to install directly from GitHub.
  3. Done -- updates are automatic.

Server-side Installation (Forgejo Admin) #

The theme can also be applied server-wide by Forgejo administrators using flat CSS files (no Stylus extension needed).

Option 1 -- Download pre-flattened files

Grab a forgejo-gruvbox-*.css file from the latest release on any of these remotes:

Option 2 -- Generate from source

Run flatten.sh to produce a flat CSS for a specific variant:

./flatten.sh forgejo-gruvbox.user.styl <variant> forgejo-gruvbox-<variant>.css

Available variants: light-soft, light, light-hard, dark-soft, dark, dark-hard.

For example:

./flatten.sh forgejo-gruvbox.user.styl dark-hard forgejo-gruvbox-dark-hard.css

The resulting CSS can be loaded server-side via Forgejo's custom header or CSS injection (app.ini [ui] CUSTOM_HEADER / CUSTOM_CSS), or placed in your instance's public/assets/ directory.

Source Code #

Contributions are accepted on any of the following remotes:

License #

CC BY-SA 4.0