Skip to content

Commit

Permalink
update colors
Browse files Browse the repository at this point in the history
  • Loading branch information
cyndichin committed Mar 21, 2024
1 parent 87d63ba commit 8dc9f5b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions BrowserKit/Sources/Common/Theming/DarkTheme.swift
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ private struct DarkColourPalette: 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.DarkGrey10
var actionSecondaryHover: UIColor = FXColors.DarkGrey05
var formSurfaceOff: UIColor = FXColors.DarkGrey05
var formKnob: UIColor = FXColors.White
var indicatorActive: UIColor = FXColors.LightGrey90
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ public class SecondaryRoundedButton: ResizableButton, ThemeApplicable {
public func applyTheme(theme: Theme) {
highlightedBackgroundColor = theme.colors.actionSecondaryHover
normalBackgroundColor = theme.colors.actionSecondary
foregroundColor = theme.colors.textOnLight
foregroundColor = theme.colors.textPrimary

setNeedsUpdateConfiguration()
}
Expand Down
2 changes: 1 addition & 1 deletion firefox-ios/Client/Frontend/Browser/FindInPageBar.swift
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ class FindInPageBar: UIView, ThemeApplicable {
func applyTheme(theme: Theme) {
let colors = theme.colors
topBorder.backgroundColor = colors.borderPrimary
searchText.textColor = theme.type == .light ? colors.textPrimary : colors.textInverted
searchText.textColor = colors.textPrimary
matchCountView.textColor = colors.actionSecondary
previousButton.setTitleColor(colors.iconPrimary, for: .normal)
nextButton.setTitleColor(colors.iconPrimary, for: .normal)
Expand Down

0 comments on commit 8dc9f5b

Please sign in to comment.