gitea/models
silverwind 023e937141
Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419)
Part of https://github.com/go-gitea/gitea/issues/27097:

- `gitea` theme is renamed to `gitea-light`
- `arc-green` theme is renamed to `gitea-dark`
- `auto` theme is renamed to `gitea-auto`

I put both themes in separate CSS files, removing all colors from the
base CSS. Existing users will be migrated to the new theme names. The
dark theme recolor will follow in a separate PR.

## ⚠️ BREAKING ⚠️

1. If there are existing custom themes with the names `gitea-light` or
`gitea-dark`, rename them before this upgrade and update the `theme`
column in the `user` table for each affected user.
2. The theme in `<html>` has moved from `class="theme-name"` to
`data-theme="name"`, existing customizations that depend on should be
updated.

---------

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2023-10-06 09:46:36 +02:00
..
actions Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 2023-09-27 05:37:48 +00:00
activities Add Index to `action.user_id` (#27403) 2023-10-03 21:41:25 -04:00
admin Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
asymkey make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
auth make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
avatars Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
db make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
dbfs make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
fixtures Test more templates for if they contain an error (#27367) 2023-10-02 07:56:55 +00:00
git More `db.DefaultContext` refactor (#27265) 2023-09-29 12:12:54 +00:00
issues Don't let API add 2 exclusive labels from same scope (#27433) 2023-10-05 03:37:36 +00:00
migrations Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
organization Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
packages make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
perm Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
project More `db.DefaultContext` refactor (#27265) 2023-09-29 12:12:54 +00:00
pull refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
repo Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
secret Refactor secrets modification logic (#26873) 2023-09-05 15:21:02 +00:00
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2023-05-12 08:43:27 +00:00
system Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
unit Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 2023-08-30 06:55:25 +00:00
unittest Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
user Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
webhook make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
error.go Sync branches into databases (#22743) 2023-06-29 10:03:20 +00:00
fixture_generation.go Fix yaml test (#27297) 2023-09-26 23:30:03 -04:00
fixture_test.go Fix yaml test (#27297) 2023-09-26 23:30:03 -04:00
main_test.go make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
org.go refactor some functions to support ctx as first parameter (#21878) 2022-12-03 10:48:26 +08:00
org_team.go Even more `db.DefaultContext` refactor (#27352) 2023-10-03 10:30:41 +00:00
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 2023-09-14 17:09:32 +00:00
org_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo.go Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
repo_test.go Implement FSFE REUSE for golang files (#21840) 2022-11-27 18:20:29 +00:00
repo_transfer.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 2023-09-16 14:39:12 +00:00