This commit is contained in:
NewTab
2022-01-21 21:06:49 +08:00
parent 104cb6cd54
commit 7903977b29
3 changed files with 8 additions and 5 deletions

View File

@@ -9,13 +9,15 @@ import 'package:qinglong_app/utils/codeeditor_theme.dart';
import 'package:qinglong_app/utils/sp_utils.dart';
var themeProvider = ChangeNotifierProvider((ref) => ThemeViewModel());
Color _primaryColor = const Color(0xFF299343);
const commonColor = Color(0xFF299343);
Color _primaryColor = commonColor;
class ThemeViewModel extends ChangeNotifier {
late ThemeData currentTheme;
bool _isInDarkMode = false;
Color primaryColor = const Color(0xFF299343);
Color primaryColor = commonColor;
ThemeColors themeColor = LightThemeColors();