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

@ -37,8 +37,9 @@ message UserSetting {
enum ColorTheme {
COLOR_THEME_UNSPECIFIED = 0;
COLOR_THEME_LIGHT = 1;
COLOR_THEME_DARK = 2;
COLOR_THEME_SYSTEM = 1;
COLOR_THEME_LIGHT = 2;
COLOR_THEME_DARK = 3;
}
// color_theme is the user color theme.
ColorTheme color_theme = 3;