Skip to content

Commit 9f38f1f

Browse files
committed
[design] #167 안읽음 뱃지 디자인 변경
1 parent ef1fed7 commit 9f38f1f

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Projects/DSKit/Sources/Components/PokitBadge.swift

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,14 @@ public struct PokitBadge: View {
1919
.background {
2020
RoundedRectangle(cornerRadius: 4, style: .continuous)
2121
.fill(backgroundColor)
22-
.overlay {
23-
if state == .unRead {
24-
RoundedRectangle(cornerRadius: 4, style: .continuous)
25-
.stroke(.pokit(.border(.brand)), lineWidth: 1)
26-
}
27-
}
2822
}
2923
}
3024

3125
private var backgroundColor: Color {
3226
switch self.state {
3327
case .default, .small, .memo, .member: return .pokit(.bg(.primary))
3428
case .unCategorized: return .pokit(.color(.grayScale(._50)))
35-
case .unRead: return .pokit(.bg(.base))
29+
case .unRead: return Color(red: 1, green: 0.95, blue: 0.92)
3630
}
3731
}
3832

0 commit comments

Comments
 (0)