新增毛玻璃主题

This commit is contained in:
DelLevin-Home
2026-08-12 22:28:33 +08:00
parent be3299a0b3
commit ad6ab51afd
78 changed files with 672 additions and 237 deletions

View File

@@ -54,7 +54,7 @@ class UserPrefs {
// ========== 应用设置 ==========
/// 主题模式: 0=跟随系统, 1=浅色, 2=深色
/// 主题模式: 0=跟随系统, 1=浅色, 2=深色, 3=毛玻璃
int get themeMode => prefs.getInt('themeMode') ?? 0;
Future<bool> setThemeMode(int value) => prefs.setInt('themeMode', value);