Opinionated GitHub-based light and dark themes for Gitea
Find a file
2021-11-11 11:59:00 +01:00
figs update dark screenshots 2021-10-05 09:43:07 +03:00
.gitignore add gitignore 2021-08-29 11:24:54 +02:00
LICENSE Initial commit 2021-08-29 11:01:44 +02:00
README.md format readme table 2021-10-05 09:44:49 +03:00
theme-github-dark.css dark: reverse timline icons and adjust green colors in PRs 2021-11-11 11:59:00 +01:00
theme-github.css light & dark: adjust ui.sha.label padding 2021-09-20 12:25:01 +02:00

gitea-github-theme

Opinionated GitHub-based light and dark themes for Gitea

Created and tested with Gitea v1.15. The theme might work with future versions though Gitea devs might change some CSS classes in the meantime and things might potentially look odd - just try yourself :)

I might update the theme over time to fix oversights and other issues - no guarantee though.

Installation

  1. If you do not have admin access to a Gitea instance, you can use the Stylus browser extension and use the CSS provided in this repo for the Gitea URL
  2. If you are an admin and want to make this theme available to all users:
    1. Put theme-github.css into $GITEA_PUBLIC/public/css/theme-github.css where $GITEA_PUBLIC is the "CustomPath" of your instance reported by gitea help.
    2. Add github to the comma-separated list in the setting THEMES in app.ini
    3. Now users can select this theme in their settings under "account"
    4. (optional) If you want to make this theme the default of your instance, set it in DEFAULT_THEME in app.ini

Changes to default Gitea theme

  • Aligned primary green, grey, red and blue colors with GitHub
  • Aligned border-radius with GitHub
  • Related theme by removing a lot of hover colors and dominant button background-colors
  • Aligned markup background to GitHub's value

Screenshots