0
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2025-02-19 01:00:19 +01:00
forgejo/modules/setting
silverwind 023e937141
Rename the default themes to gitea-light, gitea-dark, gitea-auto ()
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
..
config
actions.go
actions_test.go Restrict [actions].DEFAULT_ACTIONS_URL to only github or self () 2023-06-30 07:26:36 +00:00
admin.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
api.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
asset_dynamic.go
asset_static.go Use a general approach to access custom/static/builtin assets () 2023-04-12 18:16:45 +08:00
attachment.go
attachment_test.go Fix all possible setting error related storages and added some tests () 2023-06-14 11:42:38 +08:00
cache.go
camo.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
config.go
config_env.go
config_env_test.go
config_provider.go Remove redundant len check around loop () 2023-10-06 14:49:37 +08:00
config_provider_test.go Fix INI parsing for value with trailing slash () 2023-09-10 16:15:51 +00:00
cors.go
cron.go Replace interface{} with any () 2023-07-04 18:36:08 +00:00
cron_test.go
database.go
database_sqlite.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
database_test.go Implement FSFE REUSE for golang files () 2022-11-27 18:20:29 +00:00
federation.go
git.go
git_test.go Use [git.config] for reflog cleaning up () 2023-05-28 01:07:14 +00:00
highlight.go
i18n.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
incoming_email.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
indexer.go
indexer_test.go
lfs.go
lfs_test.go Display deprecated warning in admin panel pages as well as in the log file () 2023-07-26 03:53:37 +00:00
log.go
log_test.go
mailer.go
mailer_test.go Remove unnecessary code () 2023-05-10 04:57:06 +00:00
markup.go
metrics.go
migrations.go
mime_type_map.go Refactor the setting to make unit test easier () 2023-02-20 00:12:01 +08:00
mirror.go
oauth2.go
other.go
packages.go Avoid creating directories when loading config () 2023-07-18 07:32:36 -05:00
packages_test.go
path.go
path_test.go
picture.go Fix all possible setting error related storages and added some tests () 2023-06-14 11:42:38 +08:00
project.go
proxy.go
queue.go
repository.go
repository_archive.go Fix all possible setting error related storages and added some tests () 2023-06-14 11:42:38 +08:00
repository_archive_test.go Fix all possible setting error related storages and added some tests () 2023-06-14 11:42:38 +08:00
security.go
server.go
service.go Add reverseproxy auth for API back with default disabled () 2023-09-07 08:31:46 +00:00
service_test.go
session.go Use secure cookie for HTTPS sites () 2023-09-11 17:03:51 +08:00
setting.go
setting_test.go
ssh.go Expanded minimum RSA Keylength to 3072 () 2023-08-28 00:53:16 +00:00
storage.go
storage_test.go Fix storage path logic especially for relative paths () 2023-08-13 22:09:25 +02:00
task.go handle deprecated settings () 2023-02-20 16:18:26 -06:00
time.go
ui.go
webhook.go