Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace FXIOS-11247 Replace usage of UIColor.Photon.White100 #24479

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}
}