- CSS 81.8%
- SCSS 10.2%
- HTML 6.3%
- Shell 0.9%
- JavaScript 0.5%
- Other 0.3%
| assets | ||
| scripts | ||
| .gitignore | ||
| compose.yaml | ||
| footer.html | ||
| forgejo-base.css | ||
| index.html | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
gitpot / custom
This repository contains custom assets for Gitpot, including themes and the homepage.
Homepage
The Gitpot homepage is located in index.html. It loads the theme-gitpot-auto theme and a few basic Forgejo styles
to ease development, though these are removed at build time.
Building the homepage is done with make dist. This includes all assets and CSS themes, though it excludes Sass. See below for more information.
# build dist assets
make dist
# build dist assets to different directory
make DIST_DIR=/path/to/forgejo/custom dist
Themes
The themes that are available here at Gitpot, for you to choose from and apply!
Both the theme-gitpot-light and theme-gitpot-dark themes are built from Sass. The theme-gitpot-*.css files are the end result.
To be able to build these themes, you need to have Sass installed.
# install sass
pnpm i -g sass
# build themes into css
make sass
# build all dist assets
make all
A Docker Compose file with an example installation of Forgejo is available in this repository for testing the assets.
It's configured to point to dist/ as a custom directory.
Credits and License
This repo includes themes from following sources:
- Gitea Themes - Copyright (c) 2016 The Gitea Authors
- Forgejo Themes - Copyright (c) 2022 The Forgejo Authors
- Catppuccin Themes - Copyright (c) 2021 Catppuccin
Gitpot (theme-gitpot-*) themes and the homepage (index.html) are licensed under the MIT License.
See this repo's LICENSE for more details.
For other assets, check their respective project's repositories.