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
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
..
admin Refactor system setting (#27000) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
code Fix more "locale" usages (#27259) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Fix more "locale" usages (#27259) 1 year ago
explore Fix more "locale" usages (#27259) 1 year ago
mail Update team invitation email link (#26550) 1 year ago
org Use flex-container for repo and org settings (#27418) 1 year ago
package Cargo package - Fix missing domain in cargo sparse url (#27370) 1 year ago
projects More `db.DefaultContext` refactor (#27265) 1 year ago
repo Fix pr template (#27436) 1 year ago
shared Fix yet another `ctx` template bug (#27417) 1 year ago
status Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 1 year ago
swagger Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago
user Fix missing ctx for GetRepoLink in dashboard (#27372) 1 year ago
webhook Extract common code to new template (#26933) 1 year ago
home.tmpl Fix more "locale" usages (#27259) 1 year ago
install.tmpl Fix more "locale" usages (#27259) 1 year ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 1 year ago