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