@momentum-design/tokens 0.5.1 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/css/components/complete.css +24 -0
- package/dist/css/core/complete.css +1 -1
- package/dist/css/effect/complete.css +1 -1
- package/dist/css/elevation/complete.css +1 -1
- package/dist/css/theme/aaos/day-complete.css +1 -1
- package/dist/css/theme/aaos/night-complete.css +1 -1
- package/dist/css/theme/webex/dark-bronze-stable.css +3 -1
- package/dist/css/theme/webex/dark-indigo-stable.css +3 -1
- package/dist/css/theme/webex/dark-jade-stable.css +3 -1
- package/dist/css/theme/webex/dark-lavender-stable.css +3 -1
- package/dist/css/theme/webex/dark-rose-stable.css +3 -1
- package/dist/css/theme/webex/dark-stable.css +3 -1
- package/dist/css/theme/webex/hc-dark-stable.css +3 -1
- package/dist/css/theme/webex/hc-light-stable.css +3 -1
- package/dist/css/theme/webex/light-bronze-stable.css +3 -1
- package/dist/css/theme/webex/light-indigo-stable.css +3 -1
- package/dist/css/theme/webex/light-jade-stable.css +3 -1
- package/dist/css/theme/webex/light-lavender-stable.css +3 -1
- package/dist/css/theme/webex/light-rose-stable.css +3 -1
- package/dist/css/theme/webex/light-stable.css +3 -1
- package/dist/css/typography/complete.css +1 -1
- package/dist/ios/core/complete.swift +1 -1
- package/dist/ios/effect/complete.swift +1 -1
- package/dist/ios/elevation/complete.swift +1 -1
- package/dist/ios/theme/aaos/day-complete.swift +1 -1
- package/dist/ios/theme/aaos/night-complete.swift +1 -1
- package/dist/ios/theme/webex/dark-bronze-stable.swift +3 -1
- package/dist/ios/theme/webex/dark-indigo-stable.swift +3 -1
- package/dist/ios/theme/webex/dark-jade-stable.swift +3 -1
- package/dist/ios/theme/webex/dark-lavender-stable.swift +3 -1
- package/dist/ios/theme/webex/dark-rose-stable.swift +3 -1
- package/dist/ios/theme/webex/dark-stable.swift +3 -1
- package/dist/ios/theme/webex/hc-dark-stable.swift +3 -1
- package/dist/ios/theme/webex/hc-light-stable.swift +3 -1
- package/dist/ios/theme/webex/light-bronze-stable.swift +3 -1
- package/dist/ios/theme/webex/light-indigo-stable.swift +3 -1
- package/dist/ios/theme/webex/light-jade-stable.swift +3 -1
- package/dist/ios/theme/webex/light-lavender-stable.swift +3 -1
- package/dist/ios/theme/webex/light-rose-stable.swift +3 -1
- package/dist/ios/theme/webex/light-stable.swift +3 -1
- package/dist/ios/typography/complete.swift +1 -1
- package/dist/ios-webex/theme/webex/dark-bronze-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/dark-indigo-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/dark-jade-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/dark-lavender-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/dark-rose-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/dark-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/hc-dark-stable.swift +2 -0
- package/dist/ios-webex/theme/webex/hc-light-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-bronze-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-indigo-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-jade-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-lavender-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-rose-stable.swift +6 -0
- package/dist/ios-webex/theme/webex/light-stable.swift +6 -0
- package/dist/json/theme/webex/dark-bronze-stable.json +52 -0
- package/dist/json/theme/webex/dark-indigo-stable.json +52 -0
- package/dist/json/theme/webex/dark-jade-stable.json +52 -0
- package/dist/json/theme/webex/dark-lavender-stable.json +52 -0
- package/dist/json/theme/webex/dark-rose-stable.json +52 -0
- package/dist/json/theme/webex/dark-stable.json +52 -0
- package/dist/json/theme/webex/hc-dark-stable.json +52 -0
- package/dist/json/theme/webex/hc-light-stable.json +52 -0
- package/dist/json/theme/webex/light-bronze-stable.json +52 -0
- package/dist/json/theme/webex/light-indigo-stable.json +52 -0
- package/dist/json/theme/webex/light-jade-stable.json +52 -0
- package/dist/json/theme/webex/light-lavender-stable.json +52 -0
- package/dist/json/theme/webex/light-rose-stable.json +52 -0
- package/dist/json/theme/webex/light-stable.json +52 -0
- package/dist/json-minimal/theme/webex/dark-bronze-stable.json +4 -0
- package/dist/json-minimal/theme/webex/dark-indigo-stable.json +4 -0
- package/dist/json-minimal/theme/webex/dark-jade-stable.json +4 -0
- package/dist/json-minimal/theme/webex/dark-lavender-stable.json +4 -0
- package/dist/json-minimal/theme/webex/dark-rose-stable.json +4 -0
- package/dist/json-minimal/theme/webex/dark-stable.json +4 -0
- package/dist/json-minimal/theme/webex/hc-dark-stable.json +4 -0
- package/dist/json-minimal/theme/webex/hc-light-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-bronze-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-indigo-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-jade-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-lavender-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-rose-stable.json +4 -0
- package/dist/json-minimal/theme/webex/light-stable.json +4 -0
- package/dist/resources/core/complete.xml +1 -1
- package/dist/resources/effect/complete.xml +1 -1
- package/dist/resources/elevation/complete.xml +1 -1
- package/dist/resources/theme/aaos/day-complete.xml +1 -1
- package/dist/resources/theme/aaos/night-complete.xml +1 -1
- package/dist/resources/theme/webex/dark-bronze-stable.xml +3 -1
- package/dist/resources/theme/webex/dark-indigo-stable.xml +3 -1
- package/dist/resources/theme/webex/dark-jade-stable.xml +3 -1
- package/dist/resources/theme/webex/dark-lavender-stable.xml +3 -1
- package/dist/resources/theme/webex/dark-rose-stable.xml +3 -1
- package/dist/resources/theme/webex/dark-stable.xml +3 -1
- package/dist/resources/theme/webex/hc-dark-stable.xml +3 -1
- package/dist/resources/theme/webex/hc-light-stable.xml +3 -1
- package/dist/resources/theme/webex/light-bronze-stable.xml +3 -1
- package/dist/resources/theme/webex/light-indigo-stable.xml +3 -1
- package/dist/resources/theme/webex/light-jade-stable.xml +3 -1
- package/dist/resources/theme/webex/light-lavender-stable.xml +3 -1
- package/dist/resources/theme/webex/light-rose-stable.xml +3 -1
- package/dist/resources/theme/webex/light-stable.xml +3 -1
- package/dist/resources/typography/complete.xml +1 -1
- package/dist/scss/core/complete.scss +1 -1
- package/dist/scss/effect/complete.scss +1 -1
- package/dist/scss/elevation/complete.scss +1 -1
- package/dist/scss/theme/aaos/day-complete.scss +1 -1
- package/dist/scss/theme/aaos/night-complete.scss +1 -1
- package/dist/scss/theme/webex/dark-bronze-stable.scss +3 -1
- package/dist/scss/theme/webex/dark-indigo-stable.scss +3 -1
- package/dist/scss/theme/webex/dark-jade-stable.scss +3 -1
- package/dist/scss/theme/webex/dark-lavender-stable.scss +3 -1
- package/dist/scss/theme/webex/dark-rose-stable.scss +3 -1
- package/dist/scss/theme/webex/dark-stable.scss +3 -1
- package/dist/scss/theme/webex/hc-dark-stable.scss +3 -1
- package/dist/scss/theme/webex/hc-light-stable.scss +3 -1
- package/dist/scss/theme/webex/light-bronze-stable.scss +3 -1
- package/dist/scss/theme/webex/light-indigo-stable.scss +3 -1
- package/dist/scss/theme/webex/light-jade-stable.scss +3 -1
- package/dist/scss/theme/webex/light-lavender-stable.scss +3 -1
- package/dist/scss/theme/webex/light-rose-stable.scss +3 -1
- package/dist/scss/theme/webex/light-stable.scss +3 -1
- package/dist/scss/typography/complete.scss +1 -1
- package/package.json +1 -1
|
@@ -173,6 +173,7 @@ import UIKit
|
|
|
173
173
|
var glassNormal: UIColor { get }
|
|
174
174
|
var glassOverlayNormal: UIColor { get }
|
|
175
175
|
var glassOverlayInactive: UIColor { get }
|
|
176
|
+
var inputDisabled: UIColor { get }
|
|
176
177
|
}
|
|
177
178
|
@objc public protocol MomentumThemeButtonColorPaletteProtocol: AnyObject {
|
|
178
179
|
var primaryNormal: UIColor { get }
|
|
@@ -397,6 +398,7 @@ import UIKit
|
|
|
397
398
|
var quaternaryNormal: UIColor { get }
|
|
398
399
|
}
|
|
399
400
|
@objc public protocol MomentumThemeAvatarColorPaletteProtocol: AnyObject {
|
|
401
|
+
var ghost: UIColor { get }
|
|
400
402
|
var defaultColor: UIColor { get }
|
|
401
403
|
var cobalt: UIColor { get }
|
|
402
404
|
var cyan: UIColor { get }
|
|
@@ -677,6 +679,7 @@ open class LightJadeMomentumThemeBackgroundColorPalette: MomentumThemeBackground
|
|
|
677
679
|
open var glassNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.60) }
|
|
678
680
|
open var glassOverlayNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.80) }
|
|
679
681
|
open var glassOverlayInactive: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.40) }
|
|
682
|
+
open var inputDisabled: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.11) }
|
|
680
683
|
public init() {}
|
|
681
684
|
}
|
|
682
685
|
open class LightJadeMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -912,6 +915,7 @@ open class LightJadeMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGro
|
|
|
912
915
|
public init() {}
|
|
913
916
|
}
|
|
914
917
|
open class LightJadeMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
918
|
+
open var ghost: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.00) }
|
|
915
919
|
open var defaultColor: UIColor { return UIColor(hex: 0x545454) }
|
|
916
920
|
open var cobalt: UIColor { return UIColor(hex: 0x08599C) }
|
|
917
921
|
open var cyan: UIColor { return UIColor(hex: 0x066070) }
|
|
@@ -1258,6 +1262,7 @@ open class SystemMomentumThemeBackgroundColorPalette: MomentumThemeBackgroundCol
|
|
|
1258
1262
|
open var glassNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassNormal) }
|
|
1259
1263
|
open var glassOverlayNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayNormal) }
|
|
1260
1264
|
open var glassOverlayInactive: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayInactive) }
|
|
1265
|
+
open var inputDisabled: UIColor { return systemColor(light: light, dark: dark, keyPath: \.inputDisabled) }
|
|
1261
1266
|
public init() {}
|
|
1262
1267
|
}
|
|
1263
1268
|
open class SystemMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -1515,6 +1520,7 @@ open class SystemMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGroupe
|
|
|
1515
1520
|
open class SystemMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
1516
1521
|
private let light: any MomentumThemeAvatarColorPaletteProtocol = LightMomentumThemeAvatarColorPalette()
|
|
1517
1522
|
private let dark: any MomentumThemeAvatarColorPaletteProtocol = DarkMomentumThemeAvatarColorPalette()
|
|
1523
|
+
open var ghost: UIColor { return systemColor(light: light, dark: dark, keyPath: \.ghost) }
|
|
1518
1524
|
open var defaultColor: UIColor { return systemColor(light: light, dark: dark, keyPath: \.defaultColor) }
|
|
1519
1525
|
open var cobalt: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cobalt) }
|
|
1520
1526
|
open var cyan: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cyan) }
|
|
@@ -173,6 +173,7 @@ import UIKit
|
|
|
173
173
|
var glassNormal: UIColor { get }
|
|
174
174
|
var glassOverlayNormal: UIColor { get }
|
|
175
175
|
var glassOverlayInactive: UIColor { get }
|
|
176
|
+
var inputDisabled: UIColor { get }
|
|
176
177
|
}
|
|
177
178
|
@objc public protocol MomentumThemeButtonColorPaletteProtocol: AnyObject {
|
|
178
179
|
var primaryNormal: UIColor { get }
|
|
@@ -397,6 +398,7 @@ import UIKit
|
|
|
397
398
|
var quaternaryNormal: UIColor { get }
|
|
398
399
|
}
|
|
399
400
|
@objc public protocol MomentumThemeAvatarColorPaletteProtocol: AnyObject {
|
|
401
|
+
var ghost: UIColor { get }
|
|
400
402
|
var defaultColor: UIColor { get }
|
|
401
403
|
var cobalt: UIColor { get }
|
|
402
404
|
var cyan: UIColor { get }
|
|
@@ -677,6 +679,7 @@ open class LightLavenderMomentumThemeBackgroundColorPalette: MomentumThemeBackgr
|
|
|
677
679
|
open var glassNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.60) }
|
|
678
680
|
open var glassOverlayNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.80) }
|
|
679
681
|
open var glassOverlayInactive: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.40) }
|
|
682
|
+
open var inputDisabled: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.11) }
|
|
680
683
|
public init() {}
|
|
681
684
|
}
|
|
682
685
|
open class LightLavenderMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -912,6 +915,7 @@ open class LightLavenderMomentumThemeGroupedBackgroundColorPalette: MomentumThem
|
|
|
912
915
|
public init() {}
|
|
913
916
|
}
|
|
914
917
|
open class LightLavenderMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
918
|
+
open var ghost: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.00) }
|
|
915
919
|
open var defaultColor: UIColor { return UIColor(hex: 0x545454) }
|
|
916
920
|
open var cobalt: UIColor { return UIColor(hex: 0x08599C) }
|
|
917
921
|
open var cyan: UIColor { return UIColor(hex: 0x066070) }
|
|
@@ -1258,6 +1262,7 @@ open class SystemMomentumThemeBackgroundColorPalette: MomentumThemeBackgroundCol
|
|
|
1258
1262
|
open var glassNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassNormal) }
|
|
1259
1263
|
open var glassOverlayNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayNormal) }
|
|
1260
1264
|
open var glassOverlayInactive: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayInactive) }
|
|
1265
|
+
open var inputDisabled: UIColor { return systemColor(light: light, dark: dark, keyPath: \.inputDisabled) }
|
|
1261
1266
|
public init() {}
|
|
1262
1267
|
}
|
|
1263
1268
|
open class SystemMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -1515,6 +1520,7 @@ open class SystemMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGroupe
|
|
|
1515
1520
|
open class SystemMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
1516
1521
|
private let light: any MomentumThemeAvatarColorPaletteProtocol = LightMomentumThemeAvatarColorPalette()
|
|
1517
1522
|
private let dark: any MomentumThemeAvatarColorPaletteProtocol = DarkMomentumThemeAvatarColorPalette()
|
|
1523
|
+
open var ghost: UIColor { return systemColor(light: light, dark: dark, keyPath: \.ghost) }
|
|
1518
1524
|
open var defaultColor: UIColor { return systemColor(light: light, dark: dark, keyPath: \.defaultColor) }
|
|
1519
1525
|
open var cobalt: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cobalt) }
|
|
1520
1526
|
open var cyan: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cyan) }
|
|
@@ -173,6 +173,7 @@ import UIKit
|
|
|
173
173
|
var glassNormal: UIColor { get }
|
|
174
174
|
var glassOverlayNormal: UIColor { get }
|
|
175
175
|
var glassOverlayInactive: UIColor { get }
|
|
176
|
+
var inputDisabled: UIColor { get }
|
|
176
177
|
}
|
|
177
178
|
@objc public protocol MomentumThemeButtonColorPaletteProtocol: AnyObject {
|
|
178
179
|
var primaryNormal: UIColor { get }
|
|
@@ -397,6 +398,7 @@ import UIKit
|
|
|
397
398
|
var quaternaryNormal: UIColor { get }
|
|
398
399
|
}
|
|
399
400
|
@objc public protocol MomentumThemeAvatarColorPaletteProtocol: AnyObject {
|
|
401
|
+
var ghost: UIColor { get }
|
|
400
402
|
var defaultColor: UIColor { get }
|
|
401
403
|
var cobalt: UIColor { get }
|
|
402
404
|
var cyan: UIColor { get }
|
|
@@ -677,6 +679,7 @@ open class LightRoseMomentumThemeBackgroundColorPalette: MomentumThemeBackground
|
|
|
677
679
|
open var glassNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.60) }
|
|
678
680
|
open var glassOverlayNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.80) }
|
|
679
681
|
open var glassOverlayInactive: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.40) }
|
|
682
|
+
open var inputDisabled: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.11) }
|
|
680
683
|
public init() {}
|
|
681
684
|
}
|
|
682
685
|
open class LightRoseMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -912,6 +915,7 @@ open class LightRoseMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGro
|
|
|
912
915
|
public init() {}
|
|
913
916
|
}
|
|
914
917
|
open class LightRoseMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
918
|
+
open var ghost: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.00) }
|
|
915
919
|
open var defaultColor: UIColor { return UIColor(hex: 0x545454) }
|
|
916
920
|
open var cobalt: UIColor { return UIColor(hex: 0x08599C) }
|
|
917
921
|
open var cyan: UIColor { return UIColor(hex: 0x066070) }
|
|
@@ -1258,6 +1262,7 @@ open class SystemMomentumThemeBackgroundColorPalette: MomentumThemeBackgroundCol
|
|
|
1258
1262
|
open var glassNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassNormal) }
|
|
1259
1263
|
open var glassOverlayNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayNormal) }
|
|
1260
1264
|
open var glassOverlayInactive: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayInactive) }
|
|
1265
|
+
open var inputDisabled: UIColor { return systemColor(light: light, dark: dark, keyPath: \.inputDisabled) }
|
|
1261
1266
|
public init() {}
|
|
1262
1267
|
}
|
|
1263
1268
|
open class SystemMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -1515,6 +1520,7 @@ open class SystemMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGroupe
|
|
|
1515
1520
|
open class SystemMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
1516
1521
|
private let light: any MomentumThemeAvatarColorPaletteProtocol = LightMomentumThemeAvatarColorPalette()
|
|
1517
1522
|
private let dark: any MomentumThemeAvatarColorPaletteProtocol = DarkMomentumThemeAvatarColorPalette()
|
|
1523
|
+
open var ghost: UIColor { return systemColor(light: light, dark: dark, keyPath: \.ghost) }
|
|
1518
1524
|
open var defaultColor: UIColor { return systemColor(light: light, dark: dark, keyPath: \.defaultColor) }
|
|
1519
1525
|
open var cobalt: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cobalt) }
|
|
1520
1526
|
open var cyan: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cyan) }
|
|
@@ -173,6 +173,7 @@ import UIKit
|
|
|
173
173
|
var glassNormal: UIColor { get }
|
|
174
174
|
var glassOverlayNormal: UIColor { get }
|
|
175
175
|
var glassOverlayInactive: UIColor { get }
|
|
176
|
+
var inputDisabled: UIColor { get }
|
|
176
177
|
}
|
|
177
178
|
@objc public protocol MomentumThemeButtonColorPaletteProtocol: AnyObject {
|
|
178
179
|
var primaryNormal: UIColor { get }
|
|
@@ -397,6 +398,7 @@ import UIKit
|
|
|
397
398
|
var quaternaryNormal: UIColor { get }
|
|
398
399
|
}
|
|
399
400
|
@objc public protocol MomentumThemeAvatarColorPaletteProtocol: AnyObject {
|
|
401
|
+
var ghost: UIColor { get }
|
|
400
402
|
var defaultColor: UIColor { get }
|
|
401
403
|
var cobalt: UIColor { get }
|
|
402
404
|
var cyan: UIColor { get }
|
|
@@ -677,6 +679,7 @@ open class LightMomentumThemeBackgroundColorPalette: MomentumThemeBackgroundColo
|
|
|
677
679
|
open var glassNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.60) }
|
|
678
680
|
open var glassOverlayNormal: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.80) }
|
|
679
681
|
open var glassOverlayInactive: UIColor { return UIColor(hex: 0xFFFFFF, withAlpha: 0.40) }
|
|
682
|
+
open var inputDisabled: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.11) }
|
|
680
683
|
public init() {}
|
|
681
684
|
}
|
|
682
685
|
open class LightMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -912,6 +915,7 @@ open class LightMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGrouped
|
|
|
912
915
|
public init() {}
|
|
913
916
|
}
|
|
914
917
|
open class LightMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
918
|
+
open var ghost: UIColor { return UIColor(hex: 0x000000, withAlpha: 0.00) }
|
|
915
919
|
open var defaultColor: UIColor { return UIColor(hex: 0x545454) }
|
|
916
920
|
open var cobalt: UIColor { return UIColor(hex: 0x08599C) }
|
|
917
921
|
open var cyan: UIColor { return UIColor(hex: 0x066070) }
|
|
@@ -1258,6 +1262,7 @@ open class SystemMomentumThemeBackgroundColorPalette: MomentumThemeBackgroundCol
|
|
|
1258
1262
|
open var glassNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassNormal) }
|
|
1259
1263
|
open var glassOverlayNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayNormal) }
|
|
1260
1264
|
open var glassOverlayInactive: UIColor { return systemColor(light: light, dark: dark, keyPath: \.glassOverlayInactive) }
|
|
1265
|
+
open var inputDisabled: UIColor { return systemColor(light: light, dark: dark, keyPath: \.inputDisabled) }
|
|
1261
1266
|
public init() {}
|
|
1262
1267
|
}
|
|
1263
1268
|
open class SystemMomentumThemeButtonColorPalette: MomentumThemeButtonColorPaletteProtocol {
|
|
@@ -1515,6 +1520,7 @@ open class SystemMomentumThemeGroupedBackgroundColorPalette: MomentumThemeGroupe
|
|
|
1515
1520
|
open class SystemMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteProtocol {
|
|
1516
1521
|
private let light: any MomentumThemeAvatarColorPaletteProtocol = LightMomentumThemeAvatarColorPalette()
|
|
1517
1522
|
private let dark: any MomentumThemeAvatarColorPaletteProtocol = DarkMomentumThemeAvatarColorPalette()
|
|
1523
|
+
open var ghost: UIColor { return systemColor(light: light, dark: dark, keyPath: \.ghost) }
|
|
1518
1524
|
open var defaultColor: UIColor { return systemColor(light: light, dark: dark, keyPath: \.defaultColor) }
|
|
1519
1525
|
open var cobalt: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cobalt) }
|
|
1520
1526
|
open var cyan: UIColor { return systemColor(light: light, dark: dark, keyPath: \.cyan) }
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4914,6 +4914,35 @@
|
|
|
4914
4914
|
]
|
|
4915
4915
|
}
|
|
4916
4916
|
}
|
|
4917
|
+
},
|
|
4918
|
+
"input": {
|
|
4919
|
+
"disabled": {
|
|
4920
|
+
"value": "#ffffff1c",
|
|
4921
|
+
"type": "color",
|
|
4922
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4923
|
+
"filePath": "src/theme/stable/dark.json",
|
|
4924
|
+
"isSource": true,
|
|
4925
|
+
"original": {
|
|
4926
|
+
"value": "{color.core.white-alpha.11}",
|
|
4927
|
+
"type": "color",
|
|
4928
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4929
|
+
},
|
|
4930
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4931
|
+
"attributes": {
|
|
4932
|
+
"category": "color",
|
|
4933
|
+
"type": "theme",
|
|
4934
|
+
"item": "background",
|
|
4935
|
+
"subitem": "input",
|
|
4936
|
+
"state": "disabled"
|
|
4937
|
+
},
|
|
4938
|
+
"path": [
|
|
4939
|
+
"color",
|
|
4940
|
+
"theme",
|
|
4941
|
+
"background",
|
|
4942
|
+
"input",
|
|
4943
|
+
"disabled"
|
|
4944
|
+
]
|
|
4945
|
+
}
|
|
4917
4946
|
}
|
|
4918
4947
|
},
|
|
4919
4948
|
"button": {
|
|
@@ -11334,6 +11363,29 @@
|
|
|
11334
11363
|
}
|
|
11335
11364
|
},
|
|
11336
11365
|
"avatar": {
|
|
11366
|
+
"ghost": {
|
|
11367
|
+
"value": "#ffffff00",
|
|
11368
|
+
"type": "color",
|
|
11369
|
+
"filePath": "src/theme/stable/dark.json",
|
|
11370
|
+
"isSource": true,
|
|
11371
|
+
"original": {
|
|
11372
|
+
"value": "{color.core.white-alpha.0}",
|
|
11373
|
+
"type": "color"
|
|
11374
|
+
},
|
|
11375
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
11376
|
+
"attributes": {
|
|
11377
|
+
"category": "color",
|
|
11378
|
+
"type": "theme",
|
|
11379
|
+
"item": "avatar",
|
|
11380
|
+
"subitem": "ghost"
|
|
11381
|
+
},
|
|
11382
|
+
"path": [
|
|
11383
|
+
"color",
|
|
11384
|
+
"theme",
|
|
11385
|
+
"avatar",
|
|
11386
|
+
"ghost"
|
|
11387
|
+
]
|
|
11388
|
+
},
|
|
11337
11389
|
"default": {
|
|
11338
11390
|
"parent": "theme/stable/dark",
|
|
11339
11391
|
"type": "color",
|
|
@@ -4830,6 +4830,35 @@
|
|
|
4830
4830
|
]
|
|
4831
4831
|
}
|
|
4832
4832
|
}
|
|
4833
|
+
},
|
|
4834
|
+
"input": {
|
|
4835
|
+
"disabled": {
|
|
4836
|
+
"value": "#3ff23f",
|
|
4837
|
+
"type": "color",
|
|
4838
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. ",
|
|
4839
|
+
"filePath": "src/theme/stable/highcontrast/hc_dark.json",
|
|
4840
|
+
"isSource": true,
|
|
4841
|
+
"original": {
|
|
4842
|
+
"value": "{color.highcontrast.black.GrayTextColor}",
|
|
4843
|
+
"type": "color",
|
|
4844
|
+
"description": "Used for disabled/read-only/read-only focus states for input components. "
|
|
4845
|
+
},
|
|
4846
|
+
"name": "mds-color-theme-background-input-disabled",
|
|
4847
|
+
"attributes": {
|
|
4848
|
+
"category": "color",
|
|
4849
|
+
"type": "theme",
|
|
4850
|
+
"item": "background",
|
|
4851
|
+
"subitem": "input",
|
|
4852
|
+
"state": "disabled"
|
|
4853
|
+
},
|
|
4854
|
+
"path": [
|
|
4855
|
+
"color",
|
|
4856
|
+
"theme",
|
|
4857
|
+
"background",
|
|
4858
|
+
"input",
|
|
4859
|
+
"disabled"
|
|
4860
|
+
]
|
|
4861
|
+
}
|
|
4833
4862
|
}
|
|
4834
4863
|
},
|
|
4835
4864
|
"button": {
|
|
@@ -8557,6 +8586,29 @@
|
|
|
8557
8586
|
}
|
|
8558
8587
|
},
|
|
8559
8588
|
"avatar": {
|
|
8589
|
+
"ghost": {
|
|
8590
|
+
"value": "#000000",
|
|
8591
|
+
"type": "color",
|
|
8592
|
+
"filePath": "src/theme/stable/highcontrast/hc_dark.json",
|
|
8593
|
+
"isSource": true,
|
|
8594
|
+
"original": {
|
|
8595
|
+
"value": "{color.highcontrast.black.WindowColor}",
|
|
8596
|
+
"type": "color"
|
|
8597
|
+
},
|
|
8598
|
+
"name": "mds-color-theme-avatar-ghost",
|
|
8599
|
+
"attributes": {
|
|
8600
|
+
"category": "color",
|
|
8601
|
+
"type": "theme",
|
|
8602
|
+
"item": "avatar",
|
|
8603
|
+
"subitem": "ghost"
|
|
8604
|
+
},
|
|
8605
|
+
"path": [
|
|
8606
|
+
"color",
|
|
8607
|
+
"theme",
|
|
8608
|
+
"avatar",
|
|
8609
|
+
"ghost"
|
|
8610
|
+
]
|
|
8611
|
+
},
|
|
8560
8612
|
"default": {
|
|
8561
8613
|
"parent": "theme/stable/highcontrast/hc_dark",
|
|
8562
8614
|
"type": "color",
|