mirror of https://github.com/go-gitea/gitea.git
Update services/webtheme/webtheme.go
This commit is contained in:
parent
8e26e6ba8c
commit
bdda329b6f
|
@ -34,7 +34,7 @@ type ThemeMetaInfo struct {
|
|||
IsDarkTheme bool
|
||||
}
|
||||
|
||||
// extract CSS vars from CSS, taking the last occurence in a file to support combined themes like "auto"
|
||||
// extract CSS vars from CSS, taking the last occurrence in a file to support combined themes like "auto"
|
||||
func parseThemeMetaInfoToMap(cssContent string) map[string]string {
|
||||
m := map[string]string{}
|
||||
|
||||
|
|
Loading…
Reference in New Issue