1014 B
1014 B
css
GitHub-style themes for Gitea — light and dark, matching GitHub's typography, spacing and color tokens.
Themes
| File | Description |
|---|---|
css/theme-light.css |
GitHub Light — for prefers-color-scheme: light |
css/theme-dark.css |
GitHub Dark — for prefers-color-scheme: dark |
css/theme-auto.css |
Switches between the two automatically based on system preference |
Installation
- Copy the files from
css/into your Gitea instance'scustom/public/assets/css/directory (or wherever your Gitea deployment serves custom CSS from). - Reference
theme-auto.css(ortheme-light.css/theme-dark.cssdirectly) from your Gitea custom template, or set it as a selectable theme inapp.ini. - Restart Gitea, or reload the page, to pick up the new styles.
License
Use and adapt freely.
