forked from mirrors/Gitea-Modern
9dce4268c2
- Screw table. Literaly any other display property is my new best friend. - Mobile fixes! - Fixed dashboard when JS is disabled. - Moved Pfp's inside of comments. Mostly for compatability on mobile, but it's fine on desktop, too. |
||
---|---|---|
.. | ||
LICENSE | ||
readme.md | ||
theme-gitea-modern.css | ||
theme-gitea-modern.styl | ||
theme-gitea-modern.user.css |
Gitea Modern
Changes the layout of Gitea to give it a more modern look. Can be used with any other themes that change only colors!
Note: The Stylus browser extension and Stylus preprocessor are two different things.
Usage as a Gitea theme, or use the Stylus browser extension to apply to any instance
To install the theme for all Gitea users:
- Make sure you're on the latest version of Gitea! (Working 1.17)
- Download the
theme-gitea-modern.css
file and add it to your custom folder in$GITEA_CUSTOM/public/css/
(learn how to find that directory).
- The path has changed in Gitea 1.15, there the file needs to be placed in
$GITEA_CUSTOM/public/assets/css
- Adapt your
app.ini
to make it the default theme or be user-selectable:-
To change the default theme, change the value of
DEFAULT_THEME
in the ui section ofapp.ini
togitea-modern
-
To make a theme selectable by users in their profile settings, append
,gitea-modern
to the list ofTHEMES
in yourapp.ini
.
-
- Restart Gitea
- Enjoy :)
Contributing
To make changes, always base them on theme-gitea-modern.styl
, which requires the Stylus preprocessor.
When making contributions, don't use the compiled version for your changes.