From 235e7e49c8b0001c7e57491f7087ca9fd0a4b4ba Mon Sep 17 00:00:00 2001 From: Valentin Perignon Date: Wed, 12 Jul 2023 10:38:13 +0200 Subject: [PATCH] feat(ThreadCell): Update message count indicator colors --- .../ThreadCountIndicatorView.swift | 3 +- .../Contents.json | 38 ------------------- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 MailResources/Assets.xcassets/Colors/unreadIndicatorBackgroundColor.colorset/Contents.json diff --git a/Mail/Views/Thread List/ThreadCountIndicatorView.swift b/Mail/Views/Thread List/ThreadCountIndicatorView.swift index 1d2c4b2e4..faecfd097 100644 --- a/Mail/Views/Thread List/ThreadCountIndicatorView.swift +++ b/Mail/Views/Thread List/ThreadCountIndicatorView.swift @@ -29,13 +29,12 @@ struct ThreadCountIndicatorView: View { .padding(.horizontal, 4) .padding(.vertical, 1) .lineLimit(1) - .background(hasUnseenMessages ? .clear : MailResourcesAsset.unreadIndicatorBackgroundColor.swiftUIColor) .clipShape(RoundedRectangle(cornerRadius: 3)) .overlay { RoundedRectangle(cornerRadius: 3) .stroke(hasUnseenMessages ? MailResourcesAsset.textPrimaryColor.swiftUIColor - : MailResourcesAsset.elementsColor.swiftUIColor) + : MailResourcesAsset.textFieldBorder.swiftUIColor) } } } diff --git a/MailResources/Assets.xcassets/Colors/unreadIndicatorBackgroundColor.colorset/Contents.json b/MailResources/Assets.xcassets/Colors/unreadIndicatorBackgroundColor.colorset/Contents.json deleted file mode 100644 index 513868c59..000000000 --- a/MailResources/Assets.xcassets/Colors/unreadIndicatorBackgroundColor.colorset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "0.000", - "blue" : "0xFF", - "green" : "0xFF", - "red" : "0xFF" - } - }, - "idiom" : "universal" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "1.000", - "blue" : "0x33", - "green" : "0x33", - "red" : "0x33" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -}