feat(users): add theme to preferences

This commit is contained in:
hexxa 2022-03-19 16:41:21 +08:00 committed by Hexxa
parent 916520bed1
commit 01e07273a6
3 changed files with 2 additions and 0 deletions

View file

@ -43,6 +43,7 @@ type Preferences struct {
CSSURL string `json:"cssURL"`
LanPackURL string `json:"lanPackURL"`
Lan string `json:"lan"`
Theme string `json:"theme"`
}
type User struct {

View file

@ -44,6 +44,7 @@ var (
CSSURL: "",
LanPackURL: "",
Lan: "en_US",
Theme: "light",
}
)

Binary file not shown.