mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-22 17:42:45 +02:00
Reskin: Kill kRiotColorGreen and use RiotDesignValues.colorValues.accent instead
This commit is contained in:
@@ -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
|
||||
|
||||
+4
-3
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
+4
-3
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
+3
-2
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
+3
-2
@@ -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
|
||||
|
||||
+4
-3
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
+3
-2
@@ -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
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#import "EventDetailsView.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
@implementation EventDetailsView
|
||||
|
||||
@@ -27,8 +28,8 @@
|
||||
self.backgroundColor = kRiotSecondaryBgColor;
|
||||
self.textView.backgroundColor = kRiotPrimaryBgColor;
|
||||
self.textView.textColor = kRiotPrimaryTextColor;
|
||||
self.redactButton.tintColor = kRiotColorGreen;
|
||||
self.closeButton.tintColor = kRiotColorGreen;
|
||||
self.redactButton.tintColor = RiotDesignValues.colorValues.accent;
|
||||
self.closeButton.tintColor = RiotDesignValues.colorValues.accent;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
#import "DisabledRoomInputToolbarView.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
@implementation DisabledRoomInputToolbarView
|
||||
|
||||
@@ -51,7 +52,7 @@
|
||||
|
||||
self.disabledReasonTextView.font = [UIFont systemFontOfSize:15];
|
||||
self.disabledReasonTextView.textColor = kRiotPrimaryTextColor;
|
||||
self.disabledReasonTextView.tintColor = kRiotColorGreen;
|
||||
self.disabledReasonTextView.tintColor = RiotDesignValues.colorValues.accent;
|
||||
self.disabledReasonTextView.editable = NO;
|
||||
self.disabledReasonTextView.scrollEnabled = NO;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#import "RoomInputToolbarView.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
#import "GBDeviceInfo_iOS.h"
|
||||
|
||||
@@ -71,8 +72,8 @@
|
||||
|
||||
self.rightInputToolbarButton.hidden = YES;
|
||||
|
||||
[self.rightInputToolbarButton setTitleColor:kRiotColorGreen forState:UIControlStateNormal];
|
||||
[self.rightInputToolbarButton setTitleColor:kRiotColorGreen forState:UIControlStateHighlighted];
|
||||
[self.rightInputToolbarButton setTitleColor:RiotDesignValues.colorValues.accent forState:UIControlStateNormal];
|
||||
[self.rightInputToolbarButton setTitleColor:RiotDesignValues.colorValues.accent forState:UIControlStateHighlighted];
|
||||
|
||||
self.isEncryptionEnabled = _isEncryptionEnabled;
|
||||
}
|
||||
@@ -95,7 +96,7 @@
|
||||
|
||||
growingTextView.font = [UIFont systemFontOfSize:15];
|
||||
growingTextView.textColor = kRiotPrimaryTextColor;
|
||||
growingTextView.tintColor = kRiotColorGreen;
|
||||
growingTextView.tintColor = RiotDesignValues.colorValues.accent;
|
||||
|
||||
growingTextView.internalTextView.keyboardAppearance = kRiotKeyboard;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,7 @@
|
||||
#import "ExpandedRoomTitleView.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
#import "MXRoomSummary+Riot.h"
|
||||
|
||||
@@ -39,7 +40,7 @@
|
||||
[super customizeViewRendering];
|
||||
|
||||
self.roomTopic.textColor = kRiotTopicTextColor;
|
||||
self.roomMembers.textColor = kRiotColorGreen;
|
||||
self.roomMembers.textColor = RiotDesignValues.colorValues.accent;
|
||||
}
|
||||
|
||||
- (void)refreshDisplay
|
||||
|
||||
@@ -19,6 +19,7 @@
|
||||
#import "PreviewRoomTitleView.h"
|
||||
|
||||
#import "RiotDesignValues.h"
|
||||
#import "Riot-Swift.h"
|
||||
|
||||
#import "MXRoomSummary+Riot.h"
|
||||
|
||||
@@ -68,7 +69,7 @@
|
||||
|
||||
self.roomTopic.textColor = kRiotTopicTextColor;
|
||||
|
||||
self.roomMembers.textColor = kRiotColorGreen;
|
||||
self.roomMembers.textColor = RiotDesignValues.colorValues.accent;
|
||||
|
||||
self.previewLabel.textColor = kRiotTopicTextColor;
|
||||
self.previewLabel.numberOfLines = 0;
|
||||
@@ -80,11 +81,11 @@
|
||||
|
||||
[self.leftButton.layer setCornerRadius:5];
|
||||
self.leftButton.clipsToBounds = YES;
|
||||
self.leftButton.backgroundColor = kRiotColorGreen;
|
||||
self.leftButton.backgroundColor = RiotDesignValues.colorValues.accent;
|
||||
|
||||
[self.rightButton.layer setCornerRadius:5];
|
||||
self.rightButton.clipsToBounds = YES;
|
||||
self.rightButton.backgroundColor = kRiotColorGreen;
|
||||
self.rightButton.backgroundColor = RiotDesignValues.colorValues.accent;
|
||||
}
|
||||
|
||||
- (void)refreshDisplay
|
||||
|
||||
Reference in New Issue
Block a user