Show a resting-state border on raised text fields

This commit is contained in:
Jürgen Wischer
2026-07-14 22:36:52 +02:00
committed by Mauro
parent ce78d1999e
commit 814cb99105
@@ -138,7 +138,7 @@ public struct CompoundTextFieldStyle: @MainActor TextFieldStyle {
/// The width of the text field's border.
private var borderWidth: CGFloat {
isFocused || isError ? 1.0 : 0
isFocused || isError || kind.isRaised ? 1.0 : 0
}
private var accentColor: Color {