diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index f45a9ece4..35a8b1719 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -648,7 +648,7 @@ final class HomeVC: BaseVC, UITableViewDataSource, UITableViewDelegate, NewConve .retainUntilComplete() } } - block.backgroundColor = Colors.unimportant + block.backgroundColor = Colors.blockActionBackground return [ delete, block, pin ] diff --git a/Session/Home/Message Requests/MessageRequestsViewController.swift b/Session/Home/Message Requests/MessageRequestsViewController.swift index 00f75638d..04bb10869 100644 --- a/Session/Home/Message Requests/MessageRequestsViewController.swift +++ b/Session/Home/Message Requests/MessageRequestsViewController.swift @@ -391,7 +391,7 @@ class MessageRequestsViewController: BaseVC, UITableViewDelegate, UITableViewDat ) { [weak self] _, _ in self?.block(threadId) } - block.backgroundColor = Colors.unimportant + block.backgroundColor = Colors.blockActionBackground return [ delete, block ] diff --git a/SessionUIKit/Style Guide/Colors.swift b/SessionUIKit/Style Guide/Colors.swift index c2b09e5f0..966bac6c9 100644 --- a/SessionUIKit/Style Guide/Colors.swift +++ b/SessionUIKit/Style Guide/Colors.swift @@ -49,4 +49,5 @@ public final class Colors : NSObject { @objc public static var sessionMessageRequestsIcon: UIColor { UIColor(named: "session_message_requests_icon")! } @objc public static var sessionMessageRequestsTitle: UIColor { UIColor(named: "session_message_requests_title")! } @objc public static var sessionMessageRequestsInfoText: UIColor { UIColor(named: "session_message_requests_info_text")! } + @objc public static var blockActionBackground: UIColor { UIColor(named: "session_block_action_background")! } } diff --git a/SessionUIKit/Style Guide/Colors.xcassets/session_block_action_background.colorset/Contents.json b/SessionUIKit/Style Guide/Colors.xcassets/session_block_action_background.colorset/Contents.json new file mode 100644 index 000000000..5b66acaed --- /dev/null +++ b/SessionUIKit/Style Guide/Colors.xcassets/session_block_action_background.colorset/Contents.json @@ -0,0 +1,38 @@ +{ + "colors" : [ + { + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x2D", + "green" : "0x2D", + "red" : "0x2D" + } + }, + "idiom" : "universal" + }, + { + "appearances" : [ + { + "appearance" : "luminosity", + "value" : "dark" + } + ], + "color" : { + "color-space" : "srgb", + "components" : { + "alpha" : "1.000", + "blue" : "0x2D", + "green" : "0x2D", + "red" : "0x2D" + } + }, + "idiom" : "universal" + } + ], + "info" : { + "author" : "xcode", + "version" : 1 + } +} diff --git a/SessionUIKit/Style Guide/Colors.xcassets/session_cell_pinned.colorset/Contents.json b/SessionUIKit/Style Guide/Colors.xcassets/session_cell_pinned.colorset/Contents.json index e871732bc..f5227c201 100644 --- a/SessionUIKit/Style Guide/Colors.xcassets/session_cell_pinned.colorset/Contents.json +++ b/SessionUIKit/Style Guide/Colors.xcassets/session_cell_pinned.colorset/Contents.json @@ -23,9 +23,9 @@ "color-space" : "srgb", "components" : { "alpha" : "1.000", - "blue" : "28", - "green" : "28", - "red" : "28" + "blue" : "0x1C", + "green" : "0x1C", + "red" : "0x1C" } }, "idiom" : "universal" diff --git a/SessionUIKit/Style Guide/Colors.xcassets/session_destructive.colorset/Contents.json b/SessionUIKit/Style Guide/Colors.xcassets/session_destructive.colorset/Contents.json index afefc4599..f79b1cb0f 100644 --- a/SessionUIKit/Style Guide/Colors.xcassets/session_destructive.colorset/Contents.json +++ b/SessionUIKit/Style Guide/Colors.xcassets/session_destructive.colorset/Contents.json @@ -6,7 +6,7 @@ "components" : { "alpha" : "1.000", "blue" : "0x3A", - "green" : "0x45", + "green" : "0x3A", "red" : "0xFF" } }, diff --git a/SessionUIKit/Style Guide/Colors.xcassets/session_navigation_bar_background.colorset/Contents.json b/SessionUIKit/Style Guide/Colors.xcassets/session_navigation_bar_background.colorset/Contents.json index 9cece1931..a58fd37fe 100644 --- a/SessionUIKit/Style Guide/Colors.xcassets/session_navigation_bar_background.colorset/Contents.json +++ b/SessionUIKit/Style Guide/Colors.xcassets/session_navigation_bar_background.colorset/Contents.json @@ -23,9 +23,9 @@ "color-space" : "srgb", "components" : { "alpha" : "1.000", - "blue" : "22", - "green" : "22", - "red" : "22" + "blue" : "0x16", + "green" : "0x16", + "red" : "0x16" } }, "idiom" : "universal"