@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
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, bodyS, bodyXS, outlineAccent, outlineSolidPrimary, outlineSolidPrimaryHover, shadowDownSoftS, surfaceAccent, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidPrimary, surfaceSolidSecondary, surfaceSolidTertiary, textAccent, textAccentActive, textAccentMinor, textNegative, textPositive, textPrimary, textSecondary, textSecondaryActive, textSecondaryHover, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { timePickerTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -9,65 +10,65 @@ export const config = {
|
|
|
9
10
|
variations: {
|
|
10
11
|
view: {
|
|
11
12
|
default: css`
|
|
12
|
-
${tokens.background}:
|
|
13
|
-
${tokens.backgroundError}:
|
|
14
|
-
${tokens.backgroundSuccess}:
|
|
13
|
+
${tokens.background}: ${surfaceSolidCard};
|
|
14
|
+
${tokens.backgroundError}: ${surfaceSolidCard};
|
|
15
|
+
${tokens.backgroundSuccess}: ${surfaceSolidCard};
|
|
15
16
|
|
|
16
|
-
${tokens.labelColor}:
|
|
17
|
+
${tokens.labelColor}: ${textPrimary};
|
|
17
18
|
|
|
18
|
-
${tokens.textFieldColor}:
|
|
19
|
-
${tokens.textFieldPlaceholderColor}:
|
|
20
|
-
${tokens.textFieldPlaceholderColorFocus}:
|
|
21
|
-
${tokens.textFieldCaretColor}:
|
|
19
|
+
${tokens.textFieldColor}: ${textPrimary};
|
|
20
|
+
${tokens.textFieldPlaceholderColor}: ${textSecondary};
|
|
21
|
+
${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
|
|
22
|
+
${tokens.textFieldCaretColor}: ${textAccent};
|
|
22
23
|
|
|
23
|
-
${tokens.indicatorColor}:
|
|
24
|
+
${tokens.indicatorColor}: ${surfaceNegative};
|
|
24
25
|
|
|
25
|
-
${tokens.timePickerShadow}:
|
|
26
|
+
${tokens.timePickerShadow}: ${shadowDownSoftS};
|
|
26
27
|
|
|
27
|
-
${tokens.textFieldBackgroundColor}:
|
|
28
|
-
${tokens.textFieldBackgroundColorHover}:
|
|
29
|
-
${tokens.textFieldBackgroundColorFocus}:
|
|
28
|
+
${tokens.textFieldBackgroundColor}: ${surfaceSolidCard};
|
|
29
|
+
${tokens.textFieldBackgroundColorHover}: ${surfaceSolidCard};
|
|
30
|
+
${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidCard};
|
|
30
31
|
${tokens.textFieldBackgroundErrorColor}: var--surface-solid-card);
|
|
31
32
|
${tokens.textFieldBackgroundErrorColorFocus}: var--surface-solid-card);
|
|
32
|
-
${tokens.textFieldBackgroundSuccessColor}:
|
|
33
|
-
${tokens.textFieldBackgroundSuccessColorFocus}:
|
|
33
|
+
${tokens.textFieldBackgroundSuccessColor}: ${surfaceSolidCard};
|
|
34
|
+
${tokens.textFieldBackgroundSuccessColorFocus}: ${surfaceSolidCard};
|
|
34
35
|
|
|
35
|
-
${tokens.borderColor}:
|
|
36
|
-
${tokens.borderColorFocus}:
|
|
37
|
-
${tokens.borderColorHover}:
|
|
36
|
+
${tokens.borderColor}: ${outlineSolidPrimary};
|
|
37
|
+
${tokens.borderColorFocus}: ${outlineAccent};
|
|
38
|
+
${tokens.borderColorHover}: ${outlineSolidPrimaryHover};
|
|
38
39
|
|
|
39
|
-
${tokens.textFieldBorderColorError}:
|
|
40
|
-
${tokens.textFieldBorderColorErrorFocus}:
|
|
41
|
-
${tokens.textFieldBorderColorErrorHover}:
|
|
40
|
+
${tokens.textFieldBorderColorError}: ${textNegative};
|
|
41
|
+
${tokens.textFieldBorderColorErrorFocus}: ${textNegative};
|
|
42
|
+
${tokens.textFieldBorderColorErrorHover}: ${textNegative};
|
|
42
43
|
|
|
43
|
-
${tokens.textFieldBorderColorSuccess}:
|
|
44
|
-
${tokens.textFieldBorderColorSuccessFocus}:
|
|
45
|
-
${tokens.textFieldBorderColorSuccessHover}:
|
|
44
|
+
${tokens.textFieldBorderColorSuccess}: ${textNegative};
|
|
45
|
+
${tokens.textFieldBorderColorSuccessFocus}: ${textNegative};
|
|
46
|
+
${tokens.textFieldBorderColorSuccessHover}: ${textNegative};
|
|
46
47
|
|
|
47
|
-
${tokens.textFieldContentSlotColor}:
|
|
48
|
-
${tokens.textFieldContentSlotColorHover}:
|
|
49
|
-
${tokens.textFieldContentSlotColorActive}:
|
|
48
|
+
${tokens.textFieldContentSlotColor}: ${textSecondary};
|
|
49
|
+
${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
|
|
50
|
+
${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
|
|
50
51
|
|
|
51
|
-
${tokens.textFieldContentRightSlotColor}:
|
|
52
|
-
${tokens.textFieldContentRightSlotColorHover}:
|
|
53
|
-
${tokens.textFieldContentSlotRightOpacityReadOnly}:
|
|
52
|
+
${tokens.textFieldContentRightSlotColor}: ${textAccent};
|
|
53
|
+
${tokens.textFieldContentRightSlotColorHover}: ${textAccentMinor};
|
|
54
|
+
${tokens.textFieldContentSlotRightOpacityReadOnly}: ${textAccentActive};
|
|
54
55
|
|
|
55
|
-
${tokens.textFieldTextBeforeColor}:
|
|
56
|
-
${tokens.textFieldTextAfterColor}:
|
|
56
|
+
${tokens.textFieldTextBeforeColor}: ${textTertiary};
|
|
57
|
+
${tokens.textFieldTextAfterColor}: ${textTertiary};
|
|
57
58
|
|
|
58
|
-
${tokens.textFieldPlaceholderColorFocus}:
|
|
59
|
+
${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
|
|
59
60
|
|
|
60
|
-
${tokens.timePickerBackground}:
|
|
61
|
-
${tokens.itemBackgroundHover}:
|
|
62
|
-
${tokens.itemBackgroundActive}:
|
|
63
|
-
${tokens.itemFocusColor}:
|
|
61
|
+
${tokens.timePickerBackground}: ${surfaceSolidCard};
|
|
62
|
+
${tokens.itemBackgroundHover}: ${surfaceSolidSecondary};
|
|
63
|
+
${tokens.itemBackgroundActive}: ${surfaceSolidSecondary};
|
|
64
|
+
${tokens.itemFocusColor}: ${surfaceAccent};
|
|
64
65
|
|
|
65
|
-
${tokens.scrollbarColor}:
|
|
66
|
+
${tokens.scrollbarColor}: ${surfaceSolidTertiary};
|
|
66
67
|
${tokens.scrollbarTrackColor}: var(--surface-transparent-primary);
|
|
67
68
|
|
|
68
|
-
${tokens.leftHelperColor}:
|
|
69
|
-
${tokens.leftHelperColorError}:
|
|
70
|
-
${tokens.leftHelperColorSuccess}:
|
|
69
|
+
${tokens.leftHelperColor}: ${textSecondary};
|
|
70
|
+
${tokens.leftHelperColorError}: ${textNegative};
|
|
71
|
+
${tokens.leftHelperColorSuccess}: ${textPositive};
|
|
71
72
|
`
|
|
72
73
|
},
|
|
73
74
|
size: {
|
|
@@ -77,12 +78,12 @@ export const config = {
|
|
|
77
78
|
|
|
78
79
|
${tokens.labelOffset}: 0.5rem;
|
|
79
80
|
|
|
80
|
-
${tokens.labelFontFamily}:
|
|
81
|
-
${tokens.labelFontStyle}:
|
|
82
|
-
${tokens.labelFontSize}:
|
|
83
|
-
${tokens.labelFontWeight}:
|
|
84
|
-
${tokens.labelLetterSpacing}:
|
|
85
|
-
${tokens.labelLineHeight}:
|
|
81
|
+
${tokens.labelFontFamily}: ${bodyS.fontFamily};
|
|
82
|
+
${tokens.labelFontStyle}: ${bodyS.fontStyle};
|
|
83
|
+
${tokens.labelFontSize}: ${bodyS.fontSize};
|
|
84
|
+
${tokens.labelFontWeight}: ${bodyS.fontWeight};
|
|
85
|
+
${tokens.labelLetterSpacing}: ${bodyS.letterSpacing};
|
|
86
|
+
${tokens.labelLineHeight}: ${bodyS.lineHeight};
|
|
86
87
|
${tokens.textFieldBorderWidth}: 0.0625rem;
|
|
87
88
|
|
|
88
89
|
${tokens.indicatorSize}: 0.375rem;
|
|
@@ -96,12 +97,12 @@ export const config = {
|
|
|
96
97
|
${tokens.textFieldBorderWidth}: 0.125rem;
|
|
97
98
|
${tokens.textFieldBorderRadius}: 0.75rem;
|
|
98
99
|
${tokens.textFieldPadding}: 0.55rem 0.75rem;
|
|
99
|
-
${tokens.textFieldFontFamily}:
|
|
100
|
-
${tokens.textFieldFontStyle}:
|
|
101
|
-
${tokens.textFieldFontSize}:
|
|
102
|
-
${tokens.textFieldFontWeight}:
|
|
103
|
-
${tokens.textFieldLetterSpacing}:
|
|
104
|
-
${tokens.textFieldLineHeight}:
|
|
100
|
+
${tokens.textFieldFontFamily}: ${bodyM.fontFamily};
|
|
101
|
+
${tokens.textFieldFontStyle}: ${bodyM.fontStyle};
|
|
102
|
+
${tokens.textFieldFontSize}: ${bodyM.fontSize};
|
|
103
|
+
${tokens.textFieldFontWeight}: ${bodyM.fontWeight};
|
|
104
|
+
${tokens.textFieldLetterSpacing}: ${bodyM.letterSpacing};
|
|
105
|
+
${tokens.textFieldLineHeight}: ${bodyM.lineHeight};
|
|
105
106
|
|
|
106
107
|
${tokens.textFieldLeftContentMargin}: 0 0.5rem 0 0rem;
|
|
107
108
|
${tokens.textFieldRightContentMargin}: 0 0rem 0 0.75rem;
|
|
@@ -114,24 +115,24 @@ export const config = {
|
|
|
114
115
|
|
|
115
116
|
${tokens.columnHeight}: 19rem;
|
|
116
117
|
|
|
117
|
-
${tokens.itemFontFamily}:
|
|
118
|
-
${tokens.itemFontSize}:
|
|
119
|
-
${tokens.itemFontStyle}:
|
|
120
|
-
${tokens.itemFontWeight}:
|
|
121
|
-
${tokens.itemLetterSpacing}:
|
|
122
|
-
${tokens.itemLineHeight}:
|
|
118
|
+
${tokens.itemFontFamily}: ${bodyM.fontFamily};
|
|
119
|
+
${tokens.itemFontSize}: ${bodyM.fontSize};
|
|
120
|
+
${tokens.itemFontStyle}: ${bodyM.fontStyle};
|
|
121
|
+
${tokens.itemFontWeight}: ${bodyM.fontWeight};
|
|
122
|
+
${tokens.itemLetterSpacing}: ${bodyM.letterSpacing};
|
|
123
|
+
${tokens.itemLineHeight}: ${bodyM.lineHeight};
|
|
123
124
|
|
|
124
125
|
${tokens.itemHeight}: 2.5rem;
|
|
125
126
|
${tokens.itemBorderRadius}: 0.5rem;
|
|
126
127
|
${tokens.itemPadding}: 0rem;
|
|
127
128
|
|
|
128
129
|
${tokens.leftHelperOffset}: 0.25rem 0 0 0;
|
|
129
|
-
${tokens.leftHelperFontFamily}:
|
|
130
|
-
${tokens.leftHelperFontStyle}:
|
|
131
|
-
${tokens.leftHelperFontSize}:
|
|
132
|
-
${tokens.leftHelperFontWeight}:
|
|
133
|
-
${tokens.leftHelperLetterSpacing}:
|
|
134
|
-
${tokens.leftHelperLineHeight}:
|
|
130
|
+
${tokens.leftHelperFontFamily}: ${bodyXS.fontFamily};
|
|
131
|
+
${tokens.leftHelperFontStyle}: ${bodyXS.fontStyle};
|
|
132
|
+
${tokens.leftHelperFontSize}: ${bodyXS.fontSize};
|
|
133
|
+
${tokens.leftHelperFontWeight}: ${bodyXS.fontWeight};
|
|
134
|
+
${tokens.leftHelperLetterSpacing}: ${bodyXS.letterSpacing};
|
|
135
|
+
${tokens.leftHelperLineHeight}: ${bodyXS.lineHeight};
|
|
135
136
|
|
|
136
137
|
${tokens.scrollbarWidth}: 0.125rem;
|
|
137
138
|
${tokens.scrollbarMargin}: 0.25rem;
|
|
@@ -141,31 +142,31 @@ export const config = {
|
|
|
141
142
|
true: css`
|
|
142
143
|
${tokens.disabledOpacity}: 1;
|
|
143
144
|
|
|
144
|
-
${tokens.textFieldColor}:
|
|
145
|
+
${tokens.textFieldColor}: ${textSecondary};
|
|
145
146
|
|
|
146
|
-
${tokens.textFieldBackgroundColor}:
|
|
147
|
-
${tokens.textFieldBackgroundColorFocus}:
|
|
147
|
+
${tokens.textFieldBackgroundColor}: ${surfaceSolidPrimary};
|
|
148
|
+
${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidPrimary};
|
|
148
149
|
|
|
149
|
-
${tokens.textFieldBorderColor}:
|
|
150
|
-
${tokens.textFieldBorderColorHover}:
|
|
151
|
-
${tokens.textFieldBorderColorFocus}:
|
|
150
|
+
${tokens.textFieldBorderColor}: ${surfaceSolidPrimary};
|
|
151
|
+
${tokens.textFieldBorderColorHover}: ${surfaceSolidPrimary};
|
|
152
|
+
${tokens.textFieldBorderColorFocus}: ${surfaceSolidPrimary};
|
|
152
153
|
`
|
|
153
154
|
},
|
|
154
155
|
readonly: {
|
|
155
156
|
true: css`
|
|
156
|
-
${tokens.labelColorReadOnly}:
|
|
157
|
-
${tokens.leftHelperColorReadOnly}:
|
|
157
|
+
${tokens.labelColorReadOnly}: ${textSecondary};
|
|
158
|
+
${tokens.leftHelperColorReadOnly}: ${textSecondary};
|
|
158
159
|
|
|
159
|
-
${tokens.textFieldColorReadOnly}:
|
|
160
|
-
${tokens.textFieldPlaceholderColorReadOnly}:
|
|
160
|
+
${tokens.textFieldColorReadOnly}: ${textPrimary};
|
|
161
|
+
${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};
|
|
161
162
|
|
|
162
|
-
${tokens.textFieldContentSlotColorHover}:
|
|
163
|
-
${tokens.textFieldContentSlotColorActive}:
|
|
163
|
+
${tokens.textFieldContentSlotColorHover}: ${textSecondary};
|
|
164
|
+
${tokens.textFieldContentSlotColorActive}: ${textSecondary};
|
|
164
165
|
|
|
165
166
|
${tokens.textFieldBorderWidth}: 0;
|
|
166
167
|
${tokens.textFieldBorderColor}: transparent;
|
|
167
168
|
|
|
168
|
-
${tokens.textFieldBackgroundColorReadOnly}:
|
|
169
|
+
${tokens.textFieldBackgroundColorReadOnly}: ${surfaceClear};
|
|
169
170
|
${tokens.textFieldContentSlotRightOpacityReadOnly}: 0.4;
|
|
170
171
|
`
|
|
171
172
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, onDarkSurfaceSolidPrimaryBrightness, onDarkTextAccent, onDarkTextAccentMinor, onDarkTextPrimary, onLightSurfaceSolidPrimaryBrightness, onLightTextAccent, onLightTextAccentMinor, onLightTextPrimary, surfaceSolidCardBrightness, textAccent, textAccentMinor, textPrimary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, toastTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -8,31 +9,31 @@ export const config = {
|
|
|
8
9
|
variations: {
|
|
9
10
|
view: {
|
|
10
11
|
default: css`
|
|
11
|
-
${toastTokens.color}:
|
|
12
|
-
${toastTokens.background}:
|
|
12
|
+
${toastTokens.color}: ${textPrimary};
|
|
13
|
+
${toastTokens.background}: ${surfaceSolidCardBrightness};
|
|
13
14
|
|
|
14
|
-
${toastTokens.closeIconColor}:
|
|
15
|
-
${toastTokens.closeIconColorOnHover}:
|
|
15
|
+
${toastTokens.closeIconColor}: ${textAccent};
|
|
16
|
+
${toastTokens.closeIconColorOnHover}: ${textAccentMinor};
|
|
16
17
|
`,
|
|
17
18
|
/**
|
|
18
19
|
* @deprecated
|
|
19
20
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
20
21
|
*/ dark: css`
|
|
21
|
-
${toastTokens.color}:
|
|
22
|
-
${toastTokens.background}:
|
|
22
|
+
${toastTokens.color}: ${onDarkTextPrimary};
|
|
23
|
+
${toastTokens.background}: ${onDarkSurfaceSolidPrimaryBrightness};
|
|
23
24
|
|
|
24
|
-
${toastTokens.closeIconColor}:
|
|
25
|
-
${toastTokens.closeIconColorOnHover}:
|
|
25
|
+
${toastTokens.closeIconColor}: ${onDarkTextAccent};
|
|
26
|
+
${toastTokens.closeIconColorOnHover}: ${onDarkTextAccentMinor};
|
|
26
27
|
`,
|
|
27
28
|
/**
|
|
28
29
|
* @deprecated
|
|
29
30
|
* светлый и темный фон регулировать через `view` компонента `ViewContainer`
|
|
30
31
|
*/ light: css`
|
|
31
|
-
${toastTokens.color}:
|
|
32
|
-
${toastTokens.background}:
|
|
32
|
+
${toastTokens.color}: ${onLightTextPrimary};
|
|
33
|
+
${toastTokens.background}: ${onLightSurfaceSolidPrimaryBrightness};
|
|
33
34
|
|
|
34
|
-
${toastTokens.closeIconColor}:
|
|
35
|
-
${toastTokens.closeIconColorOnHover}:
|
|
35
|
+
${toastTokens.closeIconColor}: ${onLightTextAccent};
|
|
36
|
+
${toastTokens.closeIconColorOnHover}: ${onLightTextAccentMinor};
|
|
36
37
|
`
|
|
37
38
|
},
|
|
38
39
|
size: {
|
|
@@ -41,12 +42,12 @@ export const config = {
|
|
|
41
42
|
${toastTokens.maxWidth}: calc(100vw - 5rem);
|
|
42
43
|
${toastTokens.padding}: 0.5rem 0.75rem;
|
|
43
44
|
|
|
44
|
-
${toastTokens.fontFamily}:
|
|
45
|
-
${toastTokens.fontSize}:
|
|
46
|
-
${toastTokens.fontStyle}:
|
|
47
|
-
${toastTokens.fontWeight}:
|
|
48
|
-
${toastTokens.letterSpacing}:
|
|
49
|
-
${toastTokens.lineHeight}:
|
|
45
|
+
${toastTokens.fontFamily}: ${bodyM.fontFamily};
|
|
46
|
+
${toastTokens.fontSize}: ${bodyM.fontSize};
|
|
47
|
+
${toastTokens.fontStyle}: ${bodyM.fontStyle};
|
|
48
|
+
${toastTokens.fontWeight}: ${bodyM.fontWeight};
|
|
49
|
+
${toastTokens.letterSpacing}: ${bodyM.letterSpacing};
|
|
50
|
+
${toastTokens.lineHeight}: ${bodyM.lineHeight};
|
|
50
51
|
|
|
51
52
|
${toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
52
53
|
${toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, surfaceSolidCardBrightness, textAccent, textAccentMinor, textPrimary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, toastNewTokens as toastTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,11 +8,11 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
default: css`
|
|
10
|
-
${toastTokens.color}:
|
|
11
|
-
${toastTokens.background}:
|
|
11
|
+
${toastTokens.color}: ${textPrimary};
|
|
12
|
+
${toastTokens.background}: ${surfaceSolidCardBrightness};
|
|
12
13
|
|
|
13
|
-
${toastTokens.closeIconColor}:
|
|
14
|
-
${toastTokens.closeIconColorOnHover}:
|
|
14
|
+
${toastTokens.closeIconColor}: ${textAccent};
|
|
15
|
+
${toastTokens.closeIconColorOnHover}: ${textAccentMinor};
|
|
15
16
|
`
|
|
16
17
|
},
|
|
17
18
|
size: {
|
|
@@ -24,12 +25,12 @@ export const config = {
|
|
|
24
25
|
${toastTokens.closeIconMargin}: -0.0625rem 0.125rem -0.0625rem 0.75rem;
|
|
25
26
|
${toastTokens.contentLeftMargin}: -0.0625rem 0.5rem -0.0625rem 0rem;
|
|
26
27
|
|
|
27
|
-
${toastTokens.fontFamily}:
|
|
28
|
-
${toastTokens.fontSize}:
|
|
29
|
-
${toastTokens.fontStyle}:
|
|
30
|
-
${toastTokens.fontWeight}:
|
|
31
|
-
${toastTokens.letterSpacing}:
|
|
32
|
-
${toastTokens.lineHeight}:
|
|
28
|
+
${toastTokens.fontFamily}: ${bodyM.fontFamily};
|
|
29
|
+
${toastTokens.fontSize}: ${bodyM.fontSize};
|
|
30
|
+
${toastTokens.fontStyle}: ${bodyM.fontStyle};
|
|
31
|
+
${toastTokens.fontWeight}: ${bodyM.fontWeight};
|
|
32
|
+
${toastTokens.letterSpacing}: ${bodyM.letterSpacing};
|
|
33
|
+
${toastTokens.lineHeight}: ${bodyM.lineHeight};
|
|
33
34
|
`
|
|
34
35
|
},
|
|
35
36
|
pilled: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyS, inverseSurfaceSolidCard, inverseTextPrimary, onDarkSurfaceSolidSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, tooltipTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -15,12 +16,12 @@ export const config = {
|
|
|
15
16
|
${tooltipTokens.minHeight}: 2rem;
|
|
16
17
|
${tooltipTokens.borderRadius}: 0.5rem;
|
|
17
18
|
|
|
18
|
-
${tooltipTokens.textFontFamily}:
|
|
19
|
-
${tooltipTokens.textFontSize}:
|
|
20
|
-
${tooltipTokens.textFontStyle}:
|
|
21
|
-
${tooltipTokens.textFontWeight}:
|
|
22
|
-
${tooltipTokens.textFontLetterSpacing}:
|
|
23
|
-
${tooltipTokens.textFontLineHeight}:
|
|
19
|
+
${tooltipTokens.textFontFamily}: ${bodyS.fontFamily};
|
|
20
|
+
${tooltipTokens.textFontSize}: ${bodyS.fontSize};
|
|
21
|
+
${tooltipTokens.textFontStyle}: ${bodyS.fontStyle};
|
|
22
|
+
${tooltipTokens.textFontWeight}: ${bodyS.fontWeight};
|
|
23
|
+
${tooltipTokens.textFontLetterSpacing}: ${bodyS.letterSpacing};
|
|
24
|
+
${tooltipTokens.textFontLineHeight}: ${bodyS.lineHeight};
|
|
24
25
|
|
|
25
26
|
${tooltipTokens.contentLeftMargin}: 0.25rem;
|
|
26
27
|
|
|
@@ -34,16 +35,16 @@ export const config = {
|
|
|
34
35
|
view: {
|
|
35
36
|
// TODO заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
|
36
37
|
default: css`
|
|
37
|
-
${tooltipTokens.backgroundColor}:
|
|
38
|
-
${tooltipTokens.arrowBackground}:
|
|
38
|
+
${tooltipTokens.backgroundColor}: ${inverseSurfaceSolidCard};
|
|
39
|
+
${tooltipTokens.arrowBackground}: ${inverseSurfaceSolidCard};
|
|
39
40
|
${tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
40
|
-
${tooltipTokens.color}:
|
|
41
|
+
${tooltipTokens.color}: ${inverseTextPrimary};
|
|
41
42
|
`,
|
|
42
43
|
secondary: css`
|
|
43
|
-
${tooltipTokens.backgroundColor}:
|
|
44
|
-
${tooltipTokens.arrowBackground}:
|
|
44
|
+
${tooltipTokens.backgroundColor}: ${onDarkSurfaceSolidSecondary};
|
|
45
|
+
${tooltipTokens.arrowBackground}: ${onDarkSurfaceSolidSecondary};
|
|
45
46
|
${tooltipTokens.boxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16),0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
46
|
-
${tooltipTokens.color}:
|
|
47
|
+
${tooltipTokens.color}: ${inverseTextPrimary};
|
|
47
48
|
`
|
|
48
49
|
}
|
|
49
50
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { surfaceSolidCard } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { tourTokens as tokens, css } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,7 +8,7 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
default: css`
|
|
10
|
-
${tokens.tailColor}:
|
|
11
|
+
${tokens.tailColor}: ${surfaceSolidCard};
|
|
11
12
|
${tokens.overlayColor}: rgba(0, 0, 0, 0.45);
|
|
12
13
|
`
|
|
13
14
|
},
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, surfacePositive, surfaceSolidDefault, surfaceSolidPrimary, surfaceSolidPrimaryActive, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textPrimary, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, treeTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,23 +8,23 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
default: css`
|
|
10
|
-
${tokens.iconFolderColor}:
|
|
11
|
-
${tokens.arrowColor}:
|
|
12
|
-
${tokens.arrowColorHover}:
|
|
13
|
-
${tokens.arrowColorActive}:
|
|
14
|
-
${tokens.color}:
|
|
15
|
-
${tokens.colorSelected}:
|
|
16
|
-
${tokens.itemBackgroundColorSelected}:
|
|
11
|
+
${tokens.iconFolderColor}: ${textPrimary};
|
|
12
|
+
${tokens.arrowColor}: ${textAccent};
|
|
13
|
+
${tokens.arrowColorHover}: ${textAccentMinor};
|
|
14
|
+
${tokens.arrowColorActive}: ${textAccentActive};
|
|
15
|
+
${tokens.color}: ${textPrimary};
|
|
16
|
+
${tokens.colorSelected}: ${textPrimary};
|
|
17
|
+
${tokens.itemBackgroundColorSelected}: ${surfaceSolidPrimary};
|
|
17
18
|
${tokens.itemBackgroundColorPrimary}: transparent;
|
|
18
|
-
${tokens.itemBackgroundColorHover}:
|
|
19
|
-
${tokens.itemBackgroundColorActive}:
|
|
20
|
-
${tokens.checkboxBorderColor}:
|
|
21
|
-
${tokens.checkboxBackgroundColor}:
|
|
19
|
+
${tokens.itemBackgroundColorHover}: ${surfaceTransparentAccent};
|
|
20
|
+
${tokens.itemBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
21
|
+
${tokens.checkboxBorderColor}: ${textAccent};
|
|
22
|
+
${tokens.checkboxBackgroundColor}: ${textAccent};
|
|
22
23
|
${tokens.itemDisabledOpacity}: 1;
|
|
23
|
-
${tokens.itemDisabledBorderColor}:
|
|
24
|
-
${tokens.itemDisabledColor}:
|
|
25
|
-
${tokens.itemDraggableBorderColor}:
|
|
26
|
-
${tokens.itemDraggableLineColor}:
|
|
24
|
+
${tokens.itemDisabledBorderColor}: ${textSecondary};
|
|
25
|
+
${tokens.itemDisabledColor}: ${textSecondary};
|
|
26
|
+
${tokens.itemDraggableBorderColor}: ${surfacePositive};
|
|
27
|
+
${tokens.itemDraggableLineColor}: ${surfaceSolidDefault};
|
|
27
28
|
`
|
|
28
29
|
},
|
|
29
30
|
size: {
|
|
@@ -51,12 +52,12 @@ export const config = {
|
|
|
51
52
|
${tokens.checkboxInnerSize}: 1.25rem;
|
|
52
53
|
${tokens.checkboxBorderRadius}: 0.375rem;
|
|
53
54
|
|
|
54
|
-
${tokens.fontFamily}:
|
|
55
|
-
${tokens.fontSize}:
|
|
56
|
-
${tokens.fontStyle}:
|
|
57
|
-
${tokens.fontWeight}:
|
|
58
|
-
${tokens.letterSpacing}:
|
|
59
|
-
${tokens.lineHeight}:
|
|
55
|
+
${tokens.fontFamily}: ${bodyM.fontFamily};
|
|
56
|
+
${tokens.fontSize}: ${bodyM.fontSize};
|
|
57
|
+
${tokens.fontStyle}: ${bodyM.fontStyle};
|
|
58
|
+
${tokens.fontWeight}: ${bodyM.fontWeight};
|
|
59
|
+
${tokens.letterSpacing}: ${bodyM.letterSpacing};
|
|
60
|
+
${tokens.lineHeight}: ${bodyM.lineHeight};
|
|
60
61
|
`
|
|
61
62
|
}
|
|
62
63
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyL, bodyLBold, bodyLMedium, bodyM, bodyMBold, bodyMMedium, bodyS, bodySBold, bodySMedium, bodyXS, bodyXSBold, bodyXSMedium, bodyXXS, bodyXXSBold, bodyXXSMedium } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, typographyTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const configL = {
|
|
3
4
|
defaults: {
|
|
@@ -6,14 +7,14 @@ export const configL = {
|
|
|
6
7
|
variations: {
|
|
7
8
|
size: {
|
|
8
9
|
l: css`
|
|
9
|
-
${typographyTokens.typoFontFamily}:
|
|
10
|
-
${typographyTokens.typoFontSize}:
|
|
11
|
-
${typographyTokens.typoFontStyle}:
|
|
12
|
-
${typographyTokens.typoFontWeight}:
|
|
13
|
-
${typographyTokens.typoFontWeightBold}:
|
|
14
|
-
${typographyTokens.typoFontWeightMedium}:
|
|
15
|
-
${typographyTokens.typoFontLetterSpacing}:
|
|
16
|
-
${typographyTokens.typoFontLineHeight}:
|
|
10
|
+
${typographyTokens.typoFontFamily}: ${bodyL.fontFamily};
|
|
11
|
+
${typographyTokens.typoFontSize}: ${bodyL.fontSize};
|
|
12
|
+
${typographyTokens.typoFontStyle}: ${bodyL.fontStyle};
|
|
13
|
+
${typographyTokens.typoFontWeight}: ${bodyL.fontWeight};
|
|
14
|
+
${typographyTokens.typoFontWeightBold}: ${bodyLBold.fontWeight};
|
|
15
|
+
${typographyTokens.typoFontWeightMedium}: ${bodyLMedium.fontWeight};
|
|
16
|
+
${typographyTokens.typoFontLetterSpacing}: ${bodyL.letterSpacing};
|
|
17
|
+
${typographyTokens.typoFontLineHeight}: ${bodyL.lineHeight};
|
|
17
18
|
`
|
|
18
19
|
}
|
|
19
20
|
}
|
|
@@ -25,14 +26,14 @@ export const configM = {
|
|
|
25
26
|
variations: {
|
|
26
27
|
size: {
|
|
27
28
|
m: css`
|
|
28
|
-
${typographyTokens.typoFontFamily}:
|
|
29
|
-
${typographyTokens.typoFontSize}:
|
|
30
|
-
${typographyTokens.typoFontStyle}:
|
|
31
|
-
${typographyTokens.typoFontWeight}:
|
|
32
|
-
${typographyTokens.typoFontWeightBold}:
|
|
33
|
-
${typographyTokens.typoFontWeightMedium}:
|
|
34
|
-
${typographyTokens.typoFontLetterSpacing}:
|
|
35
|
-
${typographyTokens.typoFontLineHeight}:
|
|
29
|
+
${typographyTokens.typoFontFamily}: ${bodyM.fontFamily};
|
|
30
|
+
${typographyTokens.typoFontSize}: ${bodyM.fontSize};
|
|
31
|
+
${typographyTokens.typoFontStyle}: ${bodyM.fontStyle};
|
|
32
|
+
${typographyTokens.typoFontWeight}: ${bodyM.fontWeight};
|
|
33
|
+
${typographyTokens.typoFontWeightBold}: ${bodyMBold.fontWeight};
|
|
34
|
+
${typographyTokens.typoFontWeightMedium}: ${bodyMMedium.fontWeight};
|
|
35
|
+
${typographyTokens.typoFontLetterSpacing}: ${bodyM.letterSpacing};
|
|
36
|
+
${typographyTokens.typoFontLineHeight}: ${bodyM.lineHeight};
|
|
36
37
|
`
|
|
37
38
|
}
|
|
38
39
|
}
|
|
@@ -44,14 +45,14 @@ export const configS = {
|
|
|
44
45
|
variations: {
|
|
45
46
|
size: {
|
|
46
47
|
s: css`
|
|
47
|
-
${typographyTokens.typoFontFamily}:
|
|
48
|
-
${typographyTokens.typoFontSize}:
|
|
49
|
-
${typographyTokens.typoFontStyle}:
|
|
50
|
-
${typographyTokens.typoFontWeight}:
|
|
51
|
-
${typographyTokens.typoFontWeightBold}:
|
|
52
|
-
${typographyTokens.typoFontWeightMedium}:
|
|
53
|
-
${typographyTokens.typoFontLetterSpacing}:
|
|
54
|
-
${typographyTokens.typoFontLineHeight}:
|
|
48
|
+
${typographyTokens.typoFontFamily}: ${bodyS.fontFamily};
|
|
49
|
+
${typographyTokens.typoFontSize}: ${bodyS.fontSize};
|
|
50
|
+
${typographyTokens.typoFontStyle}: ${bodyS.fontStyle};
|
|
51
|
+
${typographyTokens.typoFontWeight}: ${bodyS.fontWeight};
|
|
52
|
+
${typographyTokens.typoFontWeightBold}: ${bodySBold.fontWeight};
|
|
53
|
+
${typographyTokens.typoFontWeightMedium}: ${bodySMedium.fontWeight};
|
|
54
|
+
${typographyTokens.typoFontLetterSpacing}: ${bodyS.letterSpacing};
|
|
55
|
+
${typographyTokens.typoFontLineHeight}: ${bodyS.lineHeight};
|
|
55
56
|
`
|
|
56
57
|
}
|
|
57
58
|
}
|
|
@@ -63,14 +64,14 @@ export const configXS = {
|
|
|
63
64
|
variations: {
|
|
64
65
|
size: {
|
|
65
66
|
xs: css`
|
|
66
|
-
${typographyTokens.typoFontFamily}:
|
|
67
|
-
${typographyTokens.typoFontSize}:
|
|
68
|
-
${typographyTokens.typoFontStyle}:
|
|
69
|
-
${typographyTokens.typoFontWeight}:
|
|
70
|
-
${typographyTokens.typoFontWeightBold}:
|
|
71
|
-
${typographyTokens.typoFontWeightMedium}:
|
|
72
|
-
${typographyTokens.typoFontLetterSpacing}:
|
|
73
|
-
${typographyTokens.typoFontLineHeight}:
|
|
67
|
+
${typographyTokens.typoFontFamily}: ${bodyXS.fontFamily};
|
|
68
|
+
${typographyTokens.typoFontSize}: ${bodyXS.fontSize};
|
|
69
|
+
${typographyTokens.typoFontStyle}: ${bodyXS.fontStyle};
|
|
70
|
+
${typographyTokens.typoFontWeight}: ${bodyXS.fontWeight};
|
|
71
|
+
${typographyTokens.typoFontWeightBold}: ${bodyXSBold.fontWeight};
|
|
72
|
+
${typographyTokens.typoFontWeightMedium}: ${bodyXSMedium.fontWeight};
|
|
73
|
+
${typographyTokens.typoFontLetterSpacing}: ${bodyXS.letterSpacing};
|
|
74
|
+
${typographyTokens.typoFontLineHeight}: ${bodyXS.lineHeight};
|
|
74
75
|
`
|
|
75
76
|
}
|
|
76
77
|
}
|
|
@@ -82,14 +83,14 @@ export const configXXS = {
|
|
|
82
83
|
variations: {
|
|
83
84
|
size: {
|
|
84
85
|
xxs: css`
|
|
85
|
-
${typographyTokens.typoFontFamily}:
|
|
86
|
-
${typographyTokens.typoFontSize}:
|
|
87
|
-
${typographyTokens.typoFontStyle}:
|
|
88
|
-
${typographyTokens.typoFontWeight}:
|
|
89
|
-
${typographyTokens.typoFontWeightBold}:
|
|
90
|
-
${typographyTokens.typoFontWeightMedium}:
|
|
91
|
-
${typographyTokens.typoFontLetterSpacing}:
|
|
92
|
-
${typographyTokens.typoFontLineHeight}:
|
|
86
|
+
${typographyTokens.typoFontFamily}: ${bodyXXS.fontFamily};
|
|
87
|
+
${typographyTokens.typoFontSize}: ${bodyXXS.fontSize};
|
|
88
|
+
${typographyTokens.typoFontStyle}: ${bodyXXS.fontStyle};
|
|
89
|
+
${typographyTokens.typoFontWeight}: ${bodyXXS.fontWeight};
|
|
90
|
+
${typographyTokens.typoFontWeightBold}: ${bodyXXSBold.fontWeight};
|
|
91
|
+
${typographyTokens.typoFontWeightMedium}: ${bodyXXSMedium.fontWeight};
|
|
92
|
+
${typographyTokens.typoFontLetterSpacing}: ${bodyXXS.letterSpacing};
|
|
93
|
+
${typographyTokens.typoFontLineHeight}: ${bodyXXS.lineHeight};
|
|
93
94
|
`
|
|
94
95
|
}
|
|
95
96
|
}
|