Squarer label chips on web

This commit is contained in:
Jackson Harper
2022-11-29 15:27:54 +08:00
parent 29b2cedcf0
commit 8ff154e2f4
2 changed files with 6 additions and 4 deletions

View File

@ -58,7 +58,7 @@ public struct TextChip: View {
}
var backgroundColor: Color {
color.opacity(colorScheme == .dark ? 0.08 : 1)
color.opacity(colorScheme == .dark ? 0.2 : 1)
}
var borderColor: Color {
@ -73,7 +73,7 @@ public struct TextChip: View {
ZStack(alignment: .topTrailing) {
Text(text)
.strikethrough(color: negated ? textColor : .clear)
.padding(.horizontal, 10)
.padding(.horizontal, 8)
.padding(.vertical, 5)
.font(.appCaptionBold)
.foregroundColor(textColor)