Use the UIColors directly instead of wrapping the SwiftUI Colors. (#3324)

This commit is contained in:
Doug
2024-09-24 12:24:03 +01:00
committed by GitHub
parent d73681221d
commit c264e9e590
8 changed files with 21 additions and 11 deletions
+6
View File
@@ -60,6 +60,12 @@ custom_rules:
message: "Please use explicit spacing in HStacks."
severity: warning
compound_color_conversion:
regex: "UIColor\\(\\.compound"
match_kinds: identifier
message: "Please use the UIColor token directly to ensure the colour scheme is honoured."
severity: warning
print_deprecation:
regex: "\\b(print)\\b"
match_kinds: identifier