File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -270,8 +270,8 @@ protocol _TopDividerComponent {
270270// sourcery: BaseComponent
271271protocol _CloseActionComponent {
272272 // sourcery: @ViewBuilder
273- // sourcery: defaultValue = "FioriButton { _ in Image(systemName : "xmark ") }"
274- // sourcery: resultBuilder.defaultValue = "{ FioriButton { _ in Image(systemName : "xmark ") } }"
273+ // sourcery: defaultValue = "FioriButton { _ in Image(fioriName : "fiori.decline ") }"
274+ // sourcery: resultBuilder.defaultValue = "{ FioriButton { _ in Image(fioriName : "fiori.decline ") } }"
275275 var closeAction : FioriButton ? { get }
276276}
277277
Original file line number Diff line number Diff line change @@ -115,8 +115,12 @@ struct AIWACloseButtonStyle: FioriButtonStyle {
115115 let isPressed = configuration. state == . highlighted || configuration. state == . selected
116116 let isDisabled = configuration. state == . disabled
117117 return configuration. label
118- . font ( Font . fiori ( forTextStyle : . footnote , weight: . semibold ) )
118+ . font ( . system ( size : 8 , weight: . bold ) )
119119 . foregroundColor ( . preferredColor( isPressed || isDisabled ? . quaternaryLabel : . primaryLabel) )
120+ . padding ( 8 )
121+ . background {
122+ Circle ( ) . fill ( Color . preferredColor ( . tertiaryFill) )
123+ }
120124 }
121125}
122126
You can’t perform that action at this time.
0 commit comments