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>
2023-10-06 09:46:36 +02:00
..
actions
activities Add Index to action.user_id (#27403) 2023-10-03 21:41:25 -04:00
admin
asymkey
auth
avatars Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
db
dbfs
fixtures
git
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
perm Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
project
pull
repo Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
secret
shared/types
system Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
unit
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
error.go
fixture_generation.go
fixture_test.go
main_test.go
org.go
org_team.go Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
org_team_test.go
org_test.go
repo.go Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
repo_test.go
repo_transfer.go
repo_transfer_test.go