add more icons

This commit is contained in:
Trey t
2022-03-05 13:00:42 -06:00
parent 2223e9f5ec
commit 30cabe649b
86 changed files with 596 additions and 3 deletions

View File

@@ -32,7 +32,10 @@ struct CustomizeView: View {
("AppIconGoodImage", "AppIconGood"),
("AppIconAverageImage", "AppIconAverage"),
("AppIconBadImage", "AppIconBad"),
("AppIconHorribleImage", "AppIconHorrible")
("AppIconBlueGreenImage", "AppIconBlueGreen"),
("AppIconNeonGreenImage", "AppIconNeonGreen"),
("AppIconPinkImage", "AppIconPink"),
("AppIconPurpleImage", "AppIconPurple")
]
var body: some View {

View File

@@ -226,6 +226,7 @@ struct SettingsView: View {
theme.currentTheme.secondaryBGColor
Button(action: {
var iconViews = [UIImage]()
for _ in 0...300 {
iconViews.append(
IconView(iconViewModel: IconViewModel(
@@ -234,8 +235,9 @@ struct SettingsView: View {
bgOverlayColor: Color.random(),
centerImage: MoodImages.FontAwesome.icon(forMood: .great),
innerColor: Color.random())
).asImage(size: CGSize(width: 1024, height: 1024)))
}
).asImage(size: CGSize(width: 1024, height: 1024)))
}
// iconViews.append(
// IconView(iconViewModel: IconViewModel.great).asImage(size: CGSize(width: 1024, height: 1024))
// )
@@ -254,6 +256,46 @@ struct SettingsView: View {
//
// iconViews.append(
// IconView(iconViewModel: IconViewModel.horrible).asImage(size: CGSize(width: 1024, height: 1024))
// )
// iconViews.append(
// IconView(iconViewModel: IconViewModel(
// backgroundImage: MoodImages.FontAwesome.icon(forMood: .great),
// bgColor: Color(hex: "EF0CF3"),
// bgOverlayColor: Color(hex: "EF0CF3").darker(by: 40),
// centerImage: MoodImages.FontAwesome.icon(forMood: .great),
// innerColor: Color(hex: "EF0CF3"))
// ).asImage(size: CGSize(width: 1024, height: 1024))
// )
//
// iconViews.append(
// IconView(iconViewModel: IconViewModel(
// backgroundImage: MoodImages.FontAwesome.icon(forMood: .great),
// bgColor: Color(hex: "1AE5D6"),
// bgOverlayColor: Color(hex: "1AE5D6").darker(by: 40),
// centerImage: MoodImages.FontAwesome.icon(forMood: .great),
// innerColor: Color(hex: "1AE5D6"))
// ).asImage(size: CGSize(width: 1024, height: 1024))
// )
//
// iconViews.append(
// IconView(iconViewModel: IconViewModel(
// backgroundImage: MoodImages.FontAwesome.icon(forMood: .great),
// bgColor: Color(hex: "633EC1"),
// bgOverlayColor: Color(hex: "633EC1").darker(by: 40),
// centerImage: MoodImages.FontAwesome.icon(forMood: .great),
// innerColor: Color(hex: "633EC1"))
// ).asImage(size: CGSize(width: 1024, height: 1024))
// )
//
// iconViews.append(
// IconView(iconViewModel: IconViewModel(
// backgroundImage: MoodImages.FontAwesome.icon(forMood: .great),
// bgColor: Color(hex: "10F30C"),
// bgOverlayColor: Color(hex: "10F30C").darker(by: 40),
// centerImage: MoodImages.FontAwesome.icon(forMood: .great),
// innerColor: Color(hex: "10F30C"))
// ).asImage(size: CGSize(width: 1024, height: 1024))
// )
for (idx, image) in iconViews.enumerated() {