feat(theme): align custom themes with Gitea 1.27

Import upstream Gitea light and dark themes so new defaults and syntax styles remain compatible across upgrades. Replace the custom navbar template with CSS-based logo overrides and remove redundant Chroma and CodeMirror assets.

Add theme color-scheme metadata, correct relative asset paths, apply CSP nonces to analytics scripts, and document installation, compatibility, upgrade, and licensing requirements.
This commit is contained in:
cole-maxwell1
2026-09-07 16:24:29 -05:00
parent 1532ef27be
commit 0483209214
12 changed files with 76 additions and 551 deletions
+2 -3
View File
@@ -1,7 +1,6 @@
<!-- Privacy-friendly analytics by Plausible -->
<script async src="https://plausible.colemaxwell.dev/js/pa-IVfYDjRQ-05CMcATP0ha3.js"></script>
<script>
<script nonce="{{ctx.CspScriptNonce}}" async src="https://plausible.colemaxwell.dev/js/pa-IVfYDjRQ-05CMcATP0ha3.js"></script>
<script nonce="{{ctx.CspScriptNonce}}">
window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};
plausible.init()
</script>