Import colors from Figma library #4

Merged
Sven merged 15 commits from figma into main 2022-10-08 11:14:23 +00:00
Showing only changes of commit d7d34812cf - Show all commits

View file

@ -33,7 +33,10 @@ private struct ImporterOption: CaseIterable, ExpressibleByArgument, CustomString
}
init?(argument: String) {
guard let found = Self.allCases.first(where: { $0.description.caseInsensitiveCompare(argument) == .orderedSame }) else {
guard
let found = Self.allCases
.first(where: { $0.description.caseInsensitiveCompare(argument) == .orderedSame })
else {
return nil
}
self = found