Skip to content

Commit 1fd5537

Browse files
committed
0xe5e5e5
1 parent 208b5e6 commit 1fd5537

22 files changed

+30
-27
lines changed

Coding_iOS/AppDelegate.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,15 @@ - (void)customizeInterface {
208208
[navigationBarAppearance setTintColor:[UIColor whiteColor]];//返回按钮的箭头颜色
209209
[[UITextField appearance] setTintColor:[UIColor colorWithHexString:@"0x3bbc79"]];//设置UITextField的光标颜色
210210
[[UITextView appearance] setTintColor:[UIColor colorWithHexString:@"0x3bbc79"]];//设置UITextView的光标颜色
211-
[[UISearchBar appearance] setBackgroundImage:[UIImage imageWithColor:[UIColor colorWithHexString:@"0xe5e5e5"]] forBarPosition:0 barMetrics:UIBarMetricsDefault];
211+
[[UISearchBar appearance] setBackgroundImage:[UIImage imageWithColor:kColorTableSectionBg] forBarPosition:0 barMetrics:UIBarMetricsDefault];
212212

213213
textAttributes = @{
214214
NSFontAttributeName: [UIFont boldSystemFontOfSize:kNavTitleFontSize],
215215
NSForegroundColorAttributeName: [UIColor whiteColor],
216216
};
217217
} else {
218218
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0
219-
[[UISearchBar appearance] setBackgroundImage:[UIImage imageWithColor:[UIColor colorWithHexString:@"0xe5e5e5"]]];
219+
[[UISearchBar appearance] setBackgroundImage:[UIImage imageWithColor:kColorTableSectionBg]];
220220

221221
textAttributes = @{
222222
UITextAttributeFont: [UIFont boldSystemFontOfSize:kNavTitleFontSize],

Coding_iOS/Controllers/CommitFilesViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ - (void)viewDidLoad{
5757

5858
_myTableView = ({
5959
UITableView *tableView = [[UITableView alloc] initWithFrame:self.view.bounds style:UITableViewStylePlain];
60-
tableView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
60+
tableView.backgroundColor = kColorTableSectionBg;
6161
tableView.dataSource = self;
6262
tableView.delegate = self;
6363
tableView.separatorStyle = UITableViewCellSeparatorStyleNone;

Coding_iOS/Controllers/EditTaskViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSIntege
425425

426426
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
427427
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 1)];
428-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
428+
headerView.backgroundColor = kColorTableSectionBg;
429429
if (section == 0) {
430430
[headerView setHeight:30.0];
431431
}else if (section == 3){

Coding_iOS/Controllers/MRPRAcceptViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPa
101101

102102
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
103103
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 20)];
104-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
104+
headerView.backgroundColor = kColorTableSectionBg;
105105
return headerView;
106106
}
107107

Coding_iOS/Controllers/MRPRDetailViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSIntege
269269

270270
- (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section{
271271
UIView *view = [UIView new];
272-
view.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
272+
view.backgroundColor = kColorTableSectionBg;
273273
return view;
274274
}
275275

Coding_iOS/Controllers/MeSetting/AboutViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ - (void)viewDidLoad
2626
{
2727
[super viewDidLoad];
2828
// Do any additional setup after loading the view.
29-
self.view.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
29+
self.view.backgroundColor = kColorTableSectionBg;
3030
self.title = @"关于Coding";
3131

3232
CGFloat logoViewTop, logoLabelTop, versionLabelTop, infoLabelBottom;

Coding_iOS/Controllers/MeSetting/SettingAccountViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
8484
}
8585
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
8686
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 20)];
87-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
87+
headerView.backgroundColor = kColorTableSectionBg;
8888
return headerView;
8989
}
9090

Coding_iOS/Controllers/MeSetting/SettingMineInfoViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSIntege
181181

182182
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
183183
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 1)];
184-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
184+
headerView.backgroundColor = kColorTableSectionBg;
185185
[headerView setHeight:20.0];
186186
return headerView;
187187
}

Coding_iOS/Controllers/MeSetting/SettingPasswordViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(N
104104
}
105105
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
106106
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 20)];
107-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
107+
headerView.backgroundColor = kColorTableSectionBg;
108108
return headerView;
109109
}
110110

Coding_iOS/Controllers/MeSetting/SettingTextViewController.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSIntege
127127

128128
- (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section{
129129
UIView *headerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, kScreen_Width, 1)];
130-
headerView.backgroundColor = [UIColor colorWithHexString:@"0xe5e5e5"];
130+
headerView.backgroundColor = kColorTableSectionBg;
131131
[headerView setHeight:30.0];
132132
return headerView;
133133
}

0 commit comments

Comments
 (0)