feat: 更新splash和主题配置
This commit is contained in:
@@ -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;
|
||||
///
|
||||
/// 当前环境
|
||||
///
|
||||
|
||||
7
lib/theme/dark/sunset.dart
Normal file
7
lib/theme/dark/sunset.dart
Normal file
@@ -0,0 +1,7 @@
|
||||
import 'package:flutter/material.dart';
|
||||
|
||||
ColorScheme colorScheme = const ColorScheme.dark(
|
||||
primary: Color(0xFFD56937),
|
||||
secondary: Color(0xFFC8C2B4),
|
||||
background: Color(0xff384444),
|
||||
);
|
||||
Reference in New Issue
Block a user