Use neutral backgrounds for resolved attention cards

This commit is contained in:
Ian Gulliver
2026-10-21 12:16:28 -07:00
parent e82a9f9ef7
commit 500e43edd1
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ struct AttentionCard<Content: View>: View {
.padding(.horizontal, 12)
.padding(.vertical, 8)
.frame(maxWidth: .infinity, alignment: .leading)
.background(open ? Palette.warnTint : Palette.warnFaint, in: RoundedRectangle(cornerRadius: 10))
.background(open ? Palette.warnTint : Palette.surface, in: RoundedRectangle(cornerRadius: 10))
.overlay(RoundedRectangle(cornerRadius: 10).stroke(open ? Palette.warn.opacity(0.55) : Palette.border))
}
}
-1
View File
@@ -14,7 +14,6 @@ enum Palette {
static let dangerTint = dynamic(0xfdecea, 0x3a1f1d)
static let warn = dynamic(0x855600, 0xf2c66d)
static let warnTint = dynamic(0xfdf3dc, 0x352a14)
static let warnFaint = dynamic(0xfcf8ec, 0x221f19)
static let ok = dynamic(0x1a7f37, 0x7fd88f)
static let okTint = dynamic(0xe5f4e9, 0x1b3322)
static let task0 = dynamic(0xa4273f, 0xfe9fa6)