Skip to content

Commit

Permalink
chore: Elm theme improvements on Profile (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
saeedbashir authored Oct 2, 2024
1 parent d3deebb commit 722b59d
Show file tree
Hide file tree
Showing 17 changed files with 86 additions and 134 deletions.
22 changes: 0 additions & 22 deletions Core/Core/Assets.xcassets/Profile/bg_delete.imageset/Contents.json

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,17 +1,7 @@
{
"images" : [
{
"filename" : "Group 82 (1).svg",
"idiom" : "universal"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"filename" : "Group 82-2.svg",
"filename" : "noavatar.svg",
"idiom" : "universal"
}
],
Expand Down

This file was deleted.

20 changes: 0 additions & 20 deletions Core/Core/Assets.xcassets/Profile/noAvatar.imageset/Group 82-2.svg

This file was deleted.

12 changes: 12 additions & 0 deletions Core/Core/Assets.xcassets/Profile/noAvatar.imageset/noavatar.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 0 additions & 2 deletions Core/Core/SwiftGen/Assets.swift
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,9 @@ public enum CoreAssets {
public static let profile = ImageAsset(name: "profile")
public static let programs = ImageAsset(name: "programs")
public static let addPhoto = ImageAsset(name: "addPhoto")
public static let bgDelete = ImageAsset(name: "bg_delete")
public static let checkmark = ImageAsset(name: "checkmark")
public static let deleteAccount = ImageAsset(name: "deleteAccount")
public static let deleteChar = ImageAsset(name: "delete_char")
public static let deleteEyes = ImageAsset(name: "delete_eyes")
public static let done = ImageAsset(name: "done")
public static let gallery = ImageAsset(name: "gallery")
public static let leaveProfile = ImageAsset(name: "leaveProfile")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ public struct DeleteAccountView: View {
VStack {
Group {
ZStack {
CoreAssets.bgDelete.swiftUIImage
CoreAssets.deleteChar.swiftUIImage
.foregroundColor(Theme.Colors.accentXColor)
.offset(y: -31)
CoreAssets.deleteEyes.swiftUIImage
.offset(x: -7, y: -27)
Circle()
.foregroundColor(Theme.Colors.deleteAccountBG)
.frame(width: 104, height: 104)
CoreAssets.deleteChar.swiftUIImage.renderingMode(.template)
.resizable()
.foregroundColor(Theme.Colors.white)
.frame(width: 60, height: 60)
.offset(y: -5)
.accessibilityIdentifier("delete_account_image")
}.padding(.top, 50)

Expand Down
Loading

0 comments on commit 722b59d

Please sign in to comment.