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/migrations
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
..
base Rename `Sync2` -> `Sync` (#26479) 11 months ago
fixtures Fix more yaml lint errors (#27284) 10 months ago
v1_6 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_7 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_8 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_9 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_10 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_11 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_12 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_13 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_14 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_15 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_16 Replace deprecated `elliptic.Marshal` (#26800) 10 months ago
v1_17 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_18 Refactor system setting (#27000) 9 months ago
v1_19 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_20 Rename `Sync2` -> `Sync` (#26479) 11 months ago
v1_21 Add Index to `action.user_id` (#27403) 9 months ago
v1_22 Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 9 months ago
migrations.go Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 9 months ago