reskin: kill kRiotPrimaryTextColor

This commit is contained in:
manuroe
2019-01-10 18:00:45 +01:00
parent 6eeeb2f8d6
commit 3518ffea04
56 changed files with 115 additions and 111 deletions
@@ -356,7 +356,7 @@
[roomReplacementAttributedString appendAttributedString:roomLinkAttributedString];
NSRange wholeStringRange = NSMakeRange(0, roomReplacementAttributedString.length);
[roomReplacementAttributedString addAttribute:NSForegroundColorAttributeName value:kRiotPrimaryTextColor range:wholeStringRange];
[roomReplacementAttributedString addAttribute:NSForegroundColorAttributeName value:RiotDesignValues.theme.textPrimaryColor range:wholeStringRange];
self.messageTextView.attributedText = roomReplacementAttributedString;
}
@@ -365,7 +365,7 @@
self.messageTextView.text = NSLocalizedStringFromTable(@"room_replacement_information", @"Vector", nil);
}
self.messageTextView.tintColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.hidden = NO;
self.messageTextView.backgroundColor = [UIColor clearColor];
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.tintColor = RiotDesignValues.theme.tintColor;
}
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.paginationLabel.textColor = RiotDesignValues.theme.tintColor;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.theme.tintColor;
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.tintColor = RiotDesignValues.theme.tintColor;
}
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.paginationLabel.textColor = RiotDesignValues.theme.tintColor;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.theme.tintColor;
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.tintColor = RiotDesignValues.theme.tintColor;
}
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.paginationLabel.textColor = RiotDesignValues.theme.tintColor;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.theme.tintColor;
@@ -26,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.userNameLabel.textColor = RiotDesignValues.theme.textPrimaryColor;
self.messageTextView.tintColor = RiotDesignValues.theme.tintColor;
}
@@ -58,7 +58,7 @@ static CGFloat const kCustomBackgroundCornerRadius = 5.0;
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = RiotDesignValues.theme.textPrimaryColor;
self.customBackgroundView.backgroundColor = RiotDesignValues.theme.headerBackgroundColor;
}
@@ -27,7 +27,7 @@
self.backgroundColor = RiotDesignValues.theme.headerBackgroundColor;
self.textView.backgroundColor = RiotDesignValues.theme.backgroundColor;
self.textView.textColor = kRiotPrimaryTextColor;
self.textView.textColor = RiotDesignValues.theme.textPrimaryColor;
self.redactButton.tintColor = RiotDesignValues.theme.tintColor;
self.closeButton.tintColor = RiotDesignValues.theme.tintColor;
}
@@ -51,7 +51,7 @@
self.separatorView.backgroundColor = kRiotAuxiliaryColor;
self.disabledReasonTextView.font = [UIFont systemFontOfSize:15];
self.disabledReasonTextView.textColor = kRiotPrimaryTextColor;
self.disabledReasonTextView.textColor = RiotDesignValues.theme.textPrimaryColor;
self.disabledReasonTextView.tintColor = RiotDesignValues.theme.tintColor;
self.disabledReasonTextView.editable = NO;
self.disabledReasonTextView.scrollEnabled = NO;
@@ -95,7 +95,7 @@
growingTextView.backgroundColor = [UIColor clearColor];
growingTextView.font = [UIFont systemFontOfSize:15];
growingTextView.textColor = kRiotPrimaryTextColor;
growingTextView.textColor = RiotDesignValues.theme.textPrimaryColor;
growingTextView.tintColor = RiotDesignValues.theme.tintColor;
growingTextView.internalTextView.keyboardAppearance = RiotDesignValues.theme.keyboardAppearance;