[Gitea Modern] Styles I've made that can be added to platforms themselves. View UserStyles list: https://codeberg.org/Freeplay/UserStyles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Free 3ec09c9c3a Update 'Gitea/readme.md' 3 weeks ago
..
readme.md Update 'Gitea/readme.md' 3 weeks ago
theme-gitea-modern.css 1.0.7 3 weeks ago
theme-gitea-modern.styl 1.0.7 - Forms should now be fixed. I hope. 3 weeks ago
theme-gitea-modern.user.css 1.0.7 3 weeks ago

readme.md

Gitea Modern

Gitea Modern Repository Page Gitea Modern Explore Page Gitea Modern Profile Page

This style changes the layout of Gitea, and uses Gitea's color variables. It can be used with any theme that changes only colors.

Disclaimer

I don't know if everything is properly polished, and the style is still being worked on. If you find an issue with the style, please create an issue. Or if you can fix an issue yourself, create a pull request!

Usage as Gitea theme

To install the theme for all Gitea users:

  1. 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
  1. 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 of app.ini to gitea-modern

    • To make a theme selectable by users in their profile settings, append ,gitea-modern to the list of THEMES in your app.ini.

  2. Restart Gitea
  3. Enjoy :)

Usage with Stylus

If you use the Stylus browser extension, you can use the theme-gitea-modern.user.css file to apply to any Gitea instance.

Note: The Stylus browser extension and Stylus preprocessor are two different things.

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.