summaryrefslogtreecommitdiff
path: root/Juick/Views/MessageCell.m
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
committerGravatar Vitaly Takmazov2019-03-21 20:17:42 +0300
commit6b40f06a691e1264f6e35b6a5616198e6977787d (patch)
treed7aa6427861523a8447d52a8b45d57a605a1a714 /Juick/Views/MessageCell.m
parente6fec9707f61b5d521bf1a2e6a85998f2466bdfa (diff)
Named colours
Diffstat (limited to 'Juick/Views/MessageCell.m')
-rw-r--r--Juick/Views/MessageCell.m11
1 files changed, 5 insertions, 6 deletions
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];