@salutejs/sdds-cs 0.362.0-next-sbcom.0 → 0.362.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.
Files changed (149) hide show
  1. package/dist/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
  2. package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
  3. package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
  4. package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
  5. package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
  6. package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
  7. package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
  8. package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
  9. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
  10. package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
  11. package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
  12. package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
  13. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  14. package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
  15. package/dist/emotion/cjs/components/Button/Button.js +3 -3
  16. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
  17. package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
  18. package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
  19. package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
  20. package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
  21. package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
  22. package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
  23. package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
  24. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
  25. package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
  26. package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
  27. package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
  28. package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
  29. package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
  30. package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
  31. package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
  32. package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
  33. package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
  34. package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
  35. package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
  36. package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
  37. package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
  38. package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
  39. package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
  40. package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
  41. package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
  42. package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
  43. package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
  44. package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
  45. package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
  46. package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
  47. package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
  48. package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
  49. package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
  50. package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
  51. package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
  52. package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
  53. package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
  54. package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
  55. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  56. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  57. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  58. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  59. package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
  60. package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
  61. package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
  62. package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
  63. package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
  64. package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
  65. package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
  66. package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
  67. package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
  68. package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
  69. package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
  70. package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
  71. package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
  72. package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
  73. package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
  74. package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
  75. package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
  76. package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
  77. package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
  78. package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
  79. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  80. package/dist/emotion/es/components/Button/Button.config.js +44 -43
  81. package/dist/emotion/es/components/Button/Button.js +3 -3
  82. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
  83. package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
  84. package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
  85. package/dist/emotion/es/components/Card/Card.config.js +2 -1
  86. package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
  87. package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
  88. package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
  89. package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
  90. package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
  91. package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
  92. package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
  93. package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
  94. package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
  95. package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
  96. package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
  97. package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
  98. package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
  99. package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
  100. package/dist/emotion/es/components/Link/Link.config.js +53 -52
  101. package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
  102. package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
  103. package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
  104. package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
  105. package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
  106. package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
  107. package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
  108. package/dist/emotion/es/components/Range/Range.config.js +70 -69
  109. package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
  110. package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
  111. package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
  112. package/dist/emotion/es/components/Select/Select.config.js +126 -125
  113. package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
  114. package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
  115. package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
  116. package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
  117. package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
  118. package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
  119. package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
  120. package/dist/emotion/es/components/Table/Table.config.js +82 -81
  121. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  122. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  123. package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  124. package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  125. package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
  126. package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
  127. package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
  128. package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
  129. package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
  130. package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
  131. package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
  132. package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
  133. package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
  134. package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
  135. package/dist/emotion/es/components/Typography/Body.config.js +41 -40
  136. package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
  137. package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
  138. package/dist/emotion/es/components/Typography/Text.config.js +33 -32
  139. package/package.json +8 -8
  140. package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
  141. package/types/components/Avatar/Avatar.d.ts +4 -4
  142. package/types/components/Combobox/Combobox.d.ts +8 -0
  143. package/types/components/DatePicker/DatePicker.d.ts +2 -0
  144. package/types/components/IconButton/IconButton.d.ts +28 -11
  145. package/types/components/Mask/Mask.d.ts +16 -0
  146. package/types/components/Rating/Rating.d.ts +1 -0
  147. package/types/components/Select/Select.d.ts +16 -0
  148. package/types/components/TextField/TextField.d.ts +32 -0
  149. package/types/components/TimePicker/TimePicker.d.ts +2 -0
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -18,64 +19,64 @@ const config = {
18
19
  variations: {
19
20
  view: {
20
21
  default: (0, _emotion.css)`
21
- ${_emotion.sliderTokens.labelColor}: var(--text-primary);
22
+ ${_emotion.sliderTokens.labelColor}: ${_sdds_cs.textPrimary};
22
23
 
23
- ${_emotion.sliderTokens.rangeValueColor}: var(--text-secondary);
24
+ ${_emotion.sliderTokens.rangeValueColor}: ${_sdds_cs.textSecondary};
24
25
 
25
- ${_emotion.sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
26
- ${_emotion.sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
27
- ${_emotion.sliderTokens.thumbFocusBorderColor}: var(--surface-solid-default);
26
+ ${_emotion.sliderTokens.thumbBorderColor}: ${_sdds_cs.surfaceSolidTertiary};
27
+ ${_emotion.sliderTokens.thumbBackgroundColor}: ${_sdds_cs.onLightSurfaceSolidCard};
28
+ ${_emotion.sliderTokens.thumbFocusBorderColor}: ${_sdds_cs.surfaceSolidDefault};
28
29
 
29
- ${_emotion.sliderTokens.railBackgroundColor}: var(--surface-solid-primary);
30
+ ${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
30
31
 
31
- ${_emotion.sliderTokens.fillColor}: var(--surface-solid-default);
32
+ ${_emotion.sliderTokens.fillColor}: ${_sdds_cs.surfaceSolidDefault};
32
33
 
33
- ${_emotion.sliderTokens.tickDotColor}: var(--surface-solid-primary);
34
- ${_emotion.sliderTokens.tickDotFilledColor}: var(--surface-solid-default);
34
+ ${_emotion.sliderTokens.tickDotColor}: ${_sdds_cs.surfaceSolidPrimary};
35
+ ${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_cs.surfaceSolidDefault};
35
36
 
36
- ${_emotion.sliderTokens.textFieldCaretColor}: var(--text-accent);
37
- ${_emotion.sliderTokens.textFieldColor}: var(--text-primary);
38
- ${_emotion.sliderTokens.textFiledFocusColor}: var(--text-primary);
39
- ${_emotion.sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);
37
+ ${_emotion.sliderTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
38
+ ${_emotion.sliderTokens.textFieldColor}: ${_sdds_cs.textPrimary};
39
+ ${_emotion.sliderTokens.textFiledFocusColor}: ${_sdds_cs.textPrimary};
40
+ ${_emotion.sliderTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
40
41
 
41
- ${_emotion.sliderTokens.textFieldBorderColor}: var(--outline-solid-primary);
42
- ${_emotion.sliderTokens.textFieldBorderColorFocus}: var(--outline-accent);
43
- ${_emotion.sliderTokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
42
+ ${_emotion.sliderTokens.textFieldBorderColor}: ${_sdds_cs.outlineSolidPrimary};
43
+ ${_emotion.sliderTokens.textFieldBorderColorFocus}: ${_sdds_cs.outlineAccent};
44
+ ${_emotion.sliderTokens.textFieldBorderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
44
45
 
45
- ${_emotion.sliderTokens.textFieldBackgroundColor}: var(--surface-solid-card);
46
- ${_emotion.sliderTokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
47
- ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: var(--surface-solid-card-active);
46
+ ${_emotion.sliderTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
47
+ ${_emotion.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
48
+ ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidCardActive};
48
49
  `,
49
50
  accent: (0, _emotion.css)`
50
- ${_emotion.sliderTokens.labelColor}: var(--text-primary);
51
+ ${_emotion.sliderTokens.labelColor}: ${_sdds_cs.textPrimary};
51
52
 
52
- ${_emotion.sliderTokens.rangeValueColor}: var(--text-secondary);
53
+ ${_emotion.sliderTokens.rangeValueColor}: ${_sdds_cs.textSecondary};
53
54
 
54
- ${_emotion.sliderTokens.thumbBorderColor}: var(--surface-solid-tertiary);
55
- ${_emotion.sliderTokens.thumbBackgroundColor}: var(--on-light-surface-solid-card);
56
- ${_emotion.sliderTokens.thumbFocusBorderColor}: var(--surface-accent);
55
+ ${_emotion.sliderTokens.thumbBorderColor}: ${_sdds_cs.surfaceSolidTertiary};
56
+ ${_emotion.sliderTokens.thumbBackgroundColor}: ${_sdds_cs.onLightSurfaceSolidCard};
57
+ ${_emotion.sliderTokens.thumbFocusBorderColor}: ${_sdds_cs.surfaceAccent};
57
58
 
58
- ${_emotion.sliderTokens.railBackgroundColor}: var(--surface-solid-primary);
59
+ ${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
59
60
 
60
- ${_emotion.sliderTokens.fillColor}: var(--surface-accent);
61
+ ${_emotion.sliderTokens.fillColor}: ${_sdds_cs.surfaceAccent};
61
62
 
62
- ${_emotion.sliderTokens.tickDotColor}: var(--surface-solid-primary);
63
- ${_emotion.sliderTokens.tickDotFilledColor}: var(--surface-accent);
63
+ ${_emotion.sliderTokens.tickDotColor}: ${_sdds_cs.surfaceSolidPrimary};
64
+ ${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_cs.surfaceAccent};
64
65
 
65
- ${_emotion.sliderTokens.textFieldColor}: var(--text-secondary);
66
+ ${_emotion.sliderTokens.textFieldColor}: ${_sdds_cs.textSecondary};
66
67
 
67
- ${_emotion.sliderTokens.textFieldCaretColor}: var(--text-accent);
68
- ${_emotion.sliderTokens.textFieldColor}: var(--text-primary);
69
- ${_emotion.sliderTokens.textFiledFocusColor}: var(--text-primary);
70
- ${_emotion.sliderTokens.textFieldPlaceholderColor}: var(--text-secondary);
68
+ ${_emotion.sliderTokens.textFieldCaretColor}: ${_sdds_cs.textAccent};
69
+ ${_emotion.sliderTokens.textFieldColor}: ${_sdds_cs.textPrimary};
70
+ ${_emotion.sliderTokens.textFiledFocusColor}: ${_sdds_cs.textPrimary};
71
+ ${_emotion.sliderTokens.textFieldPlaceholderColor}: ${_sdds_cs.textSecondary};
71
72
 
72
- ${_emotion.sliderTokens.textFieldBorderColor}: var(--outline-solid-primary);
73
- ${_emotion.sliderTokens.textFieldBorderColorFocus}: var(--outline-accent);
74
- ${_emotion.sliderTokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
73
+ ${_emotion.sliderTokens.textFieldBorderColor}: ${_sdds_cs.outlineSolidPrimary};
74
+ ${_emotion.sliderTokens.textFieldBorderColorFocus}: ${_sdds_cs.outlineAccent};
75
+ ${_emotion.sliderTokens.textFieldBorderColorHover}: ${_sdds_cs.outlineSolidPrimaryHover};
75
76
 
76
- ${_emotion.sliderTokens.textFieldBackgroundColor}: var(--surface-solid-card);
77
- ${_emotion.sliderTokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
78
- ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: var(--surface-solid-card-active);
77
+ ${_emotion.sliderTokens.textFieldBackgroundColor}: ${_sdds_cs.surfaceSolidCard};
78
+ ${_emotion.sliderTokens.textFieldBackgroundColorHover}: ${_sdds_cs.surfaceSolidCard};
79
+ ${_emotion.sliderTokens.textFieldBackgroundColorFocus}: ${_sdds_cs.surfaceSolidCardActive};
79
80
  `
80
81
  },
81
82
  size: {
@@ -89,24 +90,24 @@ const config = {
89
90
  ${_emotion.sliderTokens.labelWrapperOnlyIconMarginRight}: 0.625rem;
90
91
  ${_emotion.sliderTokens.labelWrapperVerticalMargin}: 0.625rem;
91
92
 
92
- ${_emotion.sliderTokens.labelFontFamily}: var(--plasma-typo-body-s-font-family);
93
- ${_emotion.sliderTokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
94
- ${_emotion.sliderTokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
95
- ${_emotion.sliderTokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
96
- ${_emotion.sliderTokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
97
- ${_emotion.sliderTokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
93
+ ${_emotion.sliderTokens.labelFontFamily}: ${_sdds_cs.bodyS.fontFamily};
94
+ ${_emotion.sliderTokens.labelFontSize}: ${_sdds_cs.bodyS.fontSize};
95
+ ${_emotion.sliderTokens.labelFontStyle}: ${_sdds_cs.bodyS.fontStyle};
96
+ ${_emotion.sliderTokens.labelFontWeight}: ${_sdds_cs.bodyS.fontWeight};
97
+ ${_emotion.sliderTokens.labelLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
98
+ ${_emotion.sliderTokens.labelLineHeight}: ${_sdds_cs.bodyS.lineHeight};
98
99
 
99
100
  ${_emotion.sliderTokens.rangeValueHorizontalMargin}: 0.5rem;
100
101
  ${_emotion.sliderTokens.rangeValueBottomOffset}: 0.625rem;
101
102
  ${_emotion.sliderTokens.rangeValueHorizontalOffset}: 0.625rem;
102
103
  ${_emotion.sliderTokens.rangeValueVerticalMargin}: 0.5rem;
103
104
 
104
- ${_emotion.sliderTokens.valueFontFamily}: var(--plasma-typo-body-xs-font-family);
105
- ${_emotion.sliderTokens.valueFontSize}: var(--plasma-typo-body-xs-font-size);
106
- ${_emotion.sliderTokens.valueFontStyle}: var(--plasma-typo-body-xs-font-style);
107
- ${_emotion.sliderTokens.valueFontWeight}: var(--plasma-typo-body-xs-font-weight);
108
- ${_emotion.sliderTokens.valueLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
109
- ${_emotion.sliderTokens.valueLineHeight}: var(--plasma-typo-body-xs-line-height);
105
+ ${_emotion.sliderTokens.valueFontFamily}: ${_sdds_cs.bodyXS.fontFamily};
106
+ ${_emotion.sliderTokens.valueFontSize}: ${_sdds_cs.bodyXS.fontSize};
107
+ ${_emotion.sliderTokens.valueFontStyle}: ${_sdds_cs.bodyXS.fontStyle};
108
+ ${_emotion.sliderTokens.valueFontWeight}: ${_sdds_cs.bodyXS.fontWeight};
109
+ ${_emotion.sliderTokens.valueLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
110
+ ${_emotion.sliderTokens.valueLineHeight}: ${_sdds_cs.bodyXS.lineHeight};
110
111
 
111
112
  ${_emotion.sliderTokens.tickSize}: 0.5rem;
112
113
 
@@ -121,12 +122,12 @@ const config = {
121
122
  ${_emotion.sliderTokens.textFieldHeight}: 2.5rem;
122
123
  ${_emotion.sliderTokens.textFieldPadding}: 0.5rem 1rem 0.5rem 1rem;
123
124
  ${_emotion.sliderTokens.textFieldBorderRadius}: 0.625rem;
124
- ${_emotion.sliderTokens.textFieldFontFamily}: var(--plasma-typo-body-s-font-family);
125
- ${_emotion.sliderTokens.textFieldFontSize}: var(--plasma-typo-body-s-font-size);
126
- ${_emotion.sliderTokens.textFieldFontStyle}: var(--plasma-typo-body-s-font-style);
127
- ${_emotion.sliderTokens.textFieldFontWeight}: var(--plasma-typo-body-s-font-weight);
128
- ${_emotion.sliderTokens.textFieldLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
129
- ${_emotion.sliderTokens.textFieldLineHeight}: var(--plasma-typo-body-s-line-height);
125
+ ${_emotion.sliderTokens.textFieldFontFamily}: ${_sdds_cs.bodyS.fontFamily};
126
+ ${_emotion.sliderTokens.textFieldFontSize}: ${_sdds_cs.bodyS.fontSize};
127
+ ${_emotion.sliderTokens.textFieldFontStyle}: ${_sdds_cs.bodyS.fontStyle};
128
+ ${_emotion.sliderTokens.textFieldFontWeight}: ${_sdds_cs.bodyS.fontWeight};
129
+ ${_emotion.sliderTokens.textFieldLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
130
+ ${_emotion.sliderTokens.textFieldLineHeight}: ${_sdds_cs.bodyS.lineHeight};
130
131
  `
131
132
  },
132
133
  pointerSize: {
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,28 +18,28 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- --plasma-spinner-color: var(--text-primary);
21
+ --plasma-spinner-color: ${_sdds_cs.textPrimary};
21
22
  `,
22
23
  secondary: (0, _emotion.css)`
23
- --plasma-spinner-color: var(--text-secondary);
24
+ --plasma-spinner-color: ${_sdds_cs.textSecondary};
24
25
  `,
25
26
  tertiary: (0, _emotion.css)`
26
- --plasma-spinner-color: var(--text-tertiary);
27
+ --plasma-spinner-color: ${_sdds_cs.textTertiary};
27
28
  `,
28
29
  paragraph: (0, _emotion.css)`
29
30
  --plasma-spinner-color: var(--text-paragraph);
30
31
  `,
31
32
  accent: (0, _emotion.css)`
32
- --plasma-spinner-color: var(--text-accent);
33
+ --plasma-spinner-color: ${_sdds_cs.textAccent};
33
34
  `,
34
35
  positive: (0, _emotion.css)`
35
- --plasma-spinner-color: var(--text-positive);
36
+ --plasma-spinner-color: ${_sdds_cs.textPositive};
36
37
  `,
37
38
  warning: (0, _emotion.css)`
38
- --plasma-spinner-color: var(--text-warning);
39
+ --plasma-spinner-color: ${_sdds_cs.textWarning};
39
40
  `,
40
41
  negative: (0, _emotion.css)`
41
- --plasma-spinner-color: var(--text-negative);
42
+ --plasma-spinner-color: ${_sdds_cs.textNegative};
42
43
  `
43
44
  }
44
45
  }
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -16,14 +17,14 @@ const config = {
16
17
  variations: {
17
18
  view: {
18
19
  default: (0, _emotion.css)`
19
- ${_emotion.stepsTokens.completedIndicatorColor}: var(--inverse-text-primary);
20
- ${_emotion.stepsTokens.completedIndicatorColorHover}: var(--inverse-text-primary);
21
- ${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-solid-default);
22
- ${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-solid-default-hover);
23
- ${_emotion.stepsTokens.completedTitleColor}: var(--text-primary);
24
- ${_emotion.stepsTokens.completedTitleColorHover}: var(--text-primary-hover);
20
+ ${_emotion.stepsTokens.completedIndicatorColor}: ${_sdds_cs.inverseTextPrimary};
21
+ ${_emotion.stepsTokens.completedIndicatorColorHover}: ${_sdds_cs.inverseTextPrimary};
22
+ ${_emotion.stepsTokens.completedIndicatorBackground}: ${_sdds_cs.surfaceSolidDefault};
23
+ ${_emotion.stepsTokens.completedIndicatorBackgroundHover}: ${_sdds_cs.surfaceSolidDefaultHover};
24
+ ${_emotion.stepsTokens.completedTitleColor}: ${_sdds_cs.textPrimary};
25
+ ${_emotion.stepsTokens.completedTitleColorHover}: ${_sdds_cs.textPrimaryHover};
25
26
 
26
- ${_emotion.stepsTokens.dividerColor}: var(--surface-solid-default);
27
+ ${_emotion.stepsTokens.dividerColor}: ${_sdds_cs.surfaceSolidDefault};
27
28
  `
28
29
  }
29
30
  }
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -17,44 +18,44 @@ const config = {
17
18
  variations: {
18
19
  view: {
19
20
  default: (0, _emotion.css)`
20
- ${_emotion.stepsTokens.loaderSpinnerColor}: var(--on-dark-surface-solid-primary);
21
+ ${_emotion.stepsTokens.loaderSpinnerColor}: ${_sdds_cs.onDarkSurfaceSolidPrimary};
21
22
 
22
- ${_emotion.stepsTokens.activeTitleColor}: var(--text-primary);
23
- ${_emotion.stepsTokens.activeTitleColorHover}: var(--text-primary-hover);
24
- ${_emotion.stepsTokens.activeIndicatorColor}: var(--inverse-text-primary);
25
- ${_emotion.stepsTokens.activeIndicatorBackground}: var(--on-dark-surface-solid-primary);
23
+ ${_emotion.stepsTokens.activeTitleColor}: ${_sdds_cs.textPrimary};
24
+ ${_emotion.stepsTokens.activeTitleColorHover}: ${_sdds_cs.textPrimaryHover};
25
+ ${_emotion.stepsTokens.activeIndicatorColor}: ${_sdds_cs.inverseTextPrimary};
26
+ ${_emotion.stepsTokens.activeIndicatorBackground}: ${_sdds_cs.onDarkSurfaceSolidPrimary};
26
27
 
27
- ${_emotion.stepsTokens.bulletActiveIndicatorBorder}: solid var(--on-dark-surface-solid-primary);
28
- ${_emotion.stepsTokens.bulletActiveBackground}: var(--surface-clear);
28
+ ${_emotion.stepsTokens.bulletActiveIndicatorBorder}: solid ${_sdds_cs.onDarkSurfaceSolidPrimary};
29
+ ${_emotion.stepsTokens.bulletActiveBackground}: ${_sdds_cs.surfaceClear};
29
30
 
30
- ${_emotion.stepsTokens.completedTitleColor}: var(--text-accent);
31
- ${_emotion.stepsTokens.completedTitleColorHover}: var(--text-accent-hover);
32
- ${_emotion.stepsTokens.completedIndicatorColor}: var(--text-positive);
33
- ${_emotion.stepsTokens.completedIndicatorColorHover}: var(--text-positive-hover);
34
- ${_emotion.stepsTokens.completedIndicatorBackground}: var(--surface-clear);
35
- ${_emotion.stepsTokens.completedIndicatorBackgroundHover}: var(--surface-clear);
36
- ${_emotion.stepsTokens.completedIndicatorBorder}: var(--surface-positive);
37
- ${_emotion.stepsTokens.completedIndicatorBorderHover}: var(--surface-positive-hover);
31
+ ${_emotion.stepsTokens.completedTitleColor}: ${_sdds_cs.textAccent};
32
+ ${_emotion.stepsTokens.completedTitleColorHover}: ${_sdds_cs.textAccentHover};
33
+ ${_emotion.stepsTokens.completedIndicatorColor}: ${_sdds_cs.textPositive};
34
+ ${_emotion.stepsTokens.completedIndicatorColorHover}: ${_sdds_cs.textPositiveHover};
35
+ ${_emotion.stepsTokens.completedIndicatorBackground}: ${_sdds_cs.surfaceClear};
36
+ ${_emotion.stepsTokens.completedIndicatorBackgroundHover}: ${_sdds_cs.surfaceClear};
37
+ ${_emotion.stepsTokens.completedIndicatorBorder}: ${_sdds_cs.surfacePositive};
38
+ ${_emotion.stepsTokens.completedIndicatorBorderHover}: ${_sdds_cs.surfacePositiveHover};
38
39
 
39
- ${_emotion.stepsTokens.completedBulletBorder}: var(--surface-positive);
40
- ${_emotion.stepsTokens.completedBulletBorderHover}: var(--surface-positive-hover);
41
- ${_emotion.stepsTokens.completedBulletBackground}: var(--surface-positive);
42
- ${_emotion.stepsTokens.completedBulletBackgroundHover}: var(--surface-positive-hover);
40
+ ${_emotion.stepsTokens.completedBulletBorder}: ${_sdds_cs.surfacePositive};
41
+ ${_emotion.stepsTokens.completedBulletBorderHover}: ${_sdds_cs.surfacePositiveHover};
42
+ ${_emotion.stepsTokens.completedBulletBackground}: ${_sdds_cs.surfacePositive};
43
+ ${_emotion.stepsTokens.completedBulletBackgroundHover}: ${_sdds_cs.surfacePositiveHover};
43
44
 
44
- ${_emotion.stepsTokens.inactiveTitleColor}: var(--text-primary);
45
- ${_emotion.stepsTokens.inactiveTitleColorHover}: var(--text-primary-hover);
46
- ${_emotion.stepsTokens.inactiveIndicatorColor}: var(--text-primary);
47
- ${_emotion.stepsTokens.inactiveIndicatorColorHover}: var(--text-primary);
45
+ ${_emotion.stepsTokens.inactiveTitleColor}: ${_sdds_cs.textPrimary};
46
+ ${_emotion.stepsTokens.inactiveTitleColorHover}: ${_sdds_cs.textPrimaryHover};
47
+ ${_emotion.stepsTokens.inactiveIndicatorColor}: ${_sdds_cs.textPrimary};
48
+ ${_emotion.stepsTokens.inactiveIndicatorColorHover}: ${_sdds_cs.textPrimary};
48
49
 
49
- ${_emotion.stepsTokens.inactiveIndicatorBackground}: var(--surface-solid-tertiary);
50
- ${_emotion.stepsTokens.inactiveIndicatorBackgroundHover}: var(--surface-solid-tertiary-hover);
50
+ ${_emotion.stepsTokens.inactiveIndicatorBackground}: ${_sdds_cs.surfaceSolidTertiary};
51
+ ${_emotion.stepsTokens.inactiveIndicatorBackgroundHover}: ${_sdds_cs.surfaceSolidTertiaryHover};
51
52
 
52
- ${_emotion.stepsTokens.contentColor}: var(--text-secondary);
53
- ${_emotion.stepsTokens.focusColor}: var(--surface-accent);
53
+ ${_emotion.stepsTokens.contentColor}: ${_sdds_cs.textSecondary};
54
+ ${_emotion.stepsTokens.focusColor}: ${_sdds_cs.surfaceAccent};
54
55
 
55
- ${_emotion.stepsTokens.dividerColor}: var(--surface-positive);
56
- ${_emotion.stepsTokens.dividerGradientColor}: linear-gradient(90deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);
57
- ${_emotion.stepsTokens.dividerVerticalGradientColor}: linear-gradient(180deg, var(--surface-positive) 35%, var(--on-dark-surface-solid-primary) 100%);
56
+ ${_emotion.stepsTokens.dividerColor}: ${_sdds_cs.surfacePositive};
57
+ ${_emotion.stepsTokens.dividerGradientColor}: linear-gradient(90deg, ${_sdds_cs.surfacePositive} 35%, ${_sdds_cs.onDarkSurfaceSolidPrimary} 100%);
58
+ ${_emotion.stepsTokens.dividerVerticalGradientColor}: linear-gradient(180deg, ${_sdds_cs.surfacePositive} 35%, ${_sdds_cs.onDarkSurfaceSolidPrimary} 100%);
58
59
 
59
60
  ${_emotion.stepsTokens.disabledOpacity}: 0.4;
60
61
  `
@@ -72,33 +73,33 @@ const config = {
72
73
  ${_emotion.stepsTokens.contentVerticalPadding}: 0.5rem;
73
74
  ${_emotion.stepsTokens.verticalContentPaddingLeft}: 1rem;
74
75
 
75
- ${_emotion.stepsTokens.indicatorFontFamily}: var(--plasma-typo-body-s-font-family);
76
- ${_emotion.stepsTokens.indicatorFontSize}: var(--plasma-typo-body-s-font-size);
77
- ${_emotion.stepsTokens.indicatorFontStyle}: var(--plasma-typo-body-s-font-style);
78
- ${_emotion.stepsTokens.indicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
79
- ${_emotion.stepsTokens.indicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
80
- ${_emotion.stepsTokens.indicatorLineHeight}: var(--plasma-typo-body-s-line-height);
76
+ ${_emotion.stepsTokens.indicatorFontFamily}: ${_sdds_cs.bodyS.fontFamily};
77
+ ${_emotion.stepsTokens.indicatorFontSize}: ${_sdds_cs.bodyS.fontSize};
78
+ ${_emotion.stepsTokens.indicatorFontStyle}: ${_sdds_cs.bodyS.fontStyle};
79
+ ${_emotion.stepsTokens.indicatorFontWeight}: ${_sdds_cs.bodyS.fontWeight};
80
+ ${_emotion.stepsTokens.indicatorLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
81
+ ${_emotion.stepsTokens.indicatorLineHeight}: ${_sdds_cs.bodyS.lineHeight};
81
82
 
82
- ${_emotion.stepsTokens.activeIndicatorFontFamily}: var(--plasma-typo-body-s-font-family);
83
- ${_emotion.stepsTokens.activeIndicatorFontSize}: var(--plasma-typo-body-s-font-size);
84
- ${_emotion.stepsTokens.activeIndicatorFontStyle}: var(--plasma-typo-body-s-font-style);
85
- ${_emotion.stepsTokens.activeIndicatorFontWeight}: var(--plasma-typo-body-s-font-weight);
86
- ${_emotion.stepsTokens.activeIndicatorLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
87
- ${_emotion.stepsTokens.activeIndicatorLineHeight}: var(--plasma-typo-body-s-line-height);
83
+ ${_emotion.stepsTokens.activeIndicatorFontFamily}: ${_sdds_cs.bodyS.fontFamily};
84
+ ${_emotion.stepsTokens.activeIndicatorFontSize}: ${_sdds_cs.bodyS.fontSize};
85
+ ${_emotion.stepsTokens.activeIndicatorFontStyle}: ${_sdds_cs.bodyS.fontStyle};
86
+ ${_emotion.stepsTokens.activeIndicatorFontWeight}: ${_sdds_cs.bodyS.fontWeight};
87
+ ${_emotion.stepsTokens.activeIndicatorLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
88
+ ${_emotion.stepsTokens.activeIndicatorLineHeight}: ${_sdds_cs.bodyS.lineHeight};
88
89
 
89
- ${_emotion.stepsTokens.titleFontFamily}: var(--plasma-typo-body-m-font-family);
90
- ${_emotion.stepsTokens.titleFontSize}: var(--plasma-typo-body-m-font-size);
91
- ${_emotion.stepsTokens.titleFontStyle}: var(--plasma-typo-body-m-font-style);
92
- ${_emotion.stepsTokens.titleFontWeight}: var(--plasma-typo-body-m-font-weight);
93
- ${_emotion.stepsTokens.titleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
94
- ${_emotion.stepsTokens.titleLineHeight}: var(--plasma-typo-body-m-line-height);
90
+ ${_emotion.stepsTokens.titleFontFamily}: ${_sdds_cs.bodyM.fontFamily};
91
+ ${_emotion.stepsTokens.titleFontSize}: ${_sdds_cs.bodyM.fontSize};
92
+ ${_emotion.stepsTokens.titleFontStyle}: ${_sdds_cs.bodyM.fontStyle};
93
+ ${_emotion.stepsTokens.titleFontWeight}: ${_sdds_cs.bodyM.fontWeight};
94
+ ${_emotion.stepsTokens.titleLetterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
95
+ ${_emotion.stepsTokens.titleLineHeight}: ${_sdds_cs.bodyM.lineHeight};
95
96
 
96
- ${_emotion.stepsTokens.contentFontFamily}: var(--plasma-typo-body-s-font-family);
97
- ${_emotion.stepsTokens.contentFontSize}: var(--plasma-typo-body-s-font-size);
98
- ${_emotion.stepsTokens.contentFontStyle}: var(--plasma-typo-body-s-font-style);
99
- ${_emotion.stepsTokens.contentFontWeight}: var(--plasma-typo-body-s-font-weight);
100
- ${_emotion.stepsTokens.contentLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
101
- ${_emotion.stepsTokens.contentLineHeight}: var(--plasma-typo-body-s-line-height);
97
+ ${_emotion.stepsTokens.contentFontFamily}: ${_sdds_cs.bodyS.fontFamily};
98
+ ${_emotion.stepsTokens.contentFontSize}: ${_sdds_cs.bodyS.fontSize};
99
+ ${_emotion.stepsTokens.contentFontStyle}: ${_sdds_cs.bodyS.fontStyle};
100
+ ${_emotion.stepsTokens.contentFontWeight}: ${_sdds_cs.bodyS.fontWeight};
101
+ ${_emotion.stepsTokens.contentLetterSpacing}: ${_sdds_cs.bodyS.letterSpacing};
102
+ ${_emotion.stepsTokens.contentLineHeight}: ${_sdds_cs.bodyS.lineHeight};
102
103
 
103
104
  ${_emotion.stepsTokens.dividerThickness}: 0.125rem;
104
105
  `
@@ -8,6 +8,7 @@ Object.defineProperty(exports, "config", {
8
8
  return config;
9
9
  }
10
10
  });
11
+ const _sdds_cs = require("@salutejs/sdds-themes/tokens/sdds_cs");
11
12
  const _emotion = require("@salutejs/plasma-new-hope/emotion");
12
13
  const config = {
13
14
  defaults: {
@@ -20,18 +21,18 @@ const config = {
20
21
  variations: {
21
22
  size: {
22
23
  s: (0, _emotion.css)`
23
- ${_emotion.switchTokens.fontFamily}: var(--plasma-typo-body-m-font-family);
24
- ${_emotion.switchTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
25
- ${_emotion.switchTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
26
- ${_emotion.switchTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
27
- ${_emotion.switchTokens.fontSize}: var(--plasma-typo-body-m-font-size);
28
- ${_emotion.switchTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
29
- ${_emotion.switchTokens.descriptionFontFamily}: var(--plasma-typo-body-s-font-family);
30
- ${_emotion.switchTokens.descriptionFontStyle}: var(--plasma-typo-body-s-font-style);
31
- ${_emotion.switchTokens.descriptionFontWeight}: var(--plasma-typo-body-s-font-weight);
32
- ${_emotion.switchTokens.descriptionLineHeight}: var(--plasma-typo-body-s-line-height);
33
- ${_emotion.switchTokens.descriptionFontSize}: var(--plasma-typo-body-s-font-size);
34
- ${_emotion.switchTokens.descriptionLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
24
+ ${_emotion.switchTokens.fontFamily}: ${_sdds_cs.bodyM.fontFamily};
25
+ ${_emotion.switchTokens.fontStyle}: ${_sdds_cs.bodyM.fontStyle};
26
+ ${_emotion.switchTokens.fontWeight}: ${_sdds_cs.bodyM.fontWeight};
27
+ ${_emotion.switchTokens.lineHeight}: ${_sdds_cs.bodyM.lineHeight};
28
+ ${_emotion.switchTokens.fontSize}: ${_sdds_cs.bodyM.fontSize};
29
+ ${_emotion.switchTokens.letterSpacing}: ${_sdds_cs.bodyM.letterSpacing};
30
+ ${_emotion.switchTokens.descriptionFontFamily}: ${_sdds_cs.bodyS.fontFamily};
31
+ ${_emotion.switchTokens.descriptionFontStyle}: ${_sdds_cs.bodyS.fontStyle};
32
+ ${_emotion.switchTokens.descriptionFontWeight}: ${_sdds_cs.bodyS.fontWeight};
33
+ ${_emotion.switchTokens.descriptionLineHeight}: ${_sdds_cs.bodyS.lineHeight};
34
+ ${_emotion.switchTokens.descriptionFontSize}: ${_sdds_cs.bodyS.fontSize};
35
+ ${_emotion.switchTokens.descriptionLetterSpacing}: ${_sdds_cs.bodyXS.letterSpacing};
35
36
  ${_emotion.switchTokens.verticalGap}: 0.25rem;
36
37
  ${_emotion.switchTokens.labelOffset}: 0.75rem;
37
38
  `
@@ -60,21 +61,21 @@ const config = {
60
61
  },
61
62
  view: {
62
63
  default: (0, _emotion.css)`
63
- ${_emotion.switchTokens.labelColor}: var(--text-primary);
64
- ${_emotion.switchTokens.descriptionColor}: var(--text-secondary);
64
+ ${_emotion.switchTokens.labelColor}: ${_sdds_cs.textPrimary};
65
+ ${_emotion.switchTokens.descriptionColor}: ${_sdds_cs.textSecondary};
65
66
  ${_emotion.switchTokens.descriptionMaxLines}: 2;
66
- ${_emotion.switchTokens.trackBackgroundColorOn}: var(--surface-accent);
67
- ${_emotion.switchTokens.trackBackgroundColorOnHover}: var(--surface-accent-hover);
68
- ${_emotion.switchTokens.trackBackgroundColorOff}: var(--surface-solid-card);
69
- ${_emotion.switchTokens.trackBackgroundColorOffHover}: var(--surface-solid-card-hover);
67
+ ${_emotion.switchTokens.trackBackgroundColorOn}: ${_sdds_cs.surfaceAccent};
68
+ ${_emotion.switchTokens.trackBackgroundColorOnHover}: ${_sdds_cs.surfaceAccentHover};
69
+ ${_emotion.switchTokens.trackBackgroundColorOff}: ${_sdds_cs.surfaceSolidCard};
70
+ ${_emotion.switchTokens.trackBackgroundColorOffHover}: ${_sdds_cs.surfaceSolidCardHover};
70
71
  ${_emotion.switchTokens.trackBorderWidthOn}: 0;
71
72
  ${_emotion.switchTokens.trackBorderWidthOff}: 0.125rem;
72
- ${_emotion.switchTokens.trackBorderColorOn}: var(--outline-accent);
73
- ${_emotion.switchTokens.trackBorderColorOnHover}: var(--outline-accent-hover);
74
- ${_emotion.switchTokens.trackBorderColorOff}: var(--outline-solid-primary);
75
- ${_emotion.switchTokens.trackBorderColorOffHover}: var(--outline-solid-primary-hover);
76
- ${_emotion.switchTokens.thumbBackgroundColorOn}: var(--surface-solid-card);
77
- ${_emotion.switchTokens.thumbBackgroundColorOff}: var(--surface-accent);
73
+ ${_emotion.switchTokens.trackBorderColorOn}: ${_sdds_cs.outlineAccent};
74
+ ${_emotion.switchTokens.trackBorderColorOnHover}: ${_sdds_cs.outlineAccentHover};
75
+ ${_emotion.switchTokens.trackBorderColorOff}: ${_sdds_cs.outlineSolidPrimary};
76
+ ${_emotion.switchTokens.trackBorderColorOffHover}: ${_sdds_cs.outlineSolidPrimaryHover};
77
+ ${_emotion.switchTokens.thumbBackgroundColorOn}: ${_sdds_cs.surfaceSolidCard};
78
+ ${_emotion.switchTokens.thumbBackgroundColorOff}: ${_sdds_cs.surfaceAccent};
78
79
  ${_emotion.switchTokens.thumbBoxShadow}: 0 1px 1px rgba(0, 0, 0, 0.11);
79
80
  `
80
81
  },
@@ -85,7 +86,7 @@ const config = {
85
86
  },
86
87
  focused: {
87
88
  true: (0, _emotion.css)`
88
- ${_emotion.switchTokens.trackFocusColor}: var(--surface-accent);
89
+ ${_emotion.switchTokens.trackFocusColor}: ${_sdds_cs.surfaceAccent};
89
90
  `
90
91
  }
91
92
  }