feat: implement dark mode

This commit is contained in:
Steven
2023-09-23 01:09:45 +08:00
parent 07e0bb2d4c
commit 3488cd04c0
28 changed files with 286 additions and 220 deletions

View File

@ -186,6 +186,8 @@ func convertUserSettingLocaleFromString(s string) storepb.LocaleUserSetting {
func convertUserSettingColorThemeFromString(s string) storepb.ColorThemeUserSetting {
switch s {
case "COLOR_THEME_USER_SETTING_SYSTEM":
return storepb.ColorThemeUserSetting_COLOR_THEME_USER_SETTING_SYSTEM
case "COLOR_THEME_USER_SETTING_LIGHT":
return storepb.ColorThemeUserSetting_COLOR_THEME_USER_SETTING_LIGHT
case "COLOR_THEME_USER_SETTING_DARK":