58 lines
1.3 KiB
Markdown
58 lines
1.3 KiB
Markdown
<h1 align="center">
|
||
<code>zeldon</code> › <a href="https://gitea.io">Gitea</a> theme
|
||
</h1>
|
||
|
||
_Theme for `zeldon's` gitea server._
|
||
|
||
## Preview
|
||
|
||

|
||
|
||
## 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:
|
||
|
||
```ini
|
||
[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.
|
||
|
||
4. Restart `gitea`.
|
||
|
||
## Credits
|
||
|
||
- [`catppuccin/gitea`](https://github.com/catppuccin/gitea), these themes are based on them.
|
||
- [`Blender's Bthree Dark`](https://projects.blender.org/infrastructure/gitea-custom), base color scheme and templates.
|
||
- [`lucas-labs/gitea-lugit-theme`](https://github.com/lucas-labs/gitea-lugit-theme), direct codebase fork.
|
||
|
||
## Development
|
||
|
||
### build
|
||
|
||
```bash
|
||
$ npm install
|
||
$ npm run build
|
||
```
|
||
|
||
### serve
|
||
|
||
```bash
|
||
$ 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!
|