internal extension Color {
// Assets.xcassets
static var midnightBlue : Color { Color("midnightBlue", bundle: BundleToken.bundle) }
}
internal extension Image {
// Assets.xcassets
static var abc : Color { Image("abc", bundle: BundleToken.bundle) }
}
Color.midnightBlue // Color
Image.abc // Image
@MeteC this can work, sure. Alternatively you can rename your red color to preserve the Color.name syntax.