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.
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>
1 year ago
..
alert.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2 years ago
alert_details.tmpl Enforce tab indentation in templates (#15289) 4 years ago
disable_form_autofill.tmpl Disable form autofill (#17291) 3 years ago
footer.tmpl Start using template context function (#26254) 2 years ago
footer_content.tmpl Fix more "locale" usages (#27259) 1 year ago
head.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
head_navbar.tmpl Fix more "locale" usages (#27259) 1 year ago
head_opengraph.tmpl Refactor `og:description` to limit the max length (#26876) 1 year ago
head_script.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
head_style.tmpl Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
modal_actions_confirm.tmpl cleanup locale function usage (#27227) 1 year ago
paginate.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago