From 17653546b81742ce2370d7c239cac52a2deb8e3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Kr=C3=BCger?= Date: Sat, 15 Nov 2025 11:56:23 +0100 Subject: [PATCH] fix: reorganize Gitea customizations to proper directory structure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move themes to dev/custom/public/assets/css/ (correct Gitea custom path) - Add custom favicon.svg and logo.svg to dev/custom/public/assets/img/ - Update volume mount to use /data/gitea/custom instead of incorrect path - Follows Gitea customization documentation structure 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- dev/compose.yaml | 2 +- dev/{themes => custom/public/assets/css}/theme-edge-auto.css | 0 dev/{themes => custom/public/assets/css}/theme-edge-dark.css | 0 dev/{themes => custom/public/assets/css}/theme-edge-light.css | 0 .../public/assets/css}/theme-everforest-auto.css | 0 .../public/assets/css}/theme-everforest-dark.css | 0 .../public/assets/css}/theme-everforest-light.css | 0 .../public/assets/css}/theme-gruvbox-auto.css | 0 .../public/assets/css}/theme-gruvbox-dark.css | 0 .../public/assets/css}/theme-gruvbox-light.css | 0 .../public/assets/css}/theme-gruvbox-material-auto.css | 0 .../public/assets/css}/theme-gruvbox-material-dark.css | 0 .../public/assets/css}/theme-gruvbox-material-light.css | 0 dev/{themes => custom/public/assets/css}/theme-nord.css | 0 dev/{themes => custom/public/assets/css}/theme-palenight.css | 0 dev/{themes => custom/public/assets/css}/theme-soft-era.css | 0 .../public/assets/css}/theme-sonokai-andromeda.css | 0 .../public/assets/css}/theme-sonokai-atlantis.css | 0 .../public/assets/css}/theme-sonokai-espresso.css | 0 .../public/assets/css}/theme-sonokai-maia.css | 0 .../public/assets/css}/theme-sonokai-shusia.css | 0 dev/{themes => custom/public/assets/css}/theme-sonokai.css | 0 dev/custom/public/assets/img/favicon.svg | 3 +++ dev/custom/public/assets/img/logo.svg | 3 +++ 24 files changed, 7 insertions(+), 1 deletion(-) rename dev/{themes => custom/public/assets/css}/theme-edge-auto.css (100%) rename dev/{themes => custom/public/assets/css}/theme-edge-dark.css (100%) rename dev/{themes => custom/public/assets/css}/theme-edge-light.css (100%) rename dev/{themes => custom/public/assets/css}/theme-everforest-auto.css (100%) rename dev/{themes => custom/public/assets/css}/theme-everforest-dark.css (100%) rename dev/{themes => custom/public/assets/css}/theme-everforest-light.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-auto.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-dark.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-light.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-material-auto.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-material-dark.css (100%) rename dev/{themes => custom/public/assets/css}/theme-gruvbox-material-light.css (100%) rename dev/{themes => custom/public/assets/css}/theme-nord.css (100%) rename dev/{themes => custom/public/assets/css}/theme-palenight.css (100%) rename dev/{themes => custom/public/assets/css}/theme-soft-era.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai-andromeda.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai-atlantis.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai-espresso.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai-maia.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai-shusia.css (100%) rename dev/{themes => custom/public/assets/css}/theme-sonokai.css (100%) create mode 100644 dev/custom/public/assets/img/favicon.svg create mode 100644 dev/custom/public/assets/img/logo.svg diff --git a/dev/compose.yaml b/dev/compose.yaml index 7b9f792..0b9a798 100644 --- a/dev/compose.yaml +++ b/dev/compose.yaml @@ -11,7 +11,7 @@ services: - gitea_config:/etc/gitea - /etc/timezone:/etc/timezone:ro - /etc/localtime:/etc/localtime:ro - - ./dev/themes:/data/gitea/public/assets/css:ro + - ./dev/custom:/data/gitea/custom:ro environment: TZ: ${TIMEZONE:-Europe/Berlin} USER_UID: 1000 diff --git a/dev/themes/theme-edge-auto.css b/dev/custom/public/assets/css/theme-edge-auto.css similarity index 100% rename from dev/themes/theme-edge-auto.css rename to dev/custom/public/assets/css/theme-edge-auto.css diff --git a/dev/themes/theme-edge-dark.css b/dev/custom/public/assets/css/theme-edge-dark.css similarity index 100% rename from dev/themes/theme-edge-dark.css rename to dev/custom/public/assets/css/theme-edge-dark.css diff --git a/dev/themes/theme-edge-light.css b/dev/custom/public/assets/css/theme-edge-light.css similarity index 100% rename from dev/themes/theme-edge-light.css rename to dev/custom/public/assets/css/theme-edge-light.css diff --git a/dev/themes/theme-everforest-auto.css b/dev/custom/public/assets/css/theme-everforest-auto.css similarity index 100% rename from dev/themes/theme-everforest-auto.css rename to dev/custom/public/assets/css/theme-everforest-auto.css diff --git a/dev/themes/theme-everforest-dark.css b/dev/custom/public/assets/css/theme-everforest-dark.css similarity index 100% rename from dev/themes/theme-everforest-dark.css rename to dev/custom/public/assets/css/theme-everforest-dark.css diff --git a/dev/themes/theme-everforest-light.css b/dev/custom/public/assets/css/theme-everforest-light.css similarity index 100% rename from dev/themes/theme-everforest-light.css rename to dev/custom/public/assets/css/theme-everforest-light.css diff --git a/dev/themes/theme-gruvbox-auto.css b/dev/custom/public/assets/css/theme-gruvbox-auto.css similarity index 100% rename from dev/themes/theme-gruvbox-auto.css rename to dev/custom/public/assets/css/theme-gruvbox-auto.css diff --git a/dev/themes/theme-gruvbox-dark.css b/dev/custom/public/assets/css/theme-gruvbox-dark.css similarity index 100% rename from dev/themes/theme-gruvbox-dark.css rename to dev/custom/public/assets/css/theme-gruvbox-dark.css diff --git a/dev/themes/theme-gruvbox-light.css b/dev/custom/public/assets/css/theme-gruvbox-light.css similarity index 100% rename from dev/themes/theme-gruvbox-light.css rename to dev/custom/public/assets/css/theme-gruvbox-light.css diff --git a/dev/themes/theme-gruvbox-material-auto.css b/dev/custom/public/assets/css/theme-gruvbox-material-auto.css similarity index 100% rename from dev/themes/theme-gruvbox-material-auto.css rename to dev/custom/public/assets/css/theme-gruvbox-material-auto.css diff --git a/dev/themes/theme-gruvbox-material-dark.css b/dev/custom/public/assets/css/theme-gruvbox-material-dark.css similarity index 100% rename from dev/themes/theme-gruvbox-material-dark.css rename to dev/custom/public/assets/css/theme-gruvbox-material-dark.css diff --git a/dev/themes/theme-gruvbox-material-light.css b/dev/custom/public/assets/css/theme-gruvbox-material-light.css similarity index 100% rename from dev/themes/theme-gruvbox-material-light.css rename to dev/custom/public/assets/css/theme-gruvbox-material-light.css diff --git a/dev/themes/theme-nord.css b/dev/custom/public/assets/css/theme-nord.css similarity index 100% rename from dev/themes/theme-nord.css rename to dev/custom/public/assets/css/theme-nord.css diff --git a/dev/themes/theme-palenight.css b/dev/custom/public/assets/css/theme-palenight.css similarity index 100% rename from dev/themes/theme-palenight.css rename to dev/custom/public/assets/css/theme-palenight.css diff --git a/dev/themes/theme-soft-era.css b/dev/custom/public/assets/css/theme-soft-era.css similarity index 100% rename from dev/themes/theme-soft-era.css rename to dev/custom/public/assets/css/theme-soft-era.css diff --git a/dev/themes/theme-sonokai-andromeda.css b/dev/custom/public/assets/css/theme-sonokai-andromeda.css similarity index 100% rename from dev/themes/theme-sonokai-andromeda.css rename to dev/custom/public/assets/css/theme-sonokai-andromeda.css diff --git a/dev/themes/theme-sonokai-atlantis.css b/dev/custom/public/assets/css/theme-sonokai-atlantis.css similarity index 100% rename from dev/themes/theme-sonokai-atlantis.css rename to dev/custom/public/assets/css/theme-sonokai-atlantis.css diff --git a/dev/themes/theme-sonokai-espresso.css b/dev/custom/public/assets/css/theme-sonokai-espresso.css similarity index 100% rename from dev/themes/theme-sonokai-espresso.css rename to dev/custom/public/assets/css/theme-sonokai-espresso.css diff --git a/dev/themes/theme-sonokai-maia.css b/dev/custom/public/assets/css/theme-sonokai-maia.css similarity index 100% rename from dev/themes/theme-sonokai-maia.css rename to dev/custom/public/assets/css/theme-sonokai-maia.css diff --git a/dev/themes/theme-sonokai-shusia.css b/dev/custom/public/assets/css/theme-sonokai-shusia.css similarity index 100% rename from dev/themes/theme-sonokai-shusia.css rename to dev/custom/public/assets/css/theme-sonokai-shusia.css diff --git a/dev/themes/theme-sonokai.css b/dev/custom/public/assets/css/theme-sonokai.css similarity index 100% rename from dev/themes/theme-sonokai.css rename to dev/custom/public/assets/css/theme-sonokai.css diff --git a/dev/custom/public/assets/img/favicon.svg b/dev/custom/public/assets/img/favicon.svg new file mode 100644 index 0000000..284333a --- /dev/null +++ b/dev/custom/public/assets/img/favicon.svg @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/dev/custom/public/assets/img/logo.svg b/dev/custom/public/assets/img/logo.svg new file mode 100644 index 0000000..284333a --- /dev/null +++ b/dev/custom/public/assets/img/logo.svg @@ -0,0 +1,3 @@ + \ No newline at end of file