@@ -127,17 +127,17 @@ + (NSDictionary *)regularTextAttributes
127127
128128+ (UIFont *)tableviewTextFont
129129{
130- return [WPFontManager openSansRegularFontOfSize: 18 .0 ];
130+ return [WPFontManager openSansRegularFontOfSize: 17 .0 ];
131131}
132132
133133+ (UIFont *)tableviewSubtitleFont
134134{
135- return [WPFontManager openSansLightFontOfSize: 18 .0 ];
135+ return [WPFontManager openSansRegularFontOfSize: 17 .0 ];
136136}
137137
138138+ (UIFont *)tableviewSectionHeaderFont
139139{
140- return [WPFontManager openSansBoldFontOfSize: 12 .0 ];
140+ return [WPFontManager openSansRegularFontOfSize: 13 .0 ];
141141}
142142
143143
@@ -287,18 +287,18 @@ + (UIColor *)tableViewActionColor
287287 return [self wordPressBlue ];
288288}
289289
290- // TODO: Move to fetaure category
290+ // TODO: Move to feature category
291291+ (UIColor *)buttonActionColor
292292{
293293 return [self wordPressBlue ];
294294}
295295
296- // TODO: Move to fetaure category
296+ // TODO: Move to feature category
297297+ (UIColor *)nuxFormText {
298298 return [self darkGrey ];
299299}
300300
301- // TODO: Move to fetaure category
301+ // TODO: Move to feature category
302302+ (UIColor *)nuxFormPlaceholderText {
303303 return [self grey ];
304304}
@@ -339,22 +339,16 @@ + (UIBarButtonItem *)spacerForNavigationBarButtonItems
339339+ (void )configureColorsForView : (UIView *)view andTableView : (UITableView *)tableView
340340{
341341 tableView.backgroundView = nil ;
342- view.backgroundColor = [WPStyleGuide itsEverywhereGrey ];
343- tableView.backgroundColor = [WPStyleGuide itsEverywhereGrey ];
344- tableView.separatorColor = [WPStyleGuide readGrey ];
342+ view.backgroundColor = [WPStyleGuide greyLighten30 ];
343+ tableView.backgroundColor = [WPStyleGuide greyLighten30 ];
344+ tableView.separatorColor = [WPStyleGuide greyLighten20 ];
345345}
346346
347347+ (void )configureColorsForView : (UIView *)view collectionView : (UICollectionView *)collectionView
348348{
349349 collectionView.backgroundView = nil ;
350- collectionView.backgroundColor = [WPStyleGuide itsEverywhereGrey ];
351- view.backgroundColor = [WPStyleGuide itsEverywhereGrey ];
352- }
353-
354- + (void )configureTableViewActionCell : (UITableViewCell *)cell
355- {
356- cell.textLabel .font = [self tableviewTextFont ];
357- cell.textLabel .textColor = [self tableViewActionColor ];
350+ collectionView.backgroundColor = [WPStyleGuide greyLighten30 ];
351+ view.backgroundColor = [WPStyleGuide greyLighten30 ];
358352}
359353
360354+ (void )configureTableViewCell : (UITableViewCell *)cell
@@ -365,12 +359,29 @@ + (void)configureTableViewCell:(UITableViewCell *)cell
365359 cell.detailTextLabel .font = [self tableviewSubtitleFont ];
366360 [cell.detailTextLabel sizeToFit ];
367361
368- cell.textLabel .textColor = [self whisperGrey ];
369- cell.detailTextLabel .textColor = [self whisperGrey ];
370- if ([cell isKindOfClass: [WPTextFieldTableViewCell class ]]) {
371- WPTextFieldTableViewCell *tfcell = (WPTextFieldTableViewCell *)cell;
372- [tfcell.textField setTextColor: [self whisperGrey ]];
373- }
362+ cell.textLabel .textColor = [self darkGrey ];
363+ cell.detailTextLabel .textColor = [self grey ];
364+ }
365+
366+ + (void )configureTableViewSmallSubtitleCell : (UITableViewCell *)cell
367+ {
368+ [self configureTableViewCell: cell];
369+ cell.detailTextLabel .font = [self subtitleFont ];
370+ cell.detailTextLabel .textColor = [self darkGrey ];
371+ }
372+
373+ + (void )configureTableViewActionCell : (UITableViewCell *)cell
374+ {
375+ [self configureTableViewCell: cell];
376+ cell.textLabel .font = [self tableviewTextFont ];
377+ cell.textLabel .textColor = [self tableViewActionColor ];
378+ }
379+
380+ + (void )configureTableViewDestructiveActionCell : (UITableViewCell *)cell
381+ {
382+ [self configureTableViewActionCell: cell];
383+ cell.textLabel .textAlignment = NSTextAlignmentCenter;
384+ cell.textLabel .textColor = [self errorRed ];
374385}
375386
376387+ (void )configureTableViewTextCell : (WPTextFieldTableViewCell *)cell
@@ -379,20 +390,14 @@ + (void)configureTableViewTextCell:(WPTextFieldTableViewCell *)cell
379390 cell.textField .font = [self tableviewSubtitleFont ];
380391
381392 if (cell.textField .enabled ) {
382- cell.textField .textColor = [self darkAsNightGrey ];
393+ cell.textField .textColor = [self darkBlue ];
383394 cell.textField .textAlignment = NSTextAlignmentLeft;
384395 } else {
385- cell.textField .textColor = [self textFieldPlaceholderGrey ];
396+ cell.textField .textColor = [self grey ];
386397 cell.textField .textAlignment = NSTextAlignmentRight;
387398 }
388399}
389400
390- + (void )configureTableViewSmallSubtitleCell : (UITableViewCell *)cell
391- {
392- [self configureTableViewCell: cell];
393- cell.detailTextLabel .font = [self subtitleFont ];
394- }
395-
396401// TODO: Move to fetaure category
397402+ (void )configureFollowButton : (UIButton *)followButton {
398403 followButton.contentHorizontalAlignment = UIControlContentHorizontalAlignmentLeft;
0 commit comments