From 860c20b27561977f26415162a506513c030506b3 Mon Sep 17 00:00:00 2001 From: Chris Brind Date: Fri, 3 Nov 2023 10:59:56 +0000 Subject: [PATCH] use sdk colour for table cell accessory --- DuckDuckGo/Theme+DesignSystem.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/DuckDuckGo/Theme+DesignSystem.swift b/DuckDuckGo/Theme+DesignSystem.swift index 65f2be4be5..0f4fef68a7 100644 --- a/DuckDuckGo/Theme+DesignSystem.swift +++ b/DuckDuckGo/Theme+DesignSystem.swift @@ -47,9 +47,6 @@ extension Theme { var iconCellBorderColor: UIColor { UIColor(designSystemColor: .icons) } -#warning("might change") - var tableCellAccessoryTextColor: UIColor { UIColor(designSystemColor: .textSecondary) } - var browsingMenuTextColor: UIColor { UIColor(designSystemColor: .textPrimary) } var browsingMenuIconsColor: UIColor { UIColor(designSystemColor: .textPrimary) } var browsingMenuSeparatorColor: UIColor { UIColor(designSystemColor: .lines) } @@ -92,4 +89,7 @@ extension Theme { var autocompleteSuggestionTextColor: UIColor { UIColor(designSystemColor: .textPrimary) } var tableCellSeparatorColor: UIColor { UIColor(designSystemColor: .lines) } + // No design system colour yet, so fall back to SDK colours + var tableCellAccessoryTextColor: UIColor { .secondaryLabel } + }