mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 18:49:29 +02:00
Support selecting theme on the footer (#35741)
Fixes: https://github.com/go-gitea/gitea/pull/27576
This commit is contained in:
1 parent
cddff73bbd
commit
6b5563c54a
33 files changed
+254
-59
No files matched your search
@@ -34,4 +34,10 @@ gitea-theme-meta-info {
|
||||
--k2: real;
|
||||
}`)
|
||||
assert.Equal(t, map[string]string{"--k2": "real"}, m)
|
||||
|
||||
// compressed CSS, no trailing semicolon
|
||||
m = parseThemeMetaInfoToMap(`gitea-theme-meta-info{--k1:"v1"}`)
|
||||
assert.Equal(t, map[string]string{"--k1": "v1"}, m)
|
||||
m = parseThemeMetaInfoToMap(`gitea-theme-meta-info{--k1:"v1";--k2:"v2"}`)
|
||||
assert.Equal(t, map[string]string{"--k1": "v1", "--k2": "v2"}, m)
|
||||
}
|
||||
Reference in new issue
Block a user