feat: 更新splash和主题配置

This commit is contained in:
李东云
2023-03-20 22:24:33 +08:00
parent dda81b3490
commit 4378fcadbe
4 changed files with 83 additions and 5 deletions

View File

@@ -19,11 +19,9 @@ const _themes = <MaterialColor>[
/// 当调试模式打开时打印
///
void printWhenDebug(Object object) {
if (Global.debug) {
if (kDebugMode) {
print(object);
}
}
}
///
@@ -38,7 +36,6 @@ class Global {
static SharedPreferences? _prefs;
static Dio? dio;
static Map profile = {};
static bool debug = false;
///
/// 当前环境
///

View File

@@ -0,0 +1,7 @@
import 'package:flutter/material.dart';
ColorScheme colorScheme = const ColorScheme.dark(
primary: Color(0xFFD56937),
secondary: Color(0xFFC8C2B4),
background: Color(0xff384444),
);