Skip to content

Commit ca17eb0

Browse files
committed
Added more colorises.
1 parent db2ba89 commit ca17eb0

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

Sources/SparrowKit/UIKit/Classes/Buttons/Dimmed/SPDimmedButton+Colorise.swift

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,16 @@ extension SPDimmedButton {
9595
return .init(content: .tint, background: .custom(.clear))
9696
}
9797

98+
@available(iOS 13.0, *)
99+
public static var tintedContentPlainBackground : Colorise {
100+
return .init(content: .tint, background: .custom(.tertiarySystemBackground))
101+
}
102+
103+
@available(iOS 13.0, *)
104+
public static var tintedContentGroupBackground : Colorise {
105+
return .init(content: .tint, background: .custom(.tertiarySystemGroupedBackground))
106+
}
107+
98108
public static var tintedColorful: Colorise {
99109
return .init(content: .custom(.white), background: .tint)
100110
}
@@ -105,3 +115,4 @@ extension SPDimmedButton {
105115
}
106116
}
107117
#endif
118+

0 commit comments

Comments
 (0)