@salutejs/sdds-cs 0.361.0-next-sbcom.0 → 0.362.0-dev.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/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
- package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
- package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
- package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
- package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
- package/dist/emotion/cjs/components/Button/Button.js +3 -3
- package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
- package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
- package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
- package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
- package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
- package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
- package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
- package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
- package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
- package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
- package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
- package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
- package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
- package/dist/emotion/es/components/Button/Button.config.js +44 -43
- package/dist/emotion/es/components/Button/Button.js +3 -3
- package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
- package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
- package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
- package/dist/emotion/es/components/Card/Card.config.js +2 -1
- package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
- package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
- package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
- package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
- package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
- package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
- package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
- package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
- package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
- package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
- package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
- package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
- package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
- package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
- package/dist/emotion/es/components/Link/Link.config.js +53 -52
- package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
- package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
- package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
- package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
- package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
- package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
- package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
- package/dist/emotion/es/components/Range/Range.config.js +70 -69
- package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
- package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
- package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
- package/dist/emotion/es/components/Select/Select.config.js +126 -125
- package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
- package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
- package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
- package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
- package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
- package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
- package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
- package/dist/emotion/es/components/Table/Table.config.js +82 -81
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
- package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
- package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
- package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
- package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
- package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
- package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
- package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
- package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
- package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
- package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
- package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
- package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
- package/dist/emotion/es/components/Typography/Body.config.js +41 -40
- package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
- package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
- package/dist/emotion/es/components/Typography/Text.config.js +33 -32
- package/package.json +8 -8
- package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
- package/types/components/Avatar/Avatar.d.ts +4 -4
- package/types/components/Combobox/Combobox.d.ts +8 -0
- package/types/components/DatePicker/DatePicker.d.ts +2 -0
- package/types/components/IconButton/IconButton.d.ts +28 -11
- package/types/components/Mask/Mask.d.ts +16 -0
- package/types/components/Rating/Rating.d.ts +1 -0
- package/types/components/Select/Select.d.ts +16 -0
- package/types/components/TextField/TextField.d.ts +32 -0
- 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}:
|
|
22
|
+
${_emotion.sliderTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
22
23
|
|
|
23
|
-
${_emotion.sliderTokens.rangeValueColor}:
|
|
24
|
+
${_emotion.sliderTokens.rangeValueColor}: ${_sdds_cs.textSecondary};
|
|
24
25
|
|
|
25
|
-
${_emotion.sliderTokens.thumbBorderColor}:
|
|
26
|
-
${_emotion.sliderTokens.thumbBackgroundColor}:
|
|
27
|
-
${_emotion.sliderTokens.thumbFocusBorderColor}:
|
|
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}:
|
|
30
|
+
${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
30
31
|
|
|
31
|
-
${_emotion.sliderTokens.fillColor}:
|
|
32
|
+
${_emotion.sliderTokens.fillColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
32
33
|
|
|
33
|
-
${_emotion.sliderTokens.tickDotColor}:
|
|
34
|
-
${_emotion.sliderTokens.tickDotFilledColor}:
|
|
34
|
+
${_emotion.sliderTokens.tickDotColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
35
|
+
${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_cs.surfaceSolidDefault};
|
|
35
36
|
|
|
36
|
-
${_emotion.sliderTokens.textFieldCaretColor}:
|
|
37
|
-
${_emotion.sliderTokens.textFieldColor}:
|
|
38
|
-
${_emotion.sliderTokens.textFiledFocusColor}:
|
|
39
|
-
${_emotion.sliderTokens.textFieldPlaceholderColor}:
|
|
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}:
|
|
42
|
-
${_emotion.sliderTokens.textFieldBorderColorFocus}:
|
|
43
|
-
${_emotion.sliderTokens.textFieldBorderColorHover}:
|
|
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}:
|
|
46
|
-
${_emotion.sliderTokens.textFieldBackgroundColorHover}:
|
|
47
|
-
${_emotion.sliderTokens.textFieldBackgroundColorFocus}:
|
|
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}:
|
|
51
|
+
${_emotion.sliderTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
51
52
|
|
|
52
|
-
${_emotion.sliderTokens.rangeValueColor}:
|
|
53
|
+
${_emotion.sliderTokens.rangeValueColor}: ${_sdds_cs.textSecondary};
|
|
53
54
|
|
|
54
|
-
${_emotion.sliderTokens.thumbBorderColor}:
|
|
55
|
-
${_emotion.sliderTokens.thumbBackgroundColor}:
|
|
56
|
-
${_emotion.sliderTokens.thumbFocusBorderColor}:
|
|
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}:
|
|
59
|
+
${_emotion.sliderTokens.railBackgroundColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
59
60
|
|
|
60
|
-
${_emotion.sliderTokens.fillColor}:
|
|
61
|
+
${_emotion.sliderTokens.fillColor}: ${_sdds_cs.surfaceAccent};
|
|
61
62
|
|
|
62
|
-
${_emotion.sliderTokens.tickDotColor}:
|
|
63
|
-
${_emotion.sliderTokens.tickDotFilledColor}:
|
|
63
|
+
${_emotion.sliderTokens.tickDotColor}: ${_sdds_cs.surfaceSolidPrimary};
|
|
64
|
+
${_emotion.sliderTokens.tickDotFilledColor}: ${_sdds_cs.surfaceAccent};
|
|
64
65
|
|
|
65
|
-
${_emotion.sliderTokens.textFieldColor}:
|
|
66
|
+
${_emotion.sliderTokens.textFieldColor}: ${_sdds_cs.textSecondary};
|
|
66
67
|
|
|
67
|
-
${_emotion.sliderTokens.textFieldCaretColor}:
|
|
68
|
-
${_emotion.sliderTokens.textFieldColor}:
|
|
69
|
-
${_emotion.sliderTokens.textFiledFocusColor}:
|
|
70
|
-
${_emotion.sliderTokens.textFieldPlaceholderColor}:
|
|
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}:
|
|
73
|
-
${_emotion.sliderTokens.textFieldBorderColorFocus}:
|
|
74
|
-
${_emotion.sliderTokens.textFieldBorderColorHover}:
|
|
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}:
|
|
77
|
-
${_emotion.sliderTokens.textFieldBackgroundColorHover}:
|
|
78
|
-
${_emotion.sliderTokens.textFieldBackgroundColorFocus}:
|
|
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}:
|
|
93
|
-
${_emotion.sliderTokens.labelFontSize}:
|
|
94
|
-
${_emotion.sliderTokens.labelFontStyle}:
|
|
95
|
-
${_emotion.sliderTokens.labelFontWeight}:
|
|
96
|
-
${_emotion.sliderTokens.labelLetterSpacing}:
|
|
97
|
-
${_emotion.sliderTokens.labelLineHeight}:
|
|
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}:
|
|
105
|
-
${_emotion.sliderTokens.valueFontSize}:
|
|
106
|
-
${_emotion.sliderTokens.valueFontStyle}:
|
|
107
|
-
${_emotion.sliderTokens.valueFontWeight}:
|
|
108
|
-
${_emotion.sliderTokens.valueLetterSpacing}:
|
|
109
|
-
${_emotion.sliderTokens.valueLineHeight}:
|
|
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}:
|
|
125
|
-
${_emotion.sliderTokens.textFieldFontSize}:
|
|
126
|
-
${_emotion.sliderTokens.textFieldFontStyle}:
|
|
127
|
-
${_emotion.sliderTokens.textFieldFontWeight}:
|
|
128
|
-
${_emotion.sliderTokens.textFieldLetterSpacing}:
|
|
129
|
-
${_emotion.sliderTokens.textFieldLineHeight}:
|
|
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:
|
|
21
|
+
--plasma-spinner-color: ${_sdds_cs.textPrimary};
|
|
21
22
|
`,
|
|
22
23
|
secondary: (0, _emotion.css)`
|
|
23
|
-
--plasma-spinner-color:
|
|
24
|
+
--plasma-spinner-color: ${_sdds_cs.textSecondary};
|
|
24
25
|
`,
|
|
25
26
|
tertiary: (0, _emotion.css)`
|
|
26
|
-
--plasma-spinner-color:
|
|
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:
|
|
33
|
+
--plasma-spinner-color: ${_sdds_cs.textAccent};
|
|
33
34
|
`,
|
|
34
35
|
positive: (0, _emotion.css)`
|
|
35
|
-
--plasma-spinner-color:
|
|
36
|
+
--plasma-spinner-color: ${_sdds_cs.textPositive};
|
|
36
37
|
`,
|
|
37
38
|
warning: (0, _emotion.css)`
|
|
38
|
-
--plasma-spinner-color:
|
|
39
|
+
--plasma-spinner-color: ${_sdds_cs.textWarning};
|
|
39
40
|
`,
|
|
40
41
|
negative: (0, _emotion.css)`
|
|
41
|
-
--plasma-spinner-color:
|
|
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}:
|
|
20
|
-
${_emotion.stepsTokens.completedIndicatorColorHover}:
|
|
21
|
-
${_emotion.stepsTokens.completedIndicatorBackground}:
|
|
22
|
-
${_emotion.stepsTokens.completedIndicatorBackgroundHover}:
|
|
23
|
-
${_emotion.stepsTokens.completedTitleColor}:
|
|
24
|
-
${_emotion.stepsTokens.completedTitleColorHover}:
|
|
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}:
|
|
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}:
|
|
21
|
+
${_emotion.stepsTokens.loaderSpinnerColor}: ${_sdds_cs.onDarkSurfaceSolidPrimary};
|
|
21
22
|
|
|
22
|
-
${_emotion.stepsTokens.activeTitleColor}:
|
|
23
|
-
${_emotion.stepsTokens.activeTitleColorHover}:
|
|
24
|
-
${_emotion.stepsTokens.activeIndicatorColor}:
|
|
25
|
-
${_emotion.stepsTokens.activeIndicatorBackground}:
|
|
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
|
|
28
|
-
${_emotion.stepsTokens.bulletActiveBackground}:
|
|
28
|
+
${_emotion.stepsTokens.bulletActiveIndicatorBorder}: solid ${_sdds_cs.onDarkSurfaceSolidPrimary};
|
|
29
|
+
${_emotion.stepsTokens.bulletActiveBackground}: ${_sdds_cs.surfaceClear};
|
|
29
30
|
|
|
30
|
-
${_emotion.stepsTokens.completedTitleColor}:
|
|
31
|
-
${_emotion.stepsTokens.completedTitleColorHover}:
|
|
32
|
-
${_emotion.stepsTokens.completedIndicatorColor}:
|
|
33
|
-
${_emotion.stepsTokens.completedIndicatorColorHover}:
|
|
34
|
-
${_emotion.stepsTokens.completedIndicatorBackground}:
|
|
35
|
-
${_emotion.stepsTokens.completedIndicatorBackgroundHover}:
|
|
36
|
-
${_emotion.stepsTokens.completedIndicatorBorder}:
|
|
37
|
-
${_emotion.stepsTokens.completedIndicatorBorderHover}:
|
|
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}:
|
|
40
|
-
${_emotion.stepsTokens.completedBulletBorderHover}:
|
|
41
|
-
${_emotion.stepsTokens.completedBulletBackground}:
|
|
42
|
-
${_emotion.stepsTokens.completedBulletBackgroundHover}:
|
|
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}:
|
|
45
|
-
${_emotion.stepsTokens.inactiveTitleColorHover}:
|
|
46
|
-
${_emotion.stepsTokens.inactiveIndicatorColor}:
|
|
47
|
-
${_emotion.stepsTokens.inactiveIndicatorColorHover}:
|
|
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}:
|
|
50
|
-
${_emotion.stepsTokens.inactiveIndicatorBackgroundHover}:
|
|
50
|
+
${_emotion.stepsTokens.inactiveIndicatorBackground}: ${_sdds_cs.surfaceSolidTertiary};
|
|
51
|
+
${_emotion.stepsTokens.inactiveIndicatorBackgroundHover}: ${_sdds_cs.surfaceSolidTertiaryHover};
|
|
51
52
|
|
|
52
|
-
${_emotion.stepsTokens.contentColor}:
|
|
53
|
-
${_emotion.stepsTokens.focusColor}:
|
|
53
|
+
${_emotion.stepsTokens.contentColor}: ${_sdds_cs.textSecondary};
|
|
54
|
+
${_emotion.stepsTokens.focusColor}: ${_sdds_cs.surfaceAccent};
|
|
54
55
|
|
|
55
|
-
${_emotion.stepsTokens.dividerColor}:
|
|
56
|
-
${_emotion.stepsTokens.dividerGradientColor}: linear-gradient(90deg,
|
|
57
|
-
${_emotion.stepsTokens.dividerVerticalGradientColor}: linear-gradient(180deg,
|
|
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}:
|
|
76
|
-
${_emotion.stepsTokens.indicatorFontSize}:
|
|
77
|
-
${_emotion.stepsTokens.indicatorFontStyle}:
|
|
78
|
-
${_emotion.stepsTokens.indicatorFontWeight}:
|
|
79
|
-
${_emotion.stepsTokens.indicatorLetterSpacing}:
|
|
80
|
-
${_emotion.stepsTokens.indicatorLineHeight}:
|
|
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}:
|
|
83
|
-
${_emotion.stepsTokens.activeIndicatorFontSize}:
|
|
84
|
-
${_emotion.stepsTokens.activeIndicatorFontStyle}:
|
|
85
|
-
${_emotion.stepsTokens.activeIndicatorFontWeight}:
|
|
86
|
-
${_emotion.stepsTokens.activeIndicatorLetterSpacing}:
|
|
87
|
-
${_emotion.stepsTokens.activeIndicatorLineHeight}:
|
|
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}:
|
|
90
|
-
${_emotion.stepsTokens.titleFontSize}:
|
|
91
|
-
${_emotion.stepsTokens.titleFontStyle}:
|
|
92
|
-
${_emotion.stepsTokens.titleFontWeight}:
|
|
93
|
-
${_emotion.stepsTokens.titleLetterSpacing}:
|
|
94
|
-
${_emotion.stepsTokens.titleLineHeight}:
|
|
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}:
|
|
97
|
-
${_emotion.stepsTokens.contentFontSize}:
|
|
98
|
-
${_emotion.stepsTokens.contentFontStyle}:
|
|
99
|
-
${_emotion.stepsTokens.contentFontWeight}:
|
|
100
|
-
${_emotion.stepsTokens.contentLetterSpacing}:
|
|
101
|
-
${_emotion.stepsTokens.contentLineHeight}:
|
|
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}:
|
|
24
|
-
${_emotion.switchTokens.fontStyle}:
|
|
25
|
-
${_emotion.switchTokens.fontWeight}:
|
|
26
|
-
${_emotion.switchTokens.lineHeight}:
|
|
27
|
-
${_emotion.switchTokens.fontSize}:
|
|
28
|
-
${_emotion.switchTokens.letterSpacing}:
|
|
29
|
-
${_emotion.switchTokens.descriptionFontFamily}:
|
|
30
|
-
${_emotion.switchTokens.descriptionFontStyle}:
|
|
31
|
-
${_emotion.switchTokens.descriptionFontWeight}:
|
|
32
|
-
${_emotion.switchTokens.descriptionLineHeight}:
|
|
33
|
-
${_emotion.switchTokens.descriptionFontSize}:
|
|
34
|
-
${_emotion.switchTokens.descriptionLetterSpacing}:
|
|
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}:
|
|
64
|
-
${_emotion.switchTokens.descriptionColor}:
|
|
64
|
+
${_emotion.switchTokens.labelColor}: ${_sdds_cs.textPrimary};
|
|
65
|
+
${_emotion.switchTokens.descriptionColor}: ${_sdds_cs.textSecondary};
|
|
65
66
|
${_emotion.switchTokens.descriptionMaxLines}: 2;
|
|
66
|
-
${_emotion.switchTokens.trackBackgroundColorOn}:
|
|
67
|
-
${_emotion.switchTokens.trackBackgroundColorOnHover}:
|
|
68
|
-
${_emotion.switchTokens.trackBackgroundColorOff}:
|
|
69
|
-
${_emotion.switchTokens.trackBackgroundColorOffHover}:
|
|
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}:
|
|
73
|
-
${_emotion.switchTokens.trackBorderColorOnHover}:
|
|
74
|
-
${_emotion.switchTokens.trackBorderColorOff}:
|
|
75
|
-
${_emotion.switchTokens.trackBorderColorOffHover}:
|
|
76
|
-
${_emotion.switchTokens.thumbBackgroundColorOn}:
|
|
77
|
-
${_emotion.switchTokens.thumbBackgroundColorOff}:
|
|
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}:
|
|
89
|
+
${_emotion.switchTokens.trackFocusColor}: ${_sdds_cs.surfaceAccent};
|
|
89
90
|
`
|
|
90
91
|
}
|
|
91
92
|
}
|