gitea-custom/README.md

1.3 KiB
Raw Blame History

zeldon Gitea theme

Theme for zeldon's gitea server.

Preview

repository

Usage

  1. Clone repo and build project
  2. Place the templates and public folder in your $GITEA_CUSTOM directory.
  3. Append the themes in your app.ini file:
[ui]
THEMES=dark # light theme not supported
DEFAULT_THEME=dark # optional

💡 You can change the names of the themes by changing the name of the theme files in public/css/theme-{name}.css and in the app.ini file, accordingly.

  1. Restart gitea.

Credits

Development

build

$ npm install
$ npm run build

serve

$ npm run serve -- --server path/to/gitea/custom

# e.g.

# on linux
$ npm run serve -- --server ~/gitea/custom
# on windows
$ npm run serve -- -- --server c:/gitea/custom

Contributing

Feel free to open an issue or a pull request. Contributions are welcome!