Fixup missing colours and use resolved colours in UIKit.

Fix the confetti colour when using DesignKit.
Pin swift packages.
Fix UI tests target.
This commit is contained in:
Doug
2022-05-27 20:42:44 +01:00
committed by Doug
parent ad4674c0d4
commit 7d29bca319
30 changed files with 195 additions and 51 deletions
@@ -36,11 +36,14 @@ public protocol ThemeSwiftUIType {
/// may contain more design components in future, like icons, audio files etc.
}
#warning("Temporary missing colors")
public extension ElementColors {
var quarterlyContent: Color { quaternaryContent }
var navigation: Color { system }
var tile: Color { system }
// MARK: - Legacy
var legacyTile: Color {
let dynamicColor = UIColor { $0.userInterfaceStyle == .light ? .elementLight.tile : .elementDark.tile }
return Color(dynamicColor)
}
// TODO: Generate in DesignTokens repo.
var namesAndAvatars: [Color] {
[
globalAzure,