reskin: rename ColorValues to Theme

This commit is contained in:
manuroe
2019-01-10 15:32:59 +01:00
parent 6d69bfa167
commit 2b32e32ac4
79 changed files with 210 additions and 210 deletions
@@ -72,7 +72,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
self.missedNotifAndUnreadBadgeLabel.textColor = kRiotPrimaryBgColor;
// Prepare direct room border
CGColorRef directRoomBorderColor = CGColorCreateCopyWithAlpha(RiotDesignValues.colorValues.tintColor.CGColor, kDirectRoomBorderColorAlpha);
CGColorRef directRoomBorderColor = CGColorCreateCopyWithAlpha(RiotDesignValues.theme.tintColor.CGColor, kDirectRoomBorderColorAlpha);
[self.directRoomBorderView.layer setCornerRadius:self.directRoomBorderView.frame.size.width / 2];
self.directRoomBorderView.clipsToBounds = YES;
@@ -126,7 +126,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
if (0 < roomCellData.notificationCount)
{
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = roomCellData.highlightCount ? RiotDesignValues.colorValues.notificationMentionColor : RiotDesignValues.colorValues.notificationUnreadColor;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = roomCellData.highlightCount ? RiotDesignValues.theme.notificationMentionColor : RiotDesignValues.theme.notificationUnreadColor;
self.missedNotifAndUnreadBadgeLabel.text = roomCellData.notificationCountStringValue;
[self.missedNotifAndUnreadBadgeLabel sizeToFit];
@@ -147,7 +147,7 @@ static const CGFloat kDirectRoomBorderWidth = 3.0;
else if (roomCellData.roomSummary.room.summary.membership == MXMembershipInvite)
{
self.missedNotifAndUnreadBadgeBgView.hidden = NO;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = RiotDesignValues.colorValues.notificationMentionColor;
self.missedNotifAndUnreadBadgeBgView.backgroundColor = RiotDesignValues.theme.notificationMentionColor;
self.missedNotifAndUnreadBadgeLabel.text = @"!";
[self.missedNotifAndUnreadBadgeLabel sizeToFit];