大鹅UI改版送礼物横幅文字的颜色
This commit is contained in:
@@ -15,10 +15,12 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
@interface ThemeColor : NSObject
|
||||
/// 主题色0xFFBC52
|
||||
+ (UIColor *)appMainColor;
|
||||
|
||||
///强调色 #248CFE
|
||||
+ (UIColor *)appEmphasizeColor;
|
||||
|
||||
///强调色1 0xBF36FF
|
||||
+ (UIColor *)appEmphasizeColor1;
|
||||
///强调色2 0xFB486A
|
||||
+ (UIColor *)appEmphasizeColor2;
|
||||
/* ------页面相关颜色 START------ */
|
||||
/// view的背景色 0xF4F4FA
|
||||
+ (UIColor *)appBackgroundColor;
|
||||
|
@@ -18,6 +18,16 @@
|
||||
return UIColorFromRGB(0x248CFE);
|
||||
}
|
||||
|
||||
///强调色1 0xBF36FF
|
||||
+ (UIColor *)appEmphasizeColor1 {
|
||||
return UIColorFromRGB(0xBF36FF);
|
||||
}
|
||||
|
||||
///强调色2 0xFB486A
|
||||
+ (UIColor *)appEmphasizeColor2 {
|
||||
return UIColorFromRGB(0xFB486A);
|
||||
}
|
||||
|
||||
/* ------页面相关颜色 START------ */
|
||||
/// view的背景色 0xF4F4FA
|
||||
+ (UIColor *)appBackgroundColor {
|
||||
|
@@ -120,7 +120,7 @@
|
||||
_coinLabel = [[UILabel alloc] init];
|
||||
_coinLabel.text = @"我的钻石";
|
||||
_coinLabel.font = [UIFont systemFontOfSize:13];
|
||||
_coinLabel.textColor = [ThemeColor mainTextColor];
|
||||
_coinLabel.textColor = [UIColor whiteColor];
|
||||
}
|
||||
return _coinLabel;
|
||||
}
|
||||
|
@@ -59,7 +59,7 @@
|
||||
- (UIButton *)backButton {
|
||||
if (!_backButton) {
|
||||
_backButton = [UIButton buttonWithType:UIButtonTypeCustom];
|
||||
[_backButton setImage:[UIImage imageNamed:@"common_nav_back"] forState:UIControlStateNormal];
|
||||
[_backButton setImage:[UIImage imageNamed:@"home_search_white_back"] forState:UIControlStateNormal];
|
||||
_backButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
|
||||
[_backButton addTarget:self action:@selector(backButtonAction:) forControlEvents:UIControlEventTouchUpInside];
|
||||
[_backButton setEnlargeEdgeWithTop:10 right:10 bottom:10 left:10];
|
||||
@@ -74,7 +74,7 @@
|
||||
_titleLabel.textAlignment = NSTextAlignmentCenter;
|
||||
_titleLabel.font = [UIFont systemFontOfSize:15];
|
||||
_titleLabel.text = @"账户";
|
||||
_titleLabel.textColor = [ThemeColor mainTextColor];
|
||||
_titleLabel.textColor = [UIColor whiteColor];
|
||||
}
|
||||
return _titleLabel;
|
||||
}
|
||||
|
@@ -78,7 +78,7 @@
|
||||
if (!_nickLabel) {
|
||||
_nickLabel = [[UILabel alloc] init];
|
||||
_nickLabel.font = [UIFont systemFontOfSize:12];
|
||||
_nickLabel.textColor = [ThemeColor mainTextColor];
|
||||
_nickLabel.textColor = [UIColor whiteColor];
|
||||
_nickLabel.textAlignment = NSTextAlignmentCenter;
|
||||
}
|
||||
return _nickLabel;
|
||||
@@ -326,7 +326,7 @@
|
||||
_sendLabel = [[UILabel alloc] init];
|
||||
_sendLabel.text = @"赠送";
|
||||
_sendLabel.font = [UIFont systemFontOfSize:12];
|
||||
_sendLabel.textColor = [ThemeColor mainTextColor];
|
||||
_sendLabel.textColor = [UIColor whiteColor];
|
||||
}
|
||||
return _sendLabel;
|
||||
}
|
||||
@@ -344,7 +344,7 @@
|
||||
if (!_giftCountLabel) {
|
||||
_giftCountLabel = [[UILabel alloc] init];
|
||||
_giftCountLabel.font = [UIFont systemFontOfSize:20.f weight:UIFontWeightBold];
|
||||
_giftCountLabel.textColor = [ThemeColor mainTextColor];
|
||||
_giftCountLabel.textColor = [ThemeColor animationGiftNumberColor];
|
||||
}
|
||||
return _giftCountLabel;
|
||||
}
|
||||
|
@@ -49,6 +49,9 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
+ (UIColor *)candyTreeNickColor;
|
||||
/// 糖果树的分割线颜色
|
||||
+ (UIColor *)candyTreeDividerColor;
|
||||
|
||||
///动画礼物个数的颜色 0xFFF226
|
||||
+ (UIColor *)animationGiftNumberColor;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
@@ -91,4 +91,9 @@
|
||||
+ (UIColor *)candyTreeNickColor {
|
||||
return UIColorFromRGB(0x333333);
|
||||
}
|
||||
|
||||
///动画礼物个数的颜色 0xFFF226
|
||||
+ (UIColor *)animationGiftNumberColor {
|
||||
return UIColorFromRGB(0xFFF226);
|
||||
}
|
||||
@end
|
||||
|
Reference in New Issue
Block a user