Revert "Replace DesignKit with package from ElementX."

This reverts the following commits:
4858d72afb
6827d2a854
92c5874359
0a9bd1fbe6
This commit is contained in:
Doug
2022-08-18 11:50:08 +01:00
committed by Doug
parent 4dde22c6b7
commit 2b1bd6f772
55 changed files with 1051 additions and 191 deletions
@@ -38,7 +38,7 @@ struct SpaceAvatarImage: View {
.padding(10)
.frame(width: CGFloat(size.rawValue), height: CGFloat(size.rawValue))
.foregroundColor(.white)
.background(theme.colors.contentAndAvatars[colorIndex])
.background(theme.colors.namesAndAvatars[colorIndex])
.clipShape(RoundedRectangle(cornerRadius: 8))
// Make the text resizable (i.e. Make it large and then allow it to scale down)
.font(.system(size: 200))
@@ -55,7 +55,7 @@ struct SpaceAvatarImage: View {
mxContentUri: mxContentUri,
matrixItemId: matrixItemId,
displayName: value,
colorCount: theme.colors.contentAndAvatars.count,
colorCount: theme.colors.namesAndAvatars.count,
avatarSize: size
)
})
@@ -65,7 +65,7 @@ struct SpaceAvatarImage: View {
mxContentUri: mxContentUri,
matrixItemId: matrixItemId,
displayName: displayName,
colorCount: theme.colors.contentAndAvatars.count,
colorCount: theme.colors.namesAndAvatars.count,
avatarSize: size
)
}