Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead

This commit is contained in:
manuroe
2018-11-30 17:10:28 +01:00
parent 9fea29617e
commit a28271afcb
62 changed files with 170 additions and 111 deletions
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomIncomingAttachmentWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingAttachmentWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomIncomingTextMsgWithoutSenderNameBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomIncomingTextMsgWithoutSenderNameBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -17,6 +17,7 @@
#import "RoomMembershipBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -40,7 +41,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)prepareForReuse
@@ -18,6 +18,7 @@
#import "RoomMembershipCollapsedBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -29,7 +30,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)layoutSubviews
@@ -17,6 +17,7 @@
#import "RoomMembershipCollapsedWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -17,6 +17,7 @@
#import "RoomMembershipExpandedBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -39,7 +40,7 @@ NSString *const kRoomMembershipExpandedBubbleCellTapOnCollapseButton = @"kRoomMe
self.separatorView.backgroundColor = kRiotSecondaryBgColor;
[self.collapseButton setTintColor:kRiotColorGreen];
[self.collapseButton setTintColor:RiotDesignValues.colorValues.accent];
self.collapseButton.titleLabel.font = [UIFont systemFontOfSize:14];
}
@@ -17,6 +17,7 @@
#import "RoomMembershipExpandedWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -17,6 +17,7 @@
#import "RoomMembershipWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
#import "RoomBubbleCellData.h"
@@ -26,8 +27,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentWithPaginationTitleBubbleCell
@@ -27,9 +28,9 @@
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.messageTextView.tintColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingAttachmentWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingAttachmentWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgBubbleCell
@@ -26,7 +27,7 @@
[super customizeTableViewCellRendering];
self.userNameLabel.textColor = kRiotPrimaryTextColor;
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgWithPaginationTitleBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgWithPaginationTitleBubbleCell
@@ -25,8 +26,8 @@
{
[super customizeTableViewCellRendering];
self.paginationLabel.textColor = kRiotColorGreen;
self.paginationSeparatorView.backgroundColor = kRiotColorGreen;
self.paginationLabel.textColor = RiotDesignValues.colorValues.accent;
self.paginationSeparatorView.backgroundColor = RiotDesignValues.colorValues.accent;
}
- (void)render:(MXKCellData *)cellData
@@ -18,6 +18,7 @@
#import "RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.h"
#import "RiotDesignValues.h"
#import "Riot-Swift.h"
@implementation RoomOutgoingTextMsgWithoutSenderInfoBubbleCell
@@ -25,7 +26,7 @@
{
[super customizeTableViewCellRendering];
self.messageTextView.tintColor = kRiotColorGreen;
self.messageTextView.tintColor = RiotDesignValues.colorValues.accent;
}
@end