add theme: Terminal Green, Amber CRT, Lain dark, Nanoha dark
This commit is contained in:
1 parent
97970cf105
commit
c1bc8f0c03
8 files changed
+96
-2
No files matched your search
@@ -167,7 +167,7 @@ func (s *Server) handleConfig(
|
||||
|
||||
if v := strings.TrimSpace(r.FormValue("theme")); v != "" {
|
||||
switch v {
|
||||
case "dark", "light", "monokai", "solarized-dark", "solarized-light":
|
||||
case "dark", "light", "monokai", "solarized-dark", "solarized-light", "terminal-green", "amber-crt", "lain-dark", "nanoha-dark":
|
||||
theme = v
|
||||
default:
|
||||
http.Error(w, "invalid theme", http.StatusBadRequest)
|
||||
|
||||
Reference in new issue
Block a user