pat-s 9237f02532 Align hover color with static color (#119)
Currently the hover colors are some kind of different green that does not play well with the main green color.

This PR should align the hover color with the static one. Imo there is no need for a different hover color - and having none simplifies things a bit.

The change of `tertiary` aligns the blue used with the blue color used in the gitea light theme (e.g. on gitea.com here).

Co-authored-by: pat-s <patrick.schratz@gmail.com>
Reviewed-on: https://gitea.com/gitea/theme/pulls/119
Reviewed-by: John Olheiser <john+gitea@jolheiser.com>
Reviewed-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: pat-s <pat-s@noreply.gitea.io>
Co-committed-by: pat-s <pat-s@noreply.gitea.io>
2023-01-21 10:41:45 +08:00
2016-12-12 13:44:42 +01:00
2022-11-30 21:30:57 +08:00
2023-01-04 14:05:48 -05:00
2023-01-05 21:15:05 -05:00
2022-04-12 23:13:59 +08:00
2022-10-03 22:50:50 +08:00
2018-01-03 15:06:56 +02:00
2019-12-07 22:10:31 +00:00
2019-12-07 22:10:31 +00:00
2021-09-13 01:08:33 +08:00
2016-12-12 13:44:42 +01:00

Gitea: Theme

Build Status Join the chat at https://img.shields.io/discord/322538954119184384.svg

This is a Hugo theme that gets used within all of our websites like our blog, documentation and also the redirects. If you commit any changes to the master branch it will trigger rebuilds of all the related websites.

Install

You need an existing Hugo website, than you can just download our prebuilt theme, put it into your themes/gitea folder and enable the theme with the theme = "gitea" option of your website.

Development

We choose npm to fetch our dependencies and gulp for the pipeline. We won't cover the installation of nodejs or npm, for that you can find enough guides depending on your operating system. First of all you have to install the required dependencies:

npm install

If you want to do theme development we suggest to use the watch task we have defined to get the changes directly built after saving changes to a file:

npm run watch

Whenever you make a change to src/main.scss and save the file, this will trigger a rebuild of static/styles/main.css. To see a preview of your changes on the website, do the following:

  1. Go to gitea.io
  2. Open the developer tools
  3. Click the "Sources" tab
  4. Open the gitea.io/styles/main.css file
  5. Paste the entire main.css file from your local gitea/theme repo where npm run watch is running on

When you are done with your changes just create a pull request, after merging the pull request the theme will be published to our download page automatically.

Contributing

Fork -> Patch -> Push -> Pull Request

Authors

License

This project is under the Apache-2.0 License. See the LICENSE file for the full license text.

Copyright (c) 2019 The Gitea Authors <https://gitea.io>
Description
Gitea: Theme
Readme 1.4 MiB
Languages
HTML 74.1%
SCSS 21.4%
JavaScript 4.5%