1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 15:14:24 +00:00
gitea/templates/base
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
..
alert_details.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
alert.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer_content.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
footer.tmpl Start using template context function (#26254) 2023-08-08 01:22:47 +00:00
head_navbar.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
head_opengraph.tmpl Refactor og:description to limit the max length (#26876) 2023-09-03 01:43:29 +00:00
head_script.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
head_style.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
head.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
modal_actions_confirm.tmpl cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
paginate.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00