1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-09-30 08:11:33 +02:00
gitea/modules
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
..
actions
activitypub make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
analyze
assetfs
auth
avatar
base
cache
charset
container
context Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
contexttest
csv
doctor Even more db.DefaultContext refactor (#27352) 2023-10-03 10:30:41 +00:00
emoji
eventsource More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
generate
git Remove redundant len check around loop (#27464) 2023-10-06 14:49:37 +08:00
gitgraph More db.DefaultContext refactor (#27265) 2023-09-29 12:12:54 +00:00
graceful
hcaptcha
highlight
hostmatcher
html
httpcache
httplib
indexer make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
issue/template
json
label
lfs
log
markup
mcaptcha
metrics
migration
nosql
options
packages
paginator
pprof
private
process
proxy
proxyprotocol
public
queue Document the queue item's marshaling behavior (#27271) 2023-09-26 13:58:57 +08:00
recaptcha
references
regexplru
repository Refactor system setting (#27000) 2023-10-05 09:08:19 +08:00
secret
session
setting Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
sitemap
ssh
storage
structs Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) 2023-09-24 19:02:47 +00:00
svg
sync
system make writing main test easier (#27270) 2023-09-28 01:38:53 +00:00
templates Rename the default themes to gitea-light, gitea-dark, gitea-auto (#27419) 2023-10-06 09:46:36 +02:00
test
testlogger
timeutil
translation
turnstile
typesniffer
updatechecker
upload
uri
user
util
validation
web Remove some dead code (#27196) 2023-09-22 23:30:31 +08:00
webhook