Merge pull request 'main' (#16) from main into dev

Reviewed-on: https://codeberg.org/Freeplay/CSS-Styles/pulls/16
This commit is contained in:
Free 2021-10-17 03:14:30 +02:00
commit 7885b0940a

View file

@ -1,11 +1,9 @@
## 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.
| ![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)
|---|---|---|
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!**
**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
To install the theme for all Gitea users:
@ -21,10 +19,10 @@ To install the theme for all Gitea users:
### Usage with Stylus
If you use the Stylus browser extension, you can use the [`theme-gitea-modern.user.css`][usertheme-file] file to apply to any Gitea instance.
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
To make changes, always base them on [`theme-gitea-modern.styl`](theme-gitea-modern.styl), which is written for any CSS preprocessor that supports CSS nesting, like 'Stylus' (recommended) or 'Less'.
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.
[theme-file]: https://codeberg.org/Freeplay/CSS-Styles/raw/branch/main/Gitea/theme-gitea-modern.css