feat: add color theme user setting definition

This commit is contained in:
steven
2023-09-05 23:48:32 +08:00
parent 7348f47ef8
commit b50e809125
16 changed files with 545 additions and 128 deletions

View File

@ -34,6 +34,14 @@ message UserSetting {
}
// locale is the user locale.
Locale locale = 2;
enum ColorTheme {
COLOR_THEME_UNSPECIFIED = 0;
COLOR_THEME_LIGHT = 1;
COLOR_THEME_DARK = 2;
}
// color_theme is the user color theme.
ColorTheme color_theme = 3;
}
message GetUserSettingRequest {