Skip to content

Commit d08e5b0

Browse files
author
Giorgio Ruscigno
committed
Update JetpackPrologueStyleGuide, some minor refactors
1 parent 2230eb4 commit d08e5b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

WordPress/Jetpack/Classes/NUX/JetpackPrologueStyleGuide.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ struct JetpackPrologueStyleGuide {
3232
static let oldSiteBorderColor = UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 0.40)
3333
static let oldSiteHighlightedBorderColor = UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 0.20)
3434
// combined
35-
static let siteFillColor = FeatureFlag.newLandingScreen.enabled ? .white : backgroundColor
35+
static let siteFillColor = FeatureFlag.newLandingScreen.enabled ? .white : oldBackgroundColor
3636
static let siteBorderColor = FeatureFlag.newLandingScreen.enabled ? .white : oldSiteBorderColor
3737
static let siteTextColor = FeatureFlag.newLandingScreen.enabled ? UIColor.black : UIColor.white
38-
static let siteHighlightedFillColor = FeatureFlag.newLandingScreen.enabled ? whiteWithAlpha07 : backgroundColor
38+
static let siteHighlightedFillColor = FeatureFlag.newLandingScreen.enabled ? whiteWithAlpha07 : oldBackgroundColor
3939
static let siteHighlightedBorderColor = FeatureFlag.newLandingScreen.enabled ? whiteWithAlpha07 : oldSiteHighlightedBorderColor
4040
static let siteHighlightedTextColor = FeatureFlag.newLandingScreen.enabled ? .black : whiteWithAlpha07
4141

0 commit comments

Comments
 (0)