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
@@ -31,7 +31,7 @@ class EffectsScene: SCNScene {
static func confetti(with theme: ThemeSwiftUI) -> EffectsScene? {
guard let scene = EffectsScene(named: Constants.confettiSceneName) else { return nil }
let colors: [[Float]] = theme.colors.contentAndAvatars.compactMap { $0.floatComponents }
let colors: [[Float]] = theme.colors.namesAndAvatars.compactMap { $0.floatComponents }
if let particles = scene.rootNode.childNode(withName: Constants.particlesNodeName, recursively: false)?.particleSystems?.first {
// The particles need a non-zero color variation for the handler to affect the color