Skip to content

Commit ffa99e1

Browse files
committed
Unify pill colours
1 parent a48ee4f commit ffa99e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

DesignSystem/Sources/DesignSystem/Components/PostDisplayView.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public struct PostDisplayView: View {
128128
// Avoid keeping a disabled Button so the upvoted state retains the bright tint
129129
let (backgroundColor, textColor): (Color, Color) = {
130130
if isUpvoted {
131-
return (AppColors.upvotedColor.opacity(0.1), AppColors.upvotedColor)
131+
return (AppColors.upvotedColor.opacity(0.2), AppColors.upvotedColor)
132132
} else {
133133
return (Color.secondary.opacity(0.1), .secondary)
134134
}
@@ -179,9 +179,9 @@ public struct PostDisplayView: View {
179179
let isBookmarked = displayedBookmarked
180180
let backgroundColor: Color = {
181181
if isBookmarked {
182-
return AppColors.appTintColor.opacity(0.12)
182+
return AppColors.appTintColor.opacity(0.1)
183183
}
184-
return Color.secondary.opacity(0.06)
184+
return Color.secondary.opacity(0.1)
185185
}()
186186
let textColor: Color = isBookmarked ? AppColors.appTintColor : .secondary
187187
let iconName = isBookmarked ? "bookmark.fill" : "bookmark"

0 commit comments

Comments
 (0)