You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
actions Redefine the meaning of column is_active to make Actions Registration Token generation easier (#27143) 1 year ago
activities Add Index to `action.user_id` (#27403) 1 year ago
admin Next round of `db.DefaultContext` refactor (#27089) 1 year ago
asymkey make writing main test easier (#27270) 1 year ago
auth make writing main test easier (#27270) 1 year ago
avatars Refactor system setting (#27000) 1 year ago
db make writing main test easier (#27270) 1 year ago
dbfs make writing main test easier (#27270) 1 year ago
fixtures Test more templates for if they contain an error (#27367) 1 year ago
git More `db.DefaultContext` refactor (#27265) 1 year ago
issues Don't let API add 2 exclusive labels from same scope (#27433) 1 year ago
migrations Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
organization Even more `db.DefaultContext` refactor (#27352) 1 year ago
packages make writing main test easier (#27270) 1 year ago
perm Even more `db.DefaultContext` refactor (#27352) 1 year ago
project More `db.DefaultContext` refactor (#27265) 1 year ago
pull refactor some functions to support ctx as first parameter (#21878) 2 years ago
repo Even more `db.DefaultContext` refactor (#27352) 1 year ago
secret Refactor secrets modification logic (#26873) 1 year ago
shared/types Display owner of a runner as a tooltip instead of static text (#24377) 2 years ago
system Refactor system setting (#27000) 1 year ago
unit Use `Set[Type]` instead of `map[Type]bool/struct{}`. (#26804) 1 year ago
unittest Refactor system setting (#27000) 1 year ago
user Refactor system setting (#27000) 1 year ago
webhook make writing main test easier (#27270) 1 year ago
error.go Sync branches into databases (#22743) 2 years ago
fixture_generation.go Fix yaml test (#27297) 1 year ago
fixture_test.go Fix yaml test (#27297) 1 year ago
main_test.go make writing main test easier (#27270) 1 year ago
org.go refactor some functions to support ctx as first parameter (#21878) 2 years ago
org_team.go Even more `db.DefaultContext` refactor (#27352) 1 year ago
org_team_test.go Reduce usage of `db.DefaultContext` (#27073) 1 year ago
org_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo.go Refactor system setting (#27000) 1 year ago
repo_test.go Implement FSFE REUSE for golang files (#21840) 2 years ago
repo_transfer.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago
repo_transfer_test.go Next round of `db.DefaultContext` refactor (#27089) 1 year ago