Skip to content

Commit

Permalink
Replace FXIOS-11247 Replace usage of UIColor.Photon.White100 (mozilla…
Browse files Browse the repository at this point in the history
…-mobile#24479)

replace usage of UIColor.Photon.White100 with UIColor.white
  • Loading branch information
yusuphjoluwasen authored and aya-en-amir committed Feb 5, 2025
1 parent f406fd4 commit 5042bc3
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion firefox-ios/Client/Frontend/Browser/TopTabFader.swift
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class TopTabFader: UIView {

private lazy var hMaskLayer: CAGradientLayer = {
let hMaskLayer = CAGradientLayer()
let innerColor = UIColor.Photon.White100.cgColor
let innerColor = UIColor.white.cgColor
let outerColor = UIColor(white: 1, alpha: 0.0).cgColor

hMaskLayer.anchorPoint = .zero
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ extension UIColor {

static let Purple60 = UIColor(rgb: 0x952bb9)

static let White100 = UIColor(rgb: 0xffffff)

static let Grey60 = UIColor(rgb: 0x4a4a4f)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ open class GradientProgressBar: UIProgressView {
alphaMaskLayer.anchorPoint = .zero
alphaMaskLayer.position = .zero

alphaMaskLayer.backgroundColor = UIColor.Photon.White100.cgColor
alphaMaskLayer.backgroundColor = UIColor.white.cgColor
}

private func setupGradientLayer() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ extension UIColor {
}

static var cellBackgroundColor: UIColor {
return UIColor(named: "credentialCellColor") ?? UIColor.Photon.White100
return UIColor(named: "credentialCellColor") ?? UIColor.white
}

static var tableViewBackgroundColor: UIColor = .systemGroupedBackground

static var welcomeScreenBackgroundColor: UIColor {
return UIColor(named: "launchScreenBackgroundColor") ?? UIColor.Photon.White100
return UIColor(named: "launchScreenBackgroundColor") ?? UIColor.white
}
}
}

0 comments on commit 5042bc3

Please sign in to comment.