@momentum-design/tokens 0.2.4 → 0.2.6

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.
Files changed (45) hide show
  1. package/dist/css/core/complete.css +1 -1
  2. package/dist/css/theme/aaos/day-complete.css +1 -1
  3. package/dist/css/theme/aaos/night-complete.css +1 -1
  4. package/dist/css/theme/webex/dark-stable.css +5 -5
  5. package/dist/css/theme/webex/hc-dark-stable.css +4 -4
  6. package/dist/css/theme/webex/hc-light-stable.css +4 -4
  7. package/dist/css/theme/webex/light-stable.css +5 -5
  8. package/dist/css/typography/complete.css +1 -1
  9. package/dist/ios/core/complete.swift +1 -1
  10. package/dist/ios/theme/aaos/day-complete.swift +1 -1
  11. package/dist/ios/theme/aaos/night-complete.swift +1 -1
  12. package/dist/ios/theme/webex/dark-stable.swift +5 -5
  13. package/dist/ios/theme/webex/hc-dark-stable.swift +4 -4
  14. package/dist/ios/theme/webex/hc-light-stable.swift +4 -4
  15. package/dist/ios/theme/webex/light-stable.swift +5 -5
  16. package/dist/ios/typography/complete.swift +1 -1
  17. package/dist/ios-webex/theme/webex/dark-stable.swift +4 -5
  18. package/dist/ios-webex/theme/webex/hc-dark-stable.swift +3 -3
  19. package/dist/ios-webex/theme/webex/hc-light-stable.swift +9 -9
  20. package/dist/ios-webex/theme/webex/light-stable.swift +12 -15
  21. package/dist/json/theme/webex/dark-stable.json +92 -84
  22. package/dist/json/theme/webex/hc-dark-stable.json +77 -69
  23. package/dist/json/theme/webex/hc-light-stable.json +77 -69
  24. package/dist/json/theme/webex/light-stable.json +92 -84
  25. package/dist/json-minimal/theme/webex/dark-stable.json +6 -4
  26. package/dist/json-minimal/theme/webex/hc-dark-stable.json +5 -3
  27. package/dist/json-minimal/theme/webex/hc-light-stable.json +5 -3
  28. package/dist/json-minimal/theme/webex/light-stable.json +6 -4
  29. package/dist/resources/core/complete.xml +1 -1
  30. package/dist/resources/theme/aaos/day-complete.xml +1 -1
  31. package/dist/resources/theme/aaos/night-complete.xml +1 -1
  32. package/dist/resources/theme/webex/dark-stable.xml +5 -5
  33. package/dist/resources/theme/webex/hc-dark-stable.xml +4 -4
  34. package/dist/resources/theme/webex/hc-light-stable.xml +4 -4
  35. package/dist/resources/theme/webex/light-stable.xml +5 -5
  36. package/dist/resources/typography/complete.xml +1 -1
  37. package/dist/scss/core/complete.scss +1 -1
  38. package/dist/scss/theme/aaos/day-complete.scss +1 -1
  39. package/dist/scss/theme/aaos/night-complete.scss +1 -1
  40. package/dist/scss/theme/webex/dark-stable.scss +5 -5
  41. package/dist/scss/theme/webex/hc-dark-stable.scss +4 -4
  42. package/dist/scss/theme/webex/hc-light-stable.scss +4 -4
  43. package/dist/scss/theme/webex/light-stable.scss +5 -5
  44. package/dist/scss/typography/complete.scss +1 -1
  45. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:40 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:23 GMT
4
4
  */
5
5
 
6
6
  .mds-core {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:41 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:25 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-aaos-day {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:41 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:25 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-aaos-night {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:40 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:24 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-darkWebex {
@@ -204,7 +204,7 @@
204
204
  --mds-color-theme-outline-label-purple: #f294f1;
205
205
  --mds-color-theme-outline-label-slate: #b0b4d9;
206
206
  --mds-color-theme-outline-label-violet: #c7a5fa;
207
- --mds-color-theme-outline-promotion-normal: linear-gradient(46deg, #c233c4 0%, #d43b52 100%);
207
+ --mds-color-theme-outline-promotion-normal: #c233c4;
208
208
  --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #22c7d6 51.1%, #68debd 85.36%);
209
209
  --mds-color-theme-outline-warning-normal: #f2990a;
210
210
  --mds-color-theme-control-active-normal: #64b4fa;
@@ -379,7 +379,7 @@
379
379
  --mds-color-theme-avatar-slate: #535573;
380
380
  --mds-color-theme-avatar-violet: #643abd;
381
381
  --mds-color-theme-avatar-yellow: #7d4705;
382
- --mds-color-theme-focus-0: #000000;
383
- --mds-color-theme-focus-1: #64b4fa;
384
- --mds-color-theme-focus-2: #64b4fa59;
382
+ --mds-color-theme-focus-default-0: #000000;
383
+ --mds-color-theme-focus-default-1: #64b4fa;
384
+ --mds-color-theme-focus-default-2: #64b4fa59;
385
385
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:41 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:24 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-hcDarkWebex {
@@ -371,7 +371,7 @@
371
371
  --mds-color-theme-common-touchbar-icon-attention: #000000;
372
372
  --mds-color-theme-common-touchbar-icon-stable: #000000;
373
373
  --mds-color-theme-common-touchbar-icon-secure: #000000;
374
- --mds-color-theme-focus-0: #000000;
375
- --mds-color-theme-focus-1: #ffffff;
376
- --mds-color-theme-focus-2: #ffffff;
374
+ --mds-color-theme-focus-default-0: #000000;
375
+ --mds-color-theme-focus-default-1: #ffffff;
376
+ --mds-color-theme-focus-default-2: #ffffff;
377
377
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:41 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:25 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-hcLightWebex {
@@ -371,7 +371,7 @@
371
371
  --mds-color-theme-gradientdivider-orange-hover: #000000;
372
372
  --mds-color-theme-gradientdivider-purple-normal: #000000;
373
373
  --mds-color-theme-gradientdivider-purple-hover: #000000;
374
- --mds-color-theme-focus-0: #ffffff;
375
- --mds-color-theme-focus-1: #000000;
376
- --mds-color-theme-focus-2: #000000;
374
+ --mds-color-theme-focus-default-0: #ffffff;
375
+ --mds-color-theme-focus-default-1: #000000;
376
+ --mds-color-theme-focus-default-2: #000000;
377
377
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:41 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:24 GMT
4
4
  */
5
5
 
6
6
  .mds-theme-stable-lightWebex {
@@ -204,7 +204,7 @@
204
204
  --mds-color-theme-outline-label-purple: #f294f1;
205
205
  --mds-color-theme-outline-label-slate: #b0b4d9;
206
206
  --mds-color-theme-outline-label-violet: #c7a5fa;
207
- --mds-color-theme-outline-promotion-normal: linear-gradient(46deg, #251329 0%, #a12a3a 100%);
207
+ --mds-color-theme-outline-promotion-normal: #c233c4;
208
208
  --mds-color-theme-outline-gradient-active: linear-gradient(44deg, #3492eb 14.64%, #00a3b5 51.1%, #3cc29a 85.36%);
209
209
  --mds-color-theme-outline-warning-normal: #7d4705;
210
210
  --mds-color-theme-control-active-normal: #1170cf;
@@ -378,7 +378,7 @@
378
378
  --mds-color-theme-gradientdivider-orange-hover: linear-gradient(90deg, #9c320200 0%, #9c3202e6 22.4%, #9c3202e6 76.04%, #9c320200 100%);
379
379
  --mds-color-theme-gradientdivider-purple-normal: linear-gradient(90deg, #93209900 0%, #93209999 22.4%, #93209999 76.04%, #93209900 100%);
380
380
  --mds-color-theme-gradientdivider-purple-hover: linear-gradient(90deg, #93209900 0%,#932099E6 22.4%, #932099E6 76.04%, #93209900 100%);
381
- --mds-color-theme-focus-0: #ffffff;
382
- --mds-color-theme-focus-1: #1170cf;
383
- --mds-color-theme-focus-2: #1170cf59;
381
+ --mds-color-theme-focus-default-0: #ffffff;
382
+ --mds-color-theme-focus-default-1: #1170cf;
383
+ --mds-color-theme-focus-default-2: #1170cf59;
384
384
  }
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Do not edit directly
3
- * Generated on Mon, 04 Nov 2024 17:01:43 GMT
3
+ * Generated on Mon, 11 Nov 2024 10:56:27 GMT
4
4
  */
5
5
 
6
6
  .mds-typography {
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:40 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:23 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:41 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:25 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:41 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:25 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:40 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:24 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -218,9 +218,9 @@ public class {
218
218
  public static let mdsColorThemeControlInactiveNormal = #ffffff00
219
219
  public static let mdsColorThemeControlInactivePressed = #ffffff66
220
220
  public static let mdsColorThemeControlIndicatorInactiveNormal = #8f8f8f
221
- public static let mdsColorThemeFocus0 = #000000
222
- public static let mdsColorThemeFocus1 = #64b4fa
223
- public static let mdsColorThemeFocus2 = #64b4fa59
221
+ public static let mdsColorThemeFocusDefault0 = #000000
222
+ public static let mdsColorThemeFocusDefault1 = #64b4fa
223
+ public static let mdsColorThemeFocusDefault2 = #64b4fa59
224
224
  public static let mdsColorThemeGlobaltintNormal = #3492eb
225
225
  public static let mdsColorThemeGlobaltintSelected = #1170cf
226
226
  public static let mdsColorThemeGradientdividerAnnounceHover = linear-gradient(90deg, #64b4fa00 0%,#64b4faE6 22.4%, #64b4faE6 76.04%, #64b4fa00 100%)
@@ -313,7 +313,7 @@ public class {
313
313
  public static let mdsColorThemeOutlineOverlayNormal = #adadad
314
314
  public static let mdsColorThemeOutlinePrimaryDisabled = #ffffff33
315
315
  public static let mdsColorThemeOutlinePrimaryNormal = #ffffff66
316
- public static let mdsColorThemeOutlinePromotionNormal = linear-gradient(46deg, #c233c4 0%, #d43b52 100%)
316
+ public static let mdsColorThemeOutlinePromotionNormal = #c233c4
317
317
  public static let mdsColorThemeOutlineSecondaryNormal = #ffffff33
318
318
  public static let mdsColorThemeOutlineShareActive = #ec6400
319
319
  public static let mdsColorThemeOutlineShareInactive = #8f8f8f
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:41 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:25 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -204,9 +204,9 @@ public class {
204
204
  public static let mdsColorThemeControlInactiveNormal = #000000
205
205
  public static let mdsColorThemeControlInactivePressed = #000000
206
206
  public static let mdsColorThemeControlIndicatorInactiveNormal = #000000
207
- public static let mdsColorThemeFocus0 = #000000
208
- public static let mdsColorThemeFocus1 = #ffffff
209
- public static let mdsColorThemeFocus2 = #ffffff
207
+ public static let mdsColorThemeFocusDefault0 = #000000
208
+ public static let mdsColorThemeFocusDefault1 = #ffffff
209
+ public static let mdsColorThemeFocusDefault2 = #ffffff
210
210
  public static let mdsColorThemeGlobaltintNormal = #ffffff
211
211
  public static let mdsColorThemeGlobaltintSelected = #ffff00
212
212
  public static let mdsColorThemeGradientdividerAnnounceHover = #ffffff
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:41 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:25 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -204,9 +204,9 @@ public class {
204
204
  public static let mdsColorThemeControlInactiveNormal = #ffffff
205
205
  public static let mdsColorThemeControlInactivePressed = #ffffff
206
206
  public static let mdsColorThemeControlIndicatorInactiveNormal = #ffffff
207
- public static let mdsColorThemeFocus0 = #ffffff
208
- public static let mdsColorThemeFocus1 = #000000
209
- public static let mdsColorThemeFocus2 = #000000
207
+ public static let mdsColorThemeFocusDefault0 = #ffffff
208
+ public static let mdsColorThemeFocusDefault1 = #000000
209
+ public static let mdsColorThemeFocusDefault2 = #000000
210
210
  public static let mdsColorThemeGlobaltintNormal = #000000
211
211
  public static let mdsColorThemeGlobaltintSelected = #00009f
212
212
  public static let mdsColorThemeGradientdividerAnnounceHover = #000000
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:41 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:24 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -217,9 +217,9 @@ public class {
217
217
  public static let mdsColorThemeControlInactiveNormal = #00000000
218
218
  public static let mdsColorThemeControlInactivePressed = #00000066
219
219
  public static let mdsColorThemeControlIndicatorInactiveNormal = #8f8f8f
220
- public static let mdsColorThemeFocus0 = #ffffff
221
- public static let mdsColorThemeFocus1 = #1170cf
222
- public static let mdsColorThemeFocus2 = #1170cf59
220
+ public static let mdsColorThemeFocusDefault0 = #ffffff
221
+ public static let mdsColorThemeFocusDefault1 = #1170cf
222
+ public static let mdsColorThemeFocusDefault2 = #1170cf59
223
223
  public static let mdsColorThemeGlobaltintNormal = #1170cf
224
224
  public static let mdsColorThemeGlobaltintSelected = #1170cf
225
225
  public static let mdsColorThemeGradientdividerAnnounceHover = linear-gradient(90deg, #0353a800 0%, #0353a8E6 76.04%, #0353a8E6 76.04%, #0353a800 100%)
@@ -312,7 +312,7 @@ public class {
312
312
  public static let mdsColorThemeOutlineOverlayNormal = #707070
313
313
  public static let mdsColorThemeOutlinePrimaryDisabled = #00000033
314
314
  public static let mdsColorThemeOutlinePrimaryNormal = #00000075
315
- public static let mdsColorThemeOutlinePromotionNormal = linear-gradient(46deg, #251329 0%, #a12a3a 100%)
315
+ public static let mdsColorThemeOutlinePromotionNormal = #c233c4
316
316
  public static let mdsColorThemeOutlineSecondaryNormal = #00000033
317
317
  public static let mdsColorThemeOutlineShareActive = #ec6400
318
318
  public static let mdsColorThemeOutlineShareInactive = #8f8f8f
@@ -4,7 +4,7 @@
4
4
  //
5
5
 
6
6
  // Do not edit directly
7
- // Generated on Mon, 04 Nov 2024 17:01:43 GMT
7
+ // Generated on Mon, 11 Nov 2024 10:56:27 GMT
8
8
 
9
9
 
10
10
  import UIKit
@@ -220,8 +220,7 @@ open class DarkMomentumThemeOutlineColorPalette: MomentumThemeOutlineColorPalett
220
220
  open var labelPurple: UIColor { return UIColor(hex: 0xF294F1) }
221
221
  open var labelSlate: UIColor { return UIColor(hex: 0xB0B4D9) }
222
222
  open var labelViolet: UIColor { return UIColor(hex: 0xC7A5FA) }
223
- open var promotionNormal0: UIColor { return UIColor(hex: 0xC233C4) }
224
- open var promotionNormal1: UIColor { return UIColor(hex: 0xD43B52) }
223
+ open var promotionNormal: UIColor { return UIColor(hex: 0xC233C4) }
225
224
  open var gradientActive0: UIColor { return UIColor(hex: 0x3492EB) }
226
225
  open var gradientActive1: UIColor { return UIColor(hex: 0x22C7D6) }
227
226
  open var gradientActive2: UIColor { return UIColor(hex: 0x68DEBD) }
@@ -478,9 +477,9 @@ open class DarkMomentumThemeAvatarColorPalette: MomentumThemeAvatarColorPaletteP
478
477
  public init() {}
479
478
  }
480
479
  open class DarkMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
481
- open var level0: UIColor { return UIColor(hex: 0x000000) }
482
- open var level1: UIColor { return UIColor(hex: 0x64B4FA) }
483
- open var level2: UIColor { return UIColor(hex: 0x64B4FA, withAlpha: 0.35) }
480
+ open var default0: UIColor { return UIColor(hex: 0x000000) }
481
+ open var default1: UIColor { return UIColor(hex: 0x64B4FA) }
482
+ open var default2: UIColor { return UIColor(hex: 0x64B4FA, withAlpha: 0.35) }
484
483
  public init() {}
485
484
  }
486
485
  open class DarkMomentumTheme: MomentumThemeTokensProtocol {
@@ -417,9 +417,9 @@ open class HcDarkMomentumThemeCommonColorPalette: MomentumThemeCommonColorPalett
417
417
  public init() {}
418
418
  }
419
419
  open class HcDarkMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
420
- open var level0: UIColor { return UIColor(hex: 0x000000) }
421
- open var level1: UIColor { return UIColor(hex: 0xFFFFFF) }
422
- open var level2: UIColor { return UIColor(hex: 0xFFFFFF) }
420
+ open var default0: UIColor { return UIColor(hex: 0x000000) }
421
+ open var default1: UIColor { return UIColor(hex: 0xFFFFFF) }
422
+ open var default2: UIColor { return UIColor(hex: 0xFFFFFF) }
423
423
  public init() {}
424
424
  }
425
425
  open class HcDarkMomentumTheme: MomentumThemeTokensProtocol {
@@ -401,9 +401,9 @@ import UIKit
401
401
  var purpleHover: UIColor { get }
402
402
  }
403
403
  @objc public protocol MomentumThemeFocusColorPaletteProtocol: AnyObject {
404
- var level0: UIColor { get }
405
- var level1: UIColor { get }
406
- var level2: UIColor { get }
404
+ var default0: UIColor { get }
405
+ var default1: UIColor { get }
406
+ var default2: UIColor { get }
407
407
  }
408
408
  @objc public protocol MomentumThemeTokensProtocol: AnyObject {
409
409
  var text: any MomentumThemeTextColorPaletteProtocol { get }
@@ -840,9 +840,9 @@ open class HcLightMomentumThemeGradientDividerColorPalette: MomentumThemeGradien
840
840
  public init() {}
841
841
  }
842
842
  open class HcLightMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
843
- open var level0: UIColor { return UIColor(hex: 0xFFFFFF) }
844
- open var level1: UIColor { return UIColor(hex: 0x000000) }
845
- open var level2: UIColor { return UIColor(hex: 0x000000) }
843
+ open var default0: UIColor { return UIColor(hex: 0xFFFFFF) }
844
+ open var default1: UIColor { return UIColor(hex: 0x000000) }
845
+ open var default2: UIColor { return UIColor(hex: 0x000000) }
846
846
  public init() {}
847
847
  }
848
848
  open class HcLightMomentumTheme: MomentumThemeTokensProtocol {
@@ -1374,9 +1374,9 @@ open class SystemMomentumThemeGradientDividerColorPalette: MomentumThemeGradient
1374
1374
  open class SystemMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
1375
1375
  private let light: any MomentumThemeFocusColorPaletteProtocol = LightMomentumThemeFocusColorPalette()
1376
1376
  private let dark: any MomentumThemeFocusColorPaletteProtocol = DarkMomentumThemeFocusColorPalette()
1377
- open var level0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level0) }
1378
- open var level1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level1) }
1379
- open var level2: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level2) }
1377
+ open var default0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default0) }
1378
+ open var default1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default1) }
1379
+ open var default2: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default2) }
1380
1380
  public init() {}
1381
1381
  }
1382
1382
 
@@ -216,8 +216,7 @@ import UIKit
216
216
  var labelPurple: UIColor { get }
217
217
  var labelSlate: UIColor { get }
218
218
  var labelViolet: UIColor { get }
219
- var promotionNormal0: UIColor { get }
220
- var promotionNormal1: UIColor { get }
219
+ var promotionNormal: UIColor { get }
221
220
  var gradientActive0: UIColor { get }
222
221
  var gradientActive1: UIColor { get }
223
222
  var gradientActive2: UIColor { get }
@@ -462,9 +461,9 @@ import UIKit
462
461
  var purpleHover3: UIColor { get }
463
462
  }
464
463
  @objc public protocol MomentumThemeFocusColorPaletteProtocol: AnyObject {
465
- var level0: UIColor { get }
466
- var level1: UIColor { get }
467
- var level2: UIColor { get }
464
+ var default0: UIColor { get }
465
+ var default1: UIColor { get }
466
+ var default2: UIColor { get }
468
467
  }
469
468
  @objc public protocol MomentumThemeTokensProtocol: AnyObject {
470
469
  var text: any MomentumThemeTextColorPaletteProtocol { get }
@@ -703,8 +702,7 @@ open class LightMomentumThemeOutlineColorPalette: MomentumThemeOutlineColorPalet
703
702
  open var labelPurple: UIColor { return UIColor(hex: 0xF294F1) }
704
703
  open var labelSlate: UIColor { return UIColor(hex: 0xB0B4D9) }
705
704
  open var labelViolet: UIColor { return UIColor(hex: 0xC7A5FA) }
706
- open var promotionNormal0: UIColor { return UIColor(hex: 0x251329) }
707
- open var promotionNormal1: UIColor { return UIColor(hex: 0xA12A3A) }
705
+ open var promotionNormal: UIColor { return UIColor(hex: 0xC233C4) }
708
706
  open var gradientActive0: UIColor { return UIColor(hex: 0x3492EB) }
709
707
  open var gradientActive1: UIColor { return UIColor(hex: 0x00A3B5) }
710
708
  open var gradientActive2: UIColor { return UIColor(hex: 0x3CC29A) }
@@ -960,9 +958,9 @@ open class LightMomentumThemeGradientDividerColorPalette: MomentumThemeGradientD
960
958
  public init() {}
961
959
  }
962
960
  open class LightMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
963
- open var level0: UIColor { return UIColor(hex: 0xFFFFFF) }
964
- open var level1: UIColor { return UIColor(hex: 0x1170CF) }
965
- open var level2: UIColor { return UIColor(hex: 0x1170CF, withAlpha: 0.35) }
961
+ open var default0: UIColor { return UIColor(hex: 0xFFFFFF) }
962
+ open var default1: UIColor { return UIColor(hex: 0x1170CF) }
963
+ open var default2: UIColor { return UIColor(hex: 0x1170CF, withAlpha: 0.35) }
966
964
  public init() {}
967
965
  }
968
966
  open class LightMomentumTheme: MomentumThemeTokensProtocol {
@@ -1269,8 +1267,7 @@ open class SystemMomentumThemeOutlineColorPalette: MomentumThemeOutlineColorPale
1269
1267
  open var labelPurple: UIColor { return systemColor(light: light, dark: dark, keyPath: \.labelPurple) }
1270
1268
  open var labelSlate: UIColor { return systemColor(light: light, dark: dark, keyPath: \.labelSlate) }
1271
1269
  open var labelViolet: UIColor { return systemColor(light: light, dark: dark, keyPath: \.labelViolet) }
1272
- open var promotionNormal0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.promotionNormal0) }
1273
- open var promotionNormal1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.promotionNormal1) }
1270
+ open var promotionNormal: UIColor { return systemColor(light: light, dark: dark, keyPath: \.promotionNormal) }
1274
1271
  open var gradientActive0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.gradientActive0) }
1275
1272
  open var gradientActive1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.gradientActive1) }
1276
1273
  open var gradientActive2: UIColor { return systemColor(light: light, dark: dark, keyPath: \.gradientActive2) }
@@ -1548,9 +1545,9 @@ open class SystemMomentumThemeGradientDividerColorPalette: MomentumThemeGradient
1548
1545
  open class SystemMomentumThemeFocusColorPalette: MomentumThemeFocusColorPaletteProtocol {
1549
1546
  private let light: any MomentumThemeFocusColorPaletteProtocol = LightMomentumThemeFocusColorPalette()
1550
1547
  private let dark: any MomentumThemeFocusColorPaletteProtocol = DarkMomentumThemeFocusColorPalette()
1551
- open var level0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level0) }
1552
- open var level1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level1) }
1553
- open var level2: UIColor { return systemColor(light: light, dark: dark, keyPath: \.level2) }
1548
+ open var default0: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default0) }
1549
+ open var default1: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default1) }
1550
+ open var default2: UIColor { return systemColor(light: light, dark: dark, keyPath: \.default2) }
1554
1551
  public init() {}
1555
1552
  }
1556
1553
 
@@ -6086,13 +6086,13 @@
6086
6086
  "promotion": {
6087
6087
  "normal": {
6088
6088
  "type": "color",
6089
- "value": "linear-gradient(46deg, #c233c4 0%, #d43b52 100%)",
6089
+ "value": "#c233c4",
6090
6090
  "description": "Used for border of promotional banner",
6091
6091
  "filePath": "src/theme/stable/dark.json",
6092
6092
  "isSource": true,
6093
6093
  "original": {
6094
6094
  "type": "color",
6095
- "value": "linear-gradient(46deg, {color.decorative.purple.60} 0%, {color.decorative.pink.60} 100%)",
6095
+ "value": "{color.decorative.purple.60}",
6096
6096
  "description": "Used for border of promotional banner"
6097
6097
  },
6098
6098
  "name": "mds-color-theme-outline-promotion-normal",
@@ -11393,76 +11393,63 @@
11393
11393
  }
11394
11394
  },
11395
11395
  "focus": {
11396
- "0": {
11397
- "value": "#000000",
11398
- "type": "color",
11399
- "description": "Used for focus ring effect",
11400
- "filePath": "src/theme/stable/dark.json",
11401
- "isSource": true,
11402
- "original": {
11403
- "value": "{color.core.black-alpha.100}",
11396
+ "default": {
11397
+ "0": {
11398
+ "value": "#000000",
11404
11399
  "type": "color",
11405
- "description": "Used for focus ring effect"
11406
- },
11407
- "name": "mds-color-theme-focus-0",
11408
- "attributes": {
11409
- "category": "color",
11410
- "type": "theme",
11411
- "item": "focus",
11412
- "subitem": "0"
11400
+ "description": "Used for focus ring effect",
11401
+ "filePath": "src/theme/stable/dark.json",
11402
+ "isSource": true,
11403
+ "original": {
11404
+ "value": "{color.core.black-alpha.100}",
11405
+ "type": "color",
11406
+ "description": "Used for focus ring effect"
11407
+ },
11408
+ "name": "mds-color-theme-focus-default-0",
11409
+ "attributes": {
11410
+ "category": "color",
11411
+ "type": "theme",
11412
+ "item": "focus",
11413
+ "subitem": "default",
11414
+ "state": "0"
11415
+ },
11416
+ "path": [
11417
+ "color",
11418
+ "theme",
11419
+ "focus",
11420
+ "default",
11421
+ "0"
11422
+ ]
11413
11423
  },
11414
- "path": [
11415
- "color",
11416
- "theme",
11417
- "focus",
11418
- "0"
11419
- ]
11420
- },
11421
- "1": {
11422
- "value": "#64b4fa",
11423
- "type": "color",
11424
- "description": "Used for focus ring effect",
11425
- "filePath": "src/theme/stable/dark.json",
11426
- "isSource": true,
11427
- "original": {
11428
- "value": "{color.core.blue.40}",
11424
+ "1": {
11425
+ "value": "#64b4fa",
11429
11426
  "type": "color",
11430
- "description": "Used for focus ring effect"
11431
- },
11432
- "name": "mds-color-theme-focus-1",
11433
- "attributes": {
11434
- "category": "color",
11435
- "type": "theme",
11436
- "item": "focus",
11437
- "subitem": "1"
11438
- },
11439
- "path": [
11440
- "color",
11441
- "theme",
11442
- "focus",
11443
- "1"
11444
- ]
11445
- },
11446
- "2": {
11447
- "value": "#64b4fa59",
11448
- "type": "color",
11449
- "$extensions": {
11450
- "studio.tokens": {
11451
- "modify": {
11452
- "type": "alpha",
11453
- "value": "0.35",
11454
- "space": "lch",
11455
- "filePath": "src/theme/stable/dark.json",
11456
- "isSource": true,
11457
- "format": "hex"
11458
- }
11459
- }
11427
+ "description": "Used for focus ring effect",
11428
+ "filePath": "src/theme/stable/dark.json",
11429
+ "isSource": true,
11430
+ "original": {
11431
+ "value": "{color.core.blue.40}",
11432
+ "type": "color",
11433
+ "description": "Used for focus ring effect"
11434
+ },
11435
+ "name": "mds-color-theme-focus-default-1",
11436
+ "attributes": {
11437
+ "category": "color",
11438
+ "type": "theme",
11439
+ "item": "focus",
11440
+ "subitem": "default",
11441
+ "state": "1"
11442
+ },
11443
+ "path": [
11444
+ "color",
11445
+ "theme",
11446
+ "focus",
11447
+ "default",
11448
+ "1"
11449
+ ]
11460
11450
  },
11461
- "description": "Used for focus ring effect",
11462
- "filePath": "src/theme/stable/dark.json",
11463
- "isSource": true,
11464
- "original": {
11465
- "value": "{color.core.blue.40}",
11451
+ "2": {
11452
+ "value": "#64b4fa59",
11466
11453
  "type": "color",
11467
11454
  "$extensions": {
11468
11455
  "studio.tokens": {
@@ -11471,25 +11458,46 @@
11471
11458
  "value": "0.35",
11472
11459
  "space": "lch",
11473
11460
  "filePath": "src/theme/stable/dark.json",
11474
- "isSource": true
11461
+ "isSource": true,
11462
+ "format": "hex"
11475
11463
  }
11476
11464
  }
11477
11465
  },
11478
- "description": "Used for focus ring effect"
11479
- },
11480
- "name": "mds-color-theme-focus-2",
11481
- "attributes": {
11482
- "category": "color",
11483
- "type": "theme",
11484
- "item": "focus",
11485
- "subitem": "2"
11486
- },
11487
- "path": [
11488
- "color",
11489
- "theme",
11490
- "focus",
11491
- "2"
11492
- ]
11466
+ "description": "Used for focus ring effect",
11467
+ "filePath": "src/theme/stable/dark.json",
11468
+ "isSource": true,
11469
+ "original": {
11470
+ "value": "{color.core.blue.40}",
11471
+ "type": "color",
11472
+ "$extensions": {
11473
+ "studio.tokens": {
11474
+ "modify": {
11475
+ "type": "alpha",
11476
+ "value": "0.35",
11477
+ "space": "lch",
11478
+ "filePath": "src/theme/stable/dark.json",
11479
+ "isSource": true
11480
+ }
11481
+ }
11482
+ },
11483
+ "description": "Used for focus ring effect"
11484
+ },
11485
+ "name": "mds-color-theme-focus-default-2",
11486
+ "attributes": {
11487
+ "category": "color",
11488
+ "type": "theme",
11489
+ "item": "focus",
11490
+ "subitem": "default",
11491
+ "state": "2"
11492
+ },
11493
+ "path": [
11494
+ "color",
11495
+ "theme",
11496
+ "focus",
11497
+ "default",
11498
+ "2"
11499
+ ]
11500
+ }
11493
11501
  }
11494
11502
  }
11495
11503
  }