diff --git a/Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m b/Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m index b1fa86843..34bafb3de 100644 --- a/Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m +++ b/Riot/Categories/MXKRoomBubbleTableViewCell+Riot.m @@ -686,7 +686,7 @@ NSString *const kMXKRoomBubbleCellCallBackButtonPressed = @"kMXKRoomBubbleCellCa UIImage *image = [UIImage imageNamed:@"sent_message_tick"]; image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; tickView = [[UIImageView alloc] initWithImage:image]; - tickView.tintColor = ThemeService.shared.theme.messageTickColor; + tickView.tintColor = ThemeService.shared.theme.textTertiaryColor; [statusViews addObject:tickView]; [self addTickView:tickView atIndex:((RoomBubbleCellData*)bubbleData).componentIndexOfSentMessageTick]; } @@ -706,7 +706,7 @@ NSString *const kMXKRoomBubbleCellCallBackButtonPressed = @"kMXKRoomBubbleCellCa { UIView *progressContentView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 40, 40)]; CircleProgressView *progressView = [[CircleProgressView alloc] initWithFrame:CGRectMake(24, 24, 16, 16)]; - progressView.lineColor = ThemeService.shared.theme.messageTickColor; + progressView.lineColor = ThemeService.shared.theme.textTertiaryColor; [progressContentView addSubview:progressView]; self.progressChartView = progressView; @@ -722,7 +722,7 @@ NSString *const kMXKRoomBubbleCellCallBackButtonPressed = @"kMXKRoomBubbleCellCa UIImage *image = [UIImage imageNamed:@"sending_message_tick"]; image = [image imageWithRenderingMode:UIImageRenderingModeAlwaysTemplate]; tickView = [[UIImageView alloc] initWithImage:image]; - tickView.tintColor = ThemeService.shared.theme.messageTickColor; + tickView.tintColor = ThemeService.shared.theme.textTertiaryColor; } [statusViews addObject:tickView]; diff --git a/Riot/Managers/Theme/Theme.swift b/Riot/Managers/Theme/Theme.swift index 865e87faf..4fcb9ca5c 100644 --- a/Riot/Managers/Theme/Theme.swift +++ b/Riot/Managers/Theme/Theme.swift @@ -39,6 +39,7 @@ import UIKit var textPrimaryColor: UIColor { get } var textSecondaryColor: UIColor { get } + var textTertiaryColor: UIColor { get } var tintColor: UIColor { get } var tintBackgroundColor: UIColor { get } @@ -63,8 +64,6 @@ import UIKit var selectedBackgroundColor: UIColor { get } - var messageTickColor: UIColor { get } - // MARK: - Call Screen Specific Colors var callScreenButtonTintColor: UIColor { get } diff --git a/Riot/Managers/Theme/Themes/DarkTheme.swift b/Riot/Managers/Theme/Themes/DarkTheme.swift index c0a9bfce5..c2da703ae 100644 --- a/Riot/Managers/Theme/Themes/DarkTheme.swift +++ b/Riot/Managers/Theme/Themes/DarkTheme.swift @@ -40,6 +40,7 @@ class DarkTheme: NSObject, Theme { var textPrimaryColor: UIColor = UIColor(rgb: 0xFFFFFF) var textSecondaryColor: UIColor = UIColor(rgb: 0xA9B2BC) + var textTertiaryColor: UIColor = UIColor(rgb: 0x8E99A4) var tintColor: UIColor = UIColor(displayP3Red: 0.05098039216, green: 0.7450980392, blue: 0.5450980392, alpha: 1.0) var tintBackgroundColor: UIColor = UIColor(rgb: 0x1F6954) diff --git a/Riot/Managers/Theme/Themes/DefaultTheme.swift b/Riot/Managers/Theme/Themes/DefaultTheme.swift index c45a25666..e2fea3979 100644 --- a/Riot/Managers/Theme/Themes/DefaultTheme.swift +++ b/Riot/Managers/Theme/Themes/DefaultTheme.swift @@ -35,11 +35,12 @@ class DefaultTheme: NSObject, Theme { var headerBackgroundColor: UIColor = UIColor(rgb: 0xF5F7FA) var headerBorderColor: UIColor = UIColor(rgb: 0xE9EDF1) - var headerTextPrimaryColor: UIColor = UIColor(rgb: 0x171910) - var headerTextSecondaryColor: UIColor = UIColor(rgb: 0x8F97A3) + var headerTextPrimaryColor: UIColor = UIColor(rgb: 0x17191C) + var headerTextSecondaryColor: UIColor = UIColor(rgb: 0x737D8C) - var textPrimaryColor: UIColor = UIColor(rgb: 0x171910) - var textSecondaryColor: UIColor = UIColor(rgb: 0x8F97A3) + var textPrimaryColor: UIColor = UIColor(rgb: 0x17191C) + var textSecondaryColor: UIColor = UIColor(rgb: 0x737D8C) + var textTertiaryColor: UIColor = UIColor(rgb: 0x8D99A5) var tintColor: UIColor = UIColor(displayP3Red: 0.05098039216, green: 0.7450980392, blue: 0.5450980392, alpha: 1.0) var tintBackgroundColor: UIColor = UIColor(rgb: 0xe9fff9) diff --git a/Riot/Modules/Room/Views/BubbleCells/Encryption/RoomBubbleCellLayout.swift b/Riot/Modules/Room/Views/BubbleCells/Encryption/RoomBubbleCellLayout.swift index dee83d985..ce636a989 100644 --- a/Riot/Modules/Room/Views/BubbleCells/Encryption/RoomBubbleCellLayout.swift +++ b/Riot/Modules/Room/Views/BubbleCells/Encryption/RoomBubbleCellLayout.swift @@ -30,7 +30,7 @@ final class RoomBubbleCellLayout: NSObject { static let readReceiptsViewTopMargin: CGFloat = 5.0 static let readReceiptsViewRightMargin: CGFloat = 6.0 - static let readReceiptsViewHeight: CGFloat = 12.0 + static let readReceiptsViewHeight: CGFloat = 16.0 static let readReceiptsViewWidth: CGFloat = 150.0 // Read marker diff --git a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgBubbleCell.xib b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgBubbleCell.xib index 1d9fb0c29..730e850e4 100644 --- a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgBubbleCell.xib +++ b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgBubbleCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -15,7 +13,7 @@ - + @@ -39,7 +37,7 @@ - + @@ -51,7 +49,7 @@ @@ -76,7 +74,7 @@ - + @@ -108,6 +106,7 @@ + diff --git a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleBubbleCell.xib b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleBubbleCell.xib index e7615d6dd..ed76d298b 100644 --- a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleBubbleCell.xib +++ b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleBubbleCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -15,7 +13,7 @@ - + @@ -69,7 +67,7 @@ - + @@ -81,7 +79,7 @@ @@ -108,7 +106,7 @@ - + @@ -144,6 +142,7 @@ + diff --git a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.xib b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.xib index 6883627e5..aa522e607 100644 --- a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.xib +++ b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithPaginationTitleWithoutSenderNameBubbleCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -15,7 +13,7 @@ - + @@ -58,7 +56,7 @@ - + @@ -70,7 +68,7 @@ @@ -90,7 +88,7 @@ - + @@ -120,6 +118,7 @@ + diff --git a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.xib b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.xib index 2ca307ef4..f4ba0e60a 100644 --- a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.xib +++ b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderInfoBubbleCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -15,11 +13,11 @@ - + - + @@ -31,7 +29,7 @@ @@ -48,7 +46,7 @@ - + @@ -72,6 +70,7 @@ + diff --git a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderNameBubbleCell.xib b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderNameBubbleCell.xib index 2d7026464..d4cb4e0db 100644 --- a/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderNameBubbleCell.xib +++ b/Riot/Modules/Room/Views/BubbleCells/RoomOutgoingTextMsgWithoutSenderNameBubbleCell.xib @@ -1,11 +1,9 @@ - - - - + + - + @@ -15,7 +13,7 @@ - + @@ -28,7 +26,7 @@ - + @@ -40,7 +38,7 @@ @@ -59,7 +57,7 @@ - + @@ -84,6 +82,7 @@ +