Skip to content

Commit

Permalink
More fixes from rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdholtz committed Jan 13, 2025
1 parent d5f2c64 commit 2a109b7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ private enum FamilySharingTogglePreview {
)
),
fitMode: .fill,
maxHeight: 200,
gradientColors: ["#ffffff00", "#ffffff00", "#ffffffff"]
colorOverlay: .init(light: .linear(0, [
.init(color: "#ffffff", percent: 0),
.init(color: "#ffffff00", percent: 40)
]))
)

static let catFamilyImage = PaywallComponent.ImageComponent(
Expand All @@ -57,8 +59,10 @@ private enum FamilySharingTogglePreview {
)
),
fitMode: .fill,
maxHeight: 200,
gradientColors: ["#ffffff00", "#ffffff00", "#ffffffff"]
colorOverlay: .init(light: .linear(0, [
.init(color: "#ffffff", percent: 0),
.init(color: "#ffffff00", percent: 40)
]))
)

static let title = PaywallComponent.TextComponent(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,10 @@ private enum MultiTierPreview {
)
),
fitMode: .fill,
maxHeight: 200,
gradientColors: ["#ffffff00", "#ffffff00", "#ffffffff"]
colorOverlay: .init(light: .linear(0, [
.init(color: "#ffffff", percent: 0),
.init(color: "#ffffff00", percent: 40)
]))
)

static let title = PaywallComponent.TextComponent(
Expand Down

0 comments on commit 2a109b7

Please sign in to comment.