From d8d83a460f0be0117ecc53dfc81266d1e6a75049 Mon Sep 17 00:00:00 2001 From: Sam Symons Date: Wed, 15 Nov 2023 19:26:25 -0800 Subject: [PATCH] Remove custom colors. --- .../BlackWhite60.colorset/Contents.json | 38 ------------------- .../BlackWhite80.colorset/Contents.json | 38 ------------------- DuckDuckGo/VPNWaitlistView.swift | 4 +- 3 files changed, 2 insertions(+), 78 deletions(-) delete mode 100644 DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite60.colorset/Contents.json delete mode 100644 DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite80.colorset/Contents.json diff --git a/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite60.colorset/Contents.json b/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite60.colorset/Contents.json deleted file mode 100644 index 3757a577e6..0000000000 --- a/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite60.colorset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "0.600", - "blue" : "0x00", - "green" : "0x00", - "red" : "0x00" - } - }, - "idiom" : "universal" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "0.600", - "blue" : "0xFF", - "green" : "0xFF", - "red" : "0xFF" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite80.colorset/Contents.json b/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite80.colorset/Contents.json deleted file mode 100644 index 7550264f31..0000000000 --- a/DuckDuckGo/Assets.xcassets/Waitlist/VPN Waitlist/BlackWhite80.colorset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "colors" : [ - { - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "0.800", - "blue" : "0x00", - "green" : "0x00", - "red" : "0x00" - } - }, - "idiom" : "universal" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "color" : { - "color-space" : "srgb", - "components" : { - "alpha" : "0.800", - "blue" : "0xFF", - "green" : "0xFF", - "red" : "0xFF" - } - }, - "idiom" : "universal" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/DuckDuckGo/VPNWaitlistView.swift b/DuckDuckGo/VPNWaitlistView.swift index bf53b87467..421aaa3923 100644 --- a/DuckDuckGo/VPNWaitlistView.swift +++ b/DuckDuckGo/VPNWaitlistView.swift @@ -355,13 +355,13 @@ private struct WaitlistListEntryView: View { VStack(alignment: .leading, spacing: 2) { Text(viewData.title) .font(.system(size: 13, weight: .bold)) - .foregroundColor(Color("BlackWhite80")) + .opacity(0.8) .multilineTextAlignment(.leading) .frame(maxWidth: .infinity, alignment: .leading) Text(viewData.subtitle) .font(.system(size: 13)) - .foregroundColor(Color("BlackWhite60")) + .opacity(0.6) .multilineTextAlignment(.leading) .frame(maxWidth: .infinity, alignment: .leading) }