@@ -53,21 +53,29 @@ public extension Button.Style {
5353 }
5454
5555 static var secondaryBrand : Button . Style {
56- return Button . Style (
56+ Button . Style (
5757 allowsBleedingAlignment: false ,
5858 stateStyleByState: [
59- . normal: Button . StateStyle ( textColor: . textButtonSecondaryInverse,
60- backgroundColor: . buttonSecondaryBackgroundBrand,
61- borderColor: . buttonSecondaryBorderInverse) ,
62- . selected: Button . StateStyle ( textColor: . textButtonSecondaryInversePressed,
63- backgroundColor: . buttonSecondaryBackgroundBrandPressed,
64- borderColor: . buttonSecondaryBorderInversePressed) ,
65- . disabled: Button . StateStyle ( textColor: . textButtonSecondaryInverse. withAlphaComponent ( 0.5 ) ,
66- backgroundColor: . buttonSecondaryBackgroundBrand. withAlphaComponent ( 0.5 ) ,
67- borderColor: . buttonSecondaryBorderInverse. withAlphaComponent ( 0.5 ) ) ,
68- . loading: Button . StateStyle ( textColor: . textButtonSecondaryInverse,
69- backgroundColor: . buttonSecondaryBackgroundBrand,
70- borderColor: . buttonSecondaryBorderInverse)
59+ . normal: Button . StateStyle (
60+ textColor: . textButtonSecondaryInverse,
61+ backgroundColor: . buttonSecondaryBackgroundBrand,
62+ borderColor: . buttonSecondaryBorderInverse
63+ ) ,
64+ . selected: Button . StateStyle (
65+ textColor: . textButtonSecondaryInversePressed,
66+ backgroundColor: . buttonSecondaryBackgroundBrandPressed,
67+ borderColor: . buttonSecondaryBorderInversePressed
68+ ) ,
69+ . disabled: Button . StateStyle (
70+ textColor: . textButtonSecondaryInverse. withAlphaComponent ( 0.5 ) ,
71+ backgroundColor: . buttonSecondaryBackgroundBrand. withAlphaComponent ( 0.5 ) ,
72+ borderColor: . buttonSecondaryBorderInverse. withAlphaComponent ( 0.5 )
73+ ) ,
74+ . loading: Button . StateStyle (
75+ textColor: . textButtonSecondaryInverse,
76+ backgroundColor: . buttonSecondaryBackgroundBrand,
77+ borderColor: . buttonSecondaryBorderInverse
78+ )
7179 ]
7280 )
7381 }
0 commit comments