Update 'Gitea/readme.md'

This commit is contained in:
Free 2021-11-07 19:09:53 +01:00
parent 6779956eb8
commit 50eb829e51

View file

@ -1,11 +1,11 @@
## Gitea Modern # Gitea Modern
This style changes the layout of Gitea, and uses Gitea's color variables. It can be used with any theme that changes only colors. Changes the layout of Gitea to give it a more modern look. Can be used with any other themes that change only colors!
| ![Gitea Modern Repository Page](https://codeberg.org/Freeplay/css-styles/raw/branch/main/images/codeberg-modern_repoPg.png) | ![Gitea Modern Explore Page](https://codeberg.org/Freeplay/css-styles/raw/branch/main/images/codeberg-modern_explorePg.png) | ![Gitea Modern Profile Page](https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/images/codeberg-modern_profilePg.png) | ![Gitea Modern Repository Page](https://codeberg.org/Freeplay/css-styles/raw/branch/main/images/codeberg-modern_repoPg.png) | ![Gitea Modern Explore Page](https://codeberg.org/Freeplay/css-styles/raw/branch/main/images/codeberg-modern_explorePg.png) | ![Gitea Modern Profile Page](https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/images/codeberg-modern_profilePg.png)
|---|---|---| |---|---|---|
**Note:** The [Stylus browser extension](https://add0n.com/stylus.html) and [Stylus preprocessor](https://stylus-lang.com/) are two different things. **Note:** The [Stylus browser extension](https://add0n.com/stylus.html) and [Stylus preprocessor](https://stylus-lang.com/) are two different things.
### Usage as Gitea theme ### Usage as a Gitea theme, [or use the Stylus browser extension to apply to any instance](https://userstyles.world/style/529)
To install the theme for all Gitea users: To install the theme for all Gitea users:
0. Make sure you're on the latest version of Gitea! (Working 1.15) 0. Make sure you're on the latest version of Gitea! (Working 1.15)
@ -18,10 +18,6 @@ To install the theme for all Gitea users:
3. Restart Gitea 3. Restart Gitea
4. Enjoy :) 4. Enjoy :)
### Usage with Stylus
If you use the [Stylus browser extension](https://add0n.com/stylus.html), you can use the [`theme-gitea-modern.user.css`][usertheme-file] file to apply to any Gitea instance.
### Contributing ### Contributing
To make changes, always base them on [`theme-gitea-modern.styl`](theme-gitea-modern.styl), which requires the [Stylus preprocessor](https://stylus-lang.com/). To make changes, always base them on [`theme-gitea-modern.styl`](theme-gitea-modern.styl), which requires the [Stylus preprocessor](https://stylus-lang.com/).
When making contributions, don't use the compiled version for your changes. When making contributions, don't use the compiled version for your changes.