Add swiftgen build script for generating image and color assets.

This commit is contained in:
Stefan Ceriu
2022-04-14 09:22:55 +03:00
parent 3c0ca95e8f
commit 6c7dd6f6b0
15 changed files with 212 additions and 45 deletions
@@ -31,7 +31,7 @@ struct EventBasedTimelineView: View {
Image(uiImage: avatar)
.resizable()
.scaledToFill()
.overlay(Circle().stroke(Color.elementGreen))
.overlay(Circle().stroke(Color(uiColor: Asset.Colors.elementGreen.color)))
} else {
PlaceholderAvatarImage(firstCharacter: String(firstLetter))
}
@@ -29,7 +29,7 @@ struct FormattedBodyText: View {
}
}
}
.tint(.elementGreen)
.tint(Color(uiColor: Asset.Colors.elementGreen.color))
}
}