diff --git a/Session/Conversations/Message Cells/VisibleMessageCell.swift b/Session/Conversations/Message Cells/VisibleMessageCell.swift index df8f10244..19fa3748a 100644 --- a/Session/Conversations/Message Cells/VisibleMessageCell.swift +++ b/Session/Conversations/Message Cells/VisibleMessageCell.swift @@ -121,7 +121,7 @@ final class VisibleMessageCell : MessageCell, LinkPreviewViewDelegate { private static let authorLabelInset: CGFloat = 12 private static let replyButtonSize: CGFloat = 24 private static let maxBubbleTranslationX: CGFloat = 40 - private static let swipeToReplyThreshold: CGFloat = 130 + private static let swipeToReplyThreshold: CGFloat = 110 static let smallCornerRadius: CGFloat = 4 static let largeCornerRadius: CGFloat = 18 static let contactThreadHSpacing = Values.mediumSpacing diff --git a/Session/Home/NewConversationButtonSet.swift b/Session/Home/NewConversationButtonSet.swift index 61ba617e8..d0a82def5 100644 --- a/Session/Home/NewConversationButtonSet.swift +++ b/Session/Home/NewConversationButtonSet.swift @@ -1,4 +1,5 @@ import UIKit +import SessionUIKit final class NewConversationButtonSet : UIView { private var isUserDragging = false @@ -8,7 +9,7 @@ final class NewConversationButtonSet : UIView { var delegate: NewConversationButtonSetDelegate? // MARK: Settings - private let spacing = Values.largeSpacing + private let spacing = Values.veryLargeSpacing private let iconSize = CGFloat(24) private let maxDragDistance = CGFloat(56) private let dragMargin = CGFloat(16) @@ -21,6 +22,39 @@ final class NewConversationButtonSet : UIView { private lazy var createClosedGroupButton = NewConversationButton(isMainButton: false, icon: #imageLiteral(resourceName: "Group").scaled(to: CGSize(width: iconSize, height: iconSize))) private lazy var joinOpenGroupButton = NewConversationButton(isMainButton: false, icon: #imageLiteral(resourceName: "Globe").scaled(to: CGSize(width: iconSize, height: iconSize))) + private lazy var newDMLabel: UILabel = { + let result: UILabel = UILabel() + result.translatesAutoresizingMaskIntoConstraints = false + result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) + result.text = NSLocalizedString("NEW_CONVERSATION_MENU_DIRECT_MESSAGE", comment: "").uppercased() + result.textColor = Colors.grey + result.textAlignment = .center + + return result + }() + + private lazy var createClosedGroupLabel: UILabel = { + let result: UILabel = UILabel() + result.translatesAutoresizingMaskIntoConstraints = false + result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) + result.text = NSLocalizedString("NEW_CONVERSATION_MENU_CLOSED_GROUP", comment: "").uppercased() + result.textColor = Colors.grey + result.textAlignment = .center + + return result + }() + + private lazy var joinOpenGroupLabel: UILabel = { + let result: UILabel = UILabel() + result.translatesAutoresizingMaskIntoConstraints = false + result.font = UIFont.systemFont(ofSize: Values.verySmallFontSize) + result.text = NSLocalizedString("NEW_CONVERSATION_MENU_OPEN_GROUP", comment: "").uppercased() + result.textColor = Colors.grey + result.textAlignment = .center + + return result + }() + // MARK: Initialization override init(frame: CGRect) { super.init(frame: frame) @@ -42,15 +76,24 @@ final class NewConversationButtonSet : UIView { joinOpenGroupButton.accessibilityLabel = "Join open group button" joinOpenGroupButton.isAccessibilityElement = true let inset = (NewConversationButtonSet.expandedButtonSize - NewConversationButtonSet.collapsedButtonSize) / 2 + addSubview(joinOpenGroupLabel) addSubview(joinOpenGroupButton) horizontalButtonConstraints[joinOpenGroupButton] = joinOpenGroupButton.pin(.left, to: .left, of: self, withInset: inset) verticalButtonConstraints[joinOpenGroupButton] = joinOpenGroupButton.pin(.bottom, to: .bottom, of: self, withInset: -inset) + joinOpenGroupLabel.center(.horizontal, in: joinOpenGroupButton) + joinOpenGroupLabel.pin(.top, to: .bottom, of: joinOpenGroupButton, withInset: 8) + addSubview(newDMLabel) addSubview(newDMButton) newDMButton.center(.horizontal, in: self) verticalButtonConstraints[newDMButton] = newDMButton.pin(.top, to: .top, of: self, withInset: inset) + newDMLabel.center(.horizontal, in: newDMButton) + newDMLabel.pin(.top, to: .bottom, of: newDMButton, withInset: 8) + addSubview(createClosedGroupLabel) addSubview(createClosedGroupButton) horizontalButtonConstraints[createClosedGroupButton] = createClosedGroupButton.pin(.right, to: .right, of: self, withInset: -inset) verticalButtonConstraints[createClosedGroupButton] = createClosedGroupButton.pin(.bottom, to: .bottom, of: self, withInset: -inset) + createClosedGroupLabel.center(.horizontal, in: createClosedGroupButton) + createClosedGroupLabel.pin(.top, to: .bottom, of: createClosedGroupButton, withInset: 8) addSubview(mainButton) mainButton.center(.horizontal, in: self) mainButton.pin(.bottom, to: .bottom, of: self, withInset: -inset) @@ -74,14 +117,17 @@ final class NewConversationButtonSet : UIView { @objc private func handleCreateNewClosedGroupButtonTapped() { delegate?.createClosedGroup() } private func expand(isUserDragging: Bool) { - let buttons = [ joinOpenGroupButton, newDMButton, createClosedGroupButton ] + let views = [ joinOpenGroupButton, joinOpenGroupLabel, newDMButton, newDMLabel, createClosedGroupButton, createClosedGroupLabel ] UIView.animate(withDuration: 0.25, animations: { - buttons.forEach { $0.alpha = 1 } + views.forEach { $0.alpha = 1 } let inset = (NewConversationButtonSet.expandedButtonSize - NewConversationButtonSet.collapsedButtonSize) / 2 let size = NewConversationButtonSet.collapsedButtonSize self.joinOpenGroupButton.frame = CGRect(origin: CGPoint(x: inset, y: self.height() - size - inset), size: CGSize(width: size, height: size)) + self.joinOpenGroupLabel.center = CGPoint(x: self.joinOpenGroupButton.center.x, y: self.joinOpenGroupButton.frame.maxY + 8 + (self.joinOpenGroupLabel.bounds.height / 2)) self.newDMButton.frame = CGRect(center: CGPoint(x: self.bounds.center.x, y: inset + size / 2), size: CGSize(width: size, height: size)) + self.newDMLabel.center = CGPoint(x: self.newDMButton.center.x, y: self.newDMButton.frame.maxY + 8 + (self.newDMLabel.bounds.height / 2)) self.createClosedGroupButton.frame = CGRect(origin: CGPoint(x: self.width() - size - inset, y: self.height() - size - inset), size: CGSize(width: size, height: size)) + self.createClosedGroupLabel.center = CGPoint(x: self.createClosedGroupButton.center.x, y: self.createClosedGroupButton.frame.maxY + 8 + (self.createClosedGroupLabel.bounds.height / 2)) }, completion: { _ in self.isUserDragging = isUserDragging }) @@ -90,7 +136,12 @@ final class NewConversationButtonSet : UIView { private func collapse(withAnimation isAnimated: Bool) { isUserDragging = false let buttons = [ joinOpenGroupButton, newDMButton, createClosedGroupButton ] + let labels = [ joinOpenGroupLabel, newDMLabel, createClosedGroupLabel ] UIView.animate(withDuration: isAnimated ? 0.25 : 0) { + labels.forEach { label in + label.alpha = 0 + label.center = self.mainButton.center + } buttons.forEach { button in button.alpha = 0 let size = NewConversationButtonSet.collapsedButtonSize diff --git a/Session/Meta/Translations/de.lproj/Localizable.strings b/Session/Meta/Translations/de.lproj/Localizable.strings index 0dded534f..a911dfe5c 100644 --- a/Session/Meta/Translations/de.lproj/Localizable.strings +++ b/Session/Meta/Translations/de.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/en.lproj/Localizable.strings b/Session/Meta/Translations/en.lproj/Localizable.strings index 9ab55638a..5b12ac396 100644 --- a/Session/Meta/Translations/en.lproj/Localizable.strings +++ b/Session/Meta/Translations/en.lproj/Localizable.strings @@ -607,3 +607,6 @@ "SEARCH_SECTION_MESSAGES" = "Messages"; "SEARCH_SECTION_RECENT" = "Recent"; "RECENT_SEARCH_LAST_MESSAGE_DATETIME" = "last message: %@"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/es.lproj/Localizable.strings b/Session/Meta/Translations/es.lproj/Localizable.strings index 51ab3036d..b6ad30d65 100644 --- a/Session/Meta/Translations/es.lproj/Localizable.strings +++ b/Session/Meta/Translations/es.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/fa.lproj/Localizable.strings b/Session/Meta/Translations/fa.lproj/Localizable.strings index c261e3af3..c5ce00e23 100644 --- a/Session/Meta/Translations/fa.lproj/Localizable.strings +++ b/Session/Meta/Translations/fa.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/fi.lproj/Localizable.strings b/Session/Meta/Translations/fi.lproj/Localizable.strings index 73808ff68..6dfc22e77 100644 --- a/Session/Meta/Translations/fi.lproj/Localizable.strings +++ b/Session/Meta/Translations/fi.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/fr.lproj/Localizable.strings b/Session/Meta/Translations/fr.lproj/Localizable.strings index 898f200e0..d7a0fe364 100644 --- a/Session/Meta/Translations/fr.lproj/Localizable.strings +++ b/Session/Meta/Translations/fr.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/hi.lproj/Localizable.strings b/Session/Meta/Translations/hi.lproj/Localizable.strings index 1aa6f2581..9a1902018 100644 --- a/Session/Meta/Translations/hi.lproj/Localizable.strings +++ b/Session/Meta/Translations/hi.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/hr.lproj/Localizable.strings b/Session/Meta/Translations/hr.lproj/Localizable.strings index 37658f8bb..a9f374297 100644 --- a/Session/Meta/Translations/hr.lproj/Localizable.strings +++ b/Session/Meta/Translations/hr.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/id-ID.lproj/Localizable.strings b/Session/Meta/Translations/id-ID.lproj/Localizable.strings index 120c2bbcf..6a605d07e 100644 --- a/Session/Meta/Translations/id-ID.lproj/Localizable.strings +++ b/Session/Meta/Translations/id-ID.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/it.lproj/Localizable.strings b/Session/Meta/Translations/it.lproj/Localizable.strings index bd197e62b..843eb35bf 100644 --- a/Session/Meta/Translations/it.lproj/Localizable.strings +++ b/Session/Meta/Translations/it.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/ja.lproj/Localizable.strings b/Session/Meta/Translations/ja.lproj/Localizable.strings index cc2e1098d..40270d169 100644 --- a/Session/Meta/Translations/ja.lproj/Localizable.strings +++ b/Session/Meta/Translations/ja.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/nl.lproj/Localizable.strings b/Session/Meta/Translations/nl.lproj/Localizable.strings index c3ba6a16f..91128b670 100644 --- a/Session/Meta/Translations/nl.lproj/Localizable.strings +++ b/Session/Meta/Translations/nl.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/pl.lproj/Localizable.strings b/Session/Meta/Translations/pl.lproj/Localizable.strings index d91701ba2..ce7c1ab5f 100644 --- a/Session/Meta/Translations/pl.lproj/Localizable.strings +++ b/Session/Meta/Translations/pl.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings index 0d2e9985e..fb2f3345a 100644 --- a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/ru.lproj/Localizable.strings b/Session/Meta/Translations/ru.lproj/Localizable.strings index 0a46af259..ab7cb8cdf 100644 --- a/Session/Meta/Translations/ru.lproj/Localizable.strings +++ b/Session/Meta/Translations/ru.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/si.lproj/Localizable.strings b/Session/Meta/Translations/si.lproj/Localizable.strings index 48940993f..149e7892f 100644 --- a/Session/Meta/Translations/si.lproj/Localizable.strings +++ b/Session/Meta/Translations/si.lproj/Localizable.strings @@ -598,3 +598,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/sk.lproj/Localizable.strings b/Session/Meta/Translations/sk.lproj/Localizable.strings index 18c696cd6..0d1a0eb95 100644 --- a/Session/Meta/Translations/sk.lproj/Localizable.strings +++ b/Session/Meta/Translations/sk.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/sv.lproj/Localizable.strings b/Session/Meta/Translations/sv.lproj/Localizable.strings index 3fe6d5ffd..1b865f3ff 100644 --- a/Session/Meta/Translations/sv.lproj/Localizable.strings +++ b/Session/Meta/Translations/sv.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/th.lproj/Localizable.strings b/Session/Meta/Translations/th.lproj/Localizable.strings index 4372e87c0..badb957e3 100644 --- a/Session/Meta/Translations/th.lproj/Localizable.strings +++ b/Session/Meta/Translations/th.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings index efae3e3d2..eba66c9ab 100644 --- a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings +++ b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings index 2f7d6e290..54672311b 100644 --- a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings index 9abccf9f3..39db28334 100644 --- a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings @@ -597,3 +597,6 @@ "system_mode_theme" = "System"; "dark_mode_theme" = "Dark"; "light_mode_theme" = "Light"; +"NEW_CONVERSATION_MENU_OPEN_GROUP" = "Open Group"; +"NEW_CONVERSATION_MENU_DIRECT_MESSAGE" = "Direct Message"; +"NEW_CONVERSATION_MENU_CLOSED_GROUP" = "Closed Group"; diff --git a/SessionUIKit/Style Guide/Colors.xcassets/session_grey.colorset/Contents.json b/SessionUIKit/Style Guide/Colors.xcassets/session_grey.colorset/Contents.json index f347d967f..26909c57c 100644 --- a/SessionUIKit/Style Guide/Colors.xcassets/session_grey.colorset/Contents.json +++ b/SessionUIKit/Style Guide/Colors.xcassets/session_grey.colorset/Contents.json @@ -11,6 +11,24 @@ } }, "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0xF9", + "green" : "0xF9", + "red" : "0xF9" + } + }, + "idiom" : "universal" } ], "info" : {