From 6b40f06a691e1264f6e35b6a5616198e6977787d Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 21 Mar 2019 20:17:42 +0300 Subject: Named colours --- Juick/Views/MessageCell.m | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'Juick/Views/MessageCell.m') diff --git a/Juick/Views/MessageCell.m b/Juick/Views/MessageCell.m index 6929436..fc7a821 100644 --- a/Juick/Views/MessageCell.m +++ b/Juick/Views/MessageCell.m @@ -7,7 +7,6 @@ // #import "MessageCell.h" -#import "ColorScheme.h" #import "APIClient.h" #import "Entity.h" @@ -21,12 +20,12 @@ - (void)awakeFromNib { [super awakeFromNib]; - self.text.textColor = [ColorScheme textColor]; + self.text.textColor = [UIColor colorNamed:@"Text"]; self.text.dataDetectorTypes = UIDataDetectorTypeAll; - self.text.tintColor = [ColorScheme linkColor]; - self.title.textColor = [ColorScheme linkColor]; - self.timestamp.textColor = [UIColor grayColor]; - self.summary.textColor = [UIColor grayColor]; + self.text.tintColor = [UIColor colorNamed:@"Title"]; + self.title.textColor = [UIColor colorNamed:@"Title"]; + self.timestamp.textColor = [UIColor colorNamed:@"Muted"]; + self.summary.textColor = [UIColor colorNamed:@"Muted"]; UIGestureRecognizer *avatarTapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(avatarClicked:)]; [avatarTapRecognizer setEnabled:YES]; [self.avatar addGestureRecognizer:avatarTapRecognizer]; -- cgit v1.2.3