Skip to content

Commit

Permalink
better overlay colors for content cards
Browse files Browse the repository at this point in the history
  • Loading branch information
mickmaccallum committed Dec 14, 2024
1 parent eed9ba7 commit fb035cd
Showing 1 changed file with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@ struct FeedContentCardView: View {
text: content,
localAttributes: ParraAttributes.Label(
text: ParraAttributes.Text(
style: .callout,
color: palette.primaryText.toParraColor(),
style: .headline,
color: palette.secondaryChipText.toParraColor(),
alignment: .leading
)
)
Expand All @@ -204,8 +204,8 @@ struct FeedContentCardView: View {
text: content,
localAttributes: ParraAttributes.Label(
text: ParraAttributes.Text(
style: .callout,
color: palette.secondaryText.toParraColor(),
style: .subheadline,
color: palette.secondaryChipText.toParraColor(),
alignment: .leading
)
)
Expand All @@ -224,9 +224,9 @@ struct FeedContentCardView: View {
gradient: Gradient(
colors: [
.clear,
.black.opacity(0.3),
.black.opacity(0.7),
.black.opacity(0.7)
palette.secondaryChipBackground.toParraColor().opacity(0.7),
palette.secondaryChipBackground.toParraColor().opacity(0.85),
palette.secondaryChipBackground.toParraColor().opacity(1.0)
]
),
startPoint: .top,
Expand Down

0 comments on commit fb035cd

Please sign in to comment.