6ca673dd974fc166d7ef161020df1ea1d1f18596
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
Released into the public domain under CC0 1.0 Universal — see the LICENSE file. You may use, modify and redistribute the themes for any purpose, including commercial Gitea instances, without asking or giving credit.
The color values follow GitHub's Primer design tokens, © GitHub Inc., also MIT-licensed. This project is not affiliated with or endorsed by GitHub or Gitea.
Languages
CSS
100%
