|
@@ -52,6 +52,7 @@ class AppColorsTheme extends ThemeExtension<AppColorsTheme> {
|
|
final Color authFiledBG; //输入框默认的背景颜色
|
|
final Color authFiledBG; //输入框默认的背景颜色
|
|
final Color textPrimary; //主题色文本
|
|
final Color textPrimary; //主题色文本
|
|
final Color textBlack; //黑色文本
|
|
final Color textBlack; //黑色文本
|
|
|
|
+ final Color textWhite; // 白色文本
|
|
final Color textDarkGray; //深灰色 666 文本
|
|
final Color textDarkGray; //深灰色 666 文本
|
|
final Color orangeBG; //按钮的橙色背景
|
|
final Color orangeBG; //按钮的橙色背景
|
|
final Color tabBgSelectedPrimary; //Tab的选中主题色背景
|
|
final Color tabBgSelectedPrimary; //Tab的选中主题色背景
|
|
@@ -87,6 +88,7 @@ class AppColorsTheme extends ThemeExtension<AppColorsTheme> {
|
|
required this.authFiledBG,
|
|
required this.authFiledBG,
|
|
required this.textPrimary,
|
|
required this.textPrimary,
|
|
required this.textBlack,
|
|
required this.textBlack,
|
|
|
|
+ required this.textWhite,
|
|
required this.textDarkGray,
|
|
required this.textDarkGray,
|
|
required this.orangeBG,
|
|
required this.orangeBG,
|
|
required this.tabBgSelectedPrimary,
|
|
required this.tabBgSelectedPrimary,
|
|
@@ -124,6 +126,7 @@ class AppColorsTheme extends ThemeExtension<AppColorsTheme> {
|
|
authFiledBG: _colorF2F2F2,
|
|
authFiledBG: _colorF2F2F2,
|
|
textPrimary: _colorPrimary,
|
|
textPrimary: _colorPrimary,
|
|
textBlack: Colors.black,
|
|
textBlack: Colors.black,
|
|
|
|
+ textWhite: Colors.white,
|
|
textDarkGray: color666666,
|
|
textDarkGray: color666666,
|
|
orangeBG: _colorFE6C00,
|
|
orangeBG: _colorFE6C00,
|
|
tabBgSelectedPrimary: _colorPrimary,
|
|
tabBgSelectedPrimary: _colorPrimary,
|
|
@@ -162,6 +165,7 @@ class AppColorsTheme extends ThemeExtension<AppColorsTheme> {
|
|
authFiledBG: _darkBlackItem,
|
|
authFiledBG: _darkBlackItem,
|
|
textPrimary: Colors.white,
|
|
textPrimary: Colors.white,
|
|
textBlack: Colors.white,
|
|
textBlack: Colors.white,
|
|
|
|
+ textWhite: Colors.black,
|
|
textDarkGray: Colors.white,
|
|
textDarkGray: Colors.white,
|
|
orangeBG: _darkBlackItem,
|
|
orangeBG: _darkBlackItem,
|
|
tabBgSelectedPrimary: Colors.white,
|
|
tabBgSelectedPrimary: Colors.white,
|
|
@@ -209,6 +213,7 @@ class AppColorsTheme extends ThemeExtension<AppColorsTheme> {
|
|
authFiledBG: Color.lerp(authFiledBG, other.authFiledBG, t)!,
|
|
authFiledBG: Color.lerp(authFiledBG, other.authFiledBG, t)!,
|
|
textPrimary: Color.lerp(textPrimary, other.textPrimary, t)!,
|
|
textPrimary: Color.lerp(textPrimary, other.textPrimary, t)!,
|
|
textBlack: Color.lerp(textBlack, other.textBlack, t)!,
|
|
textBlack: Color.lerp(textBlack, other.textBlack, t)!,
|
|
|
|
+ textWhite: Color.lerp(textWhite, other.textWhite, t)!,
|
|
textDarkGray: Color.lerp(textDarkGray, other.textDarkGray, t)!,
|
|
textDarkGray: Color.lerp(textDarkGray, other.textDarkGray, t)!,
|
|
orangeBG: Color.lerp(orangeBG, other.orangeBG, t)!,
|
|
orangeBG: Color.lerp(orangeBG, other.orangeBG, t)!,
|
|
tabBgSelectedPrimary: Color.lerp(tabBgSelectedPrimary, other.tabBgSelectedPrimary, t)!,
|
|
tabBgSelectedPrimary: Color.lerp(tabBgSelectedPrimary, other.tabBgSelectedPrimary, t)!,
|