§Forgejo
This package ships three CSS themes in the theme/ folder:
theme-dracula.css— dark (Dracula)theme-alucard.css— light (Alucard)theme-draculalucard.css— auto (followsprefers-color-scheme; requires both Dracula and Alucard)
Gitea: These themes may work on Gitea instances, but they are developed and tested against Forgejo only.
§Install using Git
If you are a git user, you can install the theme and keep up to date by cloning the repo:
git clone https://github.com/dracula/forgejo.git
Copy the CSS files from theme/ into your instance's custom assets directory (see Activating theme below).
§Install manually
Download using the GitHub .zip download option, unzip it, and copy the files from the theme/ folder.
§Activating theme
-
Copy one or more theme files from
theme/into your Forgejo custom assets directory:custom/public/assets/css/Install every file you plan to use. If you want Draculalucard (auto), copy all three files — it imports
theme-dracula.cssandtheme-alucard.css. -
Edit your instance
app.iniand register the themes under[ui]:[ui] THEMES = dracula,alucard,draculalucard DEFAULT_THEME = draculalucardTheme names match the CSS filename without the
theme-prefix and.cssextension. -
Restart Forgejo so the new assets and configuration are loaded.
-
Open your instance, go to Settings → Appearance, and pick Dracula, Alucard, or Draculalucard.
Boom! It's working ✨
§Example deployment
For a full container-based setup that downloads and installs these themes, see forge.axfive.net:
download-themes.sh— download and install scriptContainerfile— image build with custom themesapp.ini— theme configuration example
