diff --git a/BrowserKit/Sources/Common/Theming/DarkTheme.swift b/BrowserKit/Sources/Common/Theming/DarkTheme.swift index c637187ac4b9c..ac0dc46e1349e 100644 --- a/BrowserKit/Sources/Common/Theming/DarkTheme.swift +++ b/BrowserKit/Sources/Common/Theming/DarkTheme.swift @@ -57,8 +57,8 @@ private struct DarkColourPalette: ThemeColourPalette { // MARK: - Actions var actionPrimary: UIColor = FXColors.Blue30 var actionPrimaryHover: UIColor = FXColors.Blue20 - var actionSecondary: UIColor = FXColors.DarkGrey10 - var actionSecondaryHover: UIColor = FXColors.DarkGrey05 + var actionSecondary: UIColor = FXColors.DarkGrey05 + var actionSecondaryHover: UIColor = FXColors.LightGrey90 var formSurfaceOff: UIColor = FXColors.DarkGrey05 var formKnob: UIColor = FXColors.White var indicatorActive: UIColor = FXColors.LightGrey90 diff --git a/BrowserKit/Sources/Common/Theming/PrivateModeTheme.swift b/BrowserKit/Sources/Common/Theming/PrivateModeTheme.swift index 66403daa4473f..5ddd138a203af 100644 --- a/BrowserKit/Sources/Common/Theming/PrivateModeTheme.swift +++ b/BrowserKit/Sources/Common/Theming/PrivateModeTheme.swift @@ -59,8 +59,8 @@ private struct PrivateModeColorPalette: ThemeColourPalette { // MARK: - Actions var actionPrimary: UIColor = FXColors.Blue30 var actionPrimaryHover: UIColor = FXColors.Blue20 - var actionSecondary: UIColor = FXColors.LightGrey30 - var actionSecondaryHover: UIColor = FXColors.LightGrey20 + var actionSecondary: UIColor = FXColors.DarkGrey05 + var actionSecondaryHover: UIColor = FXColors.LightGrey90 var formSurfaceOff: UIColor = FXColors.DarkGrey05 var formKnob: UIColor = FXColors.White var indicatorActive: UIColor = FXColors.LightGrey90 diff --git a/firefox-ios/Client/Frontend/Autofill/LoginCellView.swift b/firefox-ios/Client/Frontend/Autofill/LoginCellView.swift index 32a0427461ac7..ca5d1338a1399 100644 --- a/firefox-ios/Client/Frontend/Autofill/LoginCellView.swift +++ b/firefox-ios/Client/Frontend/Autofill/LoginCellView.swift @@ -72,7 +72,7 @@ struct LoginCellView: View { textColor = Color(color.textPrimary) customLightGray = Color(color.textSecondary) iconPrimary = Color(color.iconPrimary) - stroke = Color(color.actionSecondary) + stroke = Color(color.actionError) } } @@ -91,7 +91,7 @@ struct LoginButtonStyle: ButtonStyle { style: .continuous ) .stroke(style: StrokeStyle()) - .foregroundColor(Color(theme.colors.actionSecondary)) + .foregroundColor(Color(theme.colors.actionError)) ) .clipShape(RoundedRectangle(cornerRadius: 12, style: .continuous)) } diff --git a/firefox-ios/Client/Frontend/Browser/FindInPageBar.swift b/firefox-ios/Client/Frontend/Browser/FindInPageBar.swift index 3ae15012750f8..c6fd50327fada 100644 --- a/firefox-ios/Client/Frontend/Browser/FindInPageBar.swift +++ b/firefox-ios/Client/Frontend/Browser/FindInPageBar.swift @@ -186,8 +186,8 @@ class FindInPageBar: UIView, ThemeApplicable { func applyTheme(theme: Theme) { let colors = theme.colors topBorder.backgroundColor = colors.borderPrimary - searchText.textColor = colors.textPrimary - matchCountView.textColor = colors.actionSecondary + searchText.textColor = theme.type == .light ? colors.textPrimary : colors.textInverted + matchCountView.textColor = colors.textSecondary previousButton.setTitleColor(colors.iconPrimary, for: .normal) nextButton.setTitleColor(colors.iconPrimary, for: .normal) closeButton.setTitleColor(colors.iconPrimary, for: .normal) diff --git a/firefox-ios/Client/Frontend/Onboarding/ViewControllers/FirstInstall/IntroViewController.swift b/firefox-ios/Client/Frontend/Onboarding/ViewControllers/FirstInstall/IntroViewController.swift index 976ffdaeedda1..a1b8b1a670080 100644 --- a/firefox-ios/Client/Frontend/Onboarding/ViewControllers/FirstInstall/IntroViewController.swift +++ b/firefox-ios/Client/Frontend/Onboarding/ViewControllers/FirstInstall/IntroViewController.swift @@ -186,7 +186,7 @@ class IntroViewController: UIViewController, view.backgroundColor = theme.colors.layer2 pageControl.currentPageIndicatorTintColor = theme.colors.actionPrimary - pageControl.pageIndicatorTintColor = theme.colors.actionSecondary + pageControl.pageIndicatorTintColor = theme.colors.formSurfaceOff viewModel.availableCards.forEach { $0.applyTheme() } } diff --git a/firefox-ios/Client/Frontend/Onboarding/ViewControllers/Update/UpdateViewController.swift b/firefox-ios/Client/Frontend/Onboarding/ViewControllers/Update/UpdateViewController.swift index 5fd687f6824e0..600ffbcf4eac9 100644 --- a/firefox-ios/Client/Frontend/Onboarding/ViewControllers/Update/UpdateViewController.swift +++ b/firefox-ios/Client/Frontend/Onboarding/ViewControllers/Update/UpdateViewController.swift @@ -163,7 +163,7 @@ class UpdateViewController: UIViewController, !viewModel.shouldShowSingleCard else { return } pageControl.currentPageIndicatorTintColor = theme.colors.actionPrimary - pageControl.pageIndicatorTintColor = theme.colors.actionSecondary + pageControl.pageIndicatorTintColor = theme.colors.formSurfaceOff } } diff --git a/firefox-ios/Client/Frontend/Settings/Main/SettingDisclosureUtility.swift b/firefox-ios/Client/Frontend/Settings/Main/SettingDisclosureUtility.swift index 83d61d85114b0..35d4cb7e97e11 100644 --- a/firefox-ios/Client/Frontend/Settings/Main/SettingDisclosureUtility.swift +++ b/firefox-ios/Client/Frontend/Settings/Main/SettingDisclosureUtility.swift @@ -12,7 +12,7 @@ struct SettingDisclosureUtility { disclosureIndicator.image = UIImage( named: StandardImageIdentifiers.Large.chevronRight )?.withRenderingMode(.alwaysTemplate).imageFlippedForRightToLeftLayoutDirection() - disclosureIndicator.tintColor = theme.colors.actionSecondary + disclosureIndicator.tintColor = theme.colors.iconSecondary disclosureIndicator.sizeToFit() return disclosureIndicator } diff --git a/firefox-ios/Client/Frontend/Toolbar+URLBar/LockButton.swift b/firefox-ios/Client/Frontend/Toolbar+URLBar/LockButton.swift index 41d773e9ca7c9..c8789a88378c1 100644 --- a/firefox-ios/Client/Frontend/Toolbar+URLBar/LockButton.swift +++ b/firefox-ios/Client/Frontend/Toolbar+URLBar/LockButton.swift @@ -51,7 +51,7 @@ class LockButton: UIButton { extension LockButton: ThemeApplicable { func applyTheme(theme: Theme) { selectedTintColor = theme.colors.actionPrimary - disabledTintColor = theme.colors.actionSecondary + disabledTintColor = theme.colors.iconDisabled unselectedTintColor = theme.colors.textPrimary tintColor = isEnabled ? unselectedTintColor : disabledTintColor } diff --git a/firefox-ios/Client/Frontend/Widgets/OneLineTableViewCell.swift b/firefox-ios/Client/Frontend/Widgets/OneLineTableViewCell.swift index 804292c3592ba..7a35ae69ee693 100644 --- a/firefox-ios/Client/Frontend/Widgets/OneLineTableViewCell.swift +++ b/firefox-ios/Client/Frontend/Widgets/OneLineTableViewCell.swift @@ -165,7 +165,7 @@ class OneLineTableViewCell: UITableViewCell, backgroundColor = theme.colors.layer5 titleLabel.textColor = theme.colors.textPrimary bottomSeparatorView.backgroundColor = theme.colors.borderPrimary - accessoryView?.tintColor = theme.colors.actionSecondary + accessoryView?.tintColor = theme.colors.iconSecondary leftImageView.tintColor = theme.colors.textPrimary } } diff --git a/firefox-ios/Client/Frontend/Widgets/TwoLineImageOverlayCell.swift b/firefox-ios/Client/Frontend/Widgets/TwoLineImageOverlayCell.swift index 9844768eb44e8..a3c5cbe62b079 100644 --- a/firefox-ios/Client/Frontend/Widgets/TwoLineImageOverlayCell.swift +++ b/firefox-ios/Client/Frontend/Widgets/TwoLineImageOverlayCell.swift @@ -146,7 +146,7 @@ class TwoLineImageOverlayCell: UITableViewCell, titleLabel.textColor = theme.colors.textPrimary descriptionLabel.textColor = theme.colors.textSecondary leftImageView.layer.borderColor = theme.colors.borderPrimary.cgColor - accessoryView?.tintColor = theme.colors.actionSecondary + accessoryView?.tintColor = theme.colors.iconSecondary topSeparatorView.backgroundColor = theme.colors.borderPrimary bottomSeparatorView.backgroundColor = theme.colors.borderPrimary }