feat: create demo
This commit is contained in:
commit
4df6be7411
69 files changed
+3054
No files matched your search
@@ -0,0 +1,36 @@
|
||||
import 'dart:ui';
|
||||
|
||||
class CommonColor {
|
||||
|
||||
// 主题色 #653CFA
|
||||
static const Color primacy = Color(0xFF653CFA);
|
||||
static const Color black = Color(0xFF030510);
|
||||
// grey
|
||||
static const Color grey = Color(0xFF8e8e93);
|
||||
static const Color goldColor = Color(0xFFc5a059);
|
||||
static const Color goldLight = Color(0xFFfde68a);
|
||||
static const Color goldDark = Color(0xFF92400e);
|
||||
static const Color secondaryColor = Color(0xFF9ca3af);
|
||||
|
||||
|
||||
static const Color fireRed = Color(0xFFf01d1d);
|
||||
static const Color woodGreen = Color(0xFF56a324);
|
||||
static const Color earthBrown = Color(0xFFcb8a46);
|
||||
static const Color waterBlue = Color(0xFF809597);
|
||||
static const Color metalSilver = Color(0xFFc0c0c0);
|
||||
// FAFAFA
|
||||
static const Color imgBgLight = Color(0xFFFAFAFA);
|
||||
|
||||
/// lineColor
|
||||
static const Color lineColor = Color(0xFFe5e7eb);
|
||||
static const Color bgColor = Color(0xFFEFEFEF);
|
||||
|
||||
static const Color diamondColor = Color(0xFFB9F2FF);
|
||||
|
||||
static Color withValue(String value) {
|
||||
String _v = value.replaceAll('#', '');
|
||||
String res = '0xff$_v';
|
||||
int valueInt = int.parse(res);
|
||||
return Color(valueInt);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
|
||||
class CommonString {
|
||||
|
||||
static const String token = "token";
|
||||
static const String account = "account";
|
||||
// lang
|
||||
static const String language = "lang";
|
||||
static const String languageIndex = "langIndex";
|
||||
}
|
||||
|
||||
|
||||
class CommonFont {
|
||||
static const String hellixLight = "HellixLight";
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user