@@ -65,7 +65,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
65
65
}
66
66
if (!_contentLabel) {
67
67
_contentLabel = [UILabel new ];
68
- _contentLabel.textColor = kColor222 ;
68
+ _contentLabel.textColor = kColorDark3 ;
69
69
_contentLabel.font = kProjectTaskListViewCell_ContentFont ;
70
70
[self .contentView addSubview: _contentLabel];
71
71
}
@@ -76,13 +76,13 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
76
76
if (!_numLabel) {
77
77
_numLabel = [UILabel new ];
78
78
_numLabel.font = [UIFont systemFontOfSize: 10 ];
79
- _numLabel.textColor = kColor222 ;
79
+ _numLabel.textColor = kColorDark7 ;
80
80
[self .contentView addSubview: _numLabel];
81
81
}
82
82
if (!_userNameLabel) {
83
83
_userNameLabel = [UILabel new ];
84
84
_userNameLabel.font = [UIFont systemFontOfSize: 10 ];
85
- _userNameLabel.textColor = kColor666 ;
85
+ _userNameLabel.textColor = kColorDark7 ;
86
86
[self .contentView addSubview: _userNameLabel];
87
87
}
88
88
if (!_timeClockIconView) {
@@ -93,7 +93,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
93
93
if (!_timeLabel) {
94
94
_timeLabel = [UILabel new ];
95
95
_timeLabel.font = [UIFont systemFontOfSize: 10 ];
96
- _timeLabel.textColor = kColor999 ;
96
+ _timeLabel.textColor = kColorDark7 ;
97
97
[self .contentView addSubview: _timeLabel];
98
98
}
99
99
if (!_commentIconView) {
@@ -104,7 +104,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
104
104
if (!_commentCountLabel) {
105
105
_commentCountLabel = [UILabel new ];
106
106
_commentCountLabel.font = [UIFont systemFontOfSize: 10 ];
107
- _commentCountLabel.textColor = kColor999 ;
107
+ _commentCountLabel.textColor = kColorDark7 ;
108
108
[self .contentView addSubview: _commentCountLabel];
109
109
}
110
110
if (!_mdIconView) {
@@ -115,7 +115,7 @@ - (id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reus
115
115
if (!_mdLabel) {
116
116
_mdLabel = [UILabel new ];
117
117
_mdLabel.font = [UIFont systemFontOfSize: 10 ];
118
- _mdLabel.textColor = kColor999 ;
118
+ _mdLabel.textColor = kColorDark7 ;
119
119
_mdLabel.text = @" 描述" ;
120
120
[self .contentView addSubview: _mdLabel];
121
121
}
@@ -203,7 +203,8 @@ - (void)layoutSubviews{
203
203
[_checkView setImage: [UIImage imageNamed: _task.status.integerValue == 1 ? @" checkbox_unchecked" : @" checkbox_checked" ]];
204
204
[_userIconView sd_setImageWithURL: [_task.owner.avatar urlImageWithCodePathResize: 2 *kProjectTaskListViewCell_UserIconWidth ] placeholderImage: kPlaceholderMonkeyRoundWidth (kProjectTaskListViewCell_UserIconWidth )];
205
205
[_taskPriorityView setImage: [UIImage imageNamed: [NSString stringWithFormat: @" taskPriority%@ _small" , _task.priority.stringValue]]];
206
- _contentLabel.textColor = [UIColor colorWithHexString: _task.status.integerValue == 1 ? @" 0x222222" : @" 0x999999" ];
206
+ _contentLabel.textColor = _task.status .integerValue == 1 ? kColorDark3 : kColorDarkA ;
207
+ // [UIColor colorWithHexString:_task.status.integerValue == 1? @"0x222222" : @"0x999999"];
207
208
_contentLabel.text = [_task.content stringByTrimmingCharactersInSet: [NSCharacterSet whitespaceAndNewlineCharacterSet ]];
208
209
// Tags
209
210
if (_task.deadline_date || _task.labels .count > 0 ) {
@@ -301,7 +302,7 @@ - (ProjectTagLabel *)p_getLabelWithIndex:(NSInteger)index{
301
302
302
303
- (void )p_makeMoreStyleWithTagLabel : (ProjectTagLabel *)tagLabel {
303
304
tagLabel.layer .backgroundColor = [UIColor clearColor ].CGColor ;
304
- tagLabel.textColor = kColor999 ;
305
+ tagLabel.textColor = kColorDarkA ;
305
306
tagLabel.text = @" ···" ;
306
307
[tagLabel setWidth: 15 ];
307
308
}
0 commit comments