@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 { surfaceSolidPrimary, textAccent } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, segmentTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,14 +8,14 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
clear: css`
|
|
10
|
-
${segmentTokens.arrowColor}:
|
|
11
|
+
${segmentTokens.arrowColor}: ${textAccent};
|
|
11
12
|
${segmentTokens.groupBackgroundColor}: transparent;
|
|
12
|
-
${segmentTokens.outlineFocusColor}:
|
|
13
|
+
${segmentTokens.outlineFocusColor}: ${textAccent};
|
|
13
14
|
`,
|
|
14
15
|
filled: css`
|
|
15
|
-
${segmentTokens.arrowColor}:
|
|
16
|
+
${segmentTokens.arrowColor}: ${textAccent};
|
|
16
17
|
${segmentTokens.groupBackgroundColor}: transparent;
|
|
17
|
-
${segmentTokens.outlineFocusColor}:
|
|
18
|
+
${segmentTokens.outlineFocusColor}: ${textAccent};
|
|
18
19
|
`
|
|
19
20
|
},
|
|
20
21
|
size: {
|
|
@@ -38,7 +39,7 @@ export const config = {
|
|
|
38
39
|
},
|
|
39
40
|
filledBackground: {
|
|
40
41
|
true: css`
|
|
41
|
-
${segmentTokens.groupFilledBackgroundColor}:
|
|
42
|
+
${segmentTokens.groupFilledBackgroundColor}: ${surfaceSolidPrimary};
|
|
42
43
|
`
|
|
43
44
|
},
|
|
44
45
|
orientation: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyS, bodySBold, surfaceAccent, surfaceSolidCard, textAccent, textAccentMinor, textPrimary, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, segmentTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,36 +8,36 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
default: css`
|
|
10
|
-
${segmentTokens.itemColor}:
|
|
11
|
+
${segmentTokens.itemColor}: ${textAccent};
|
|
11
12
|
${segmentTokens.itemBackgroundColor}: transparent;
|
|
12
|
-
${segmentTokens.itemColorHover}:
|
|
13
|
+
${segmentTokens.itemColorHover}: ${textAccentMinor};
|
|
13
14
|
${segmentTokens.itemBackgroundColorHover}: transparent;
|
|
14
|
-
${segmentTokens.itemAdditionalColor}:
|
|
15
|
-
${segmentTokens.itemAdditionalColorHover}:
|
|
16
|
-
${segmentTokens.itemSelectedColor}:
|
|
17
|
-
${segmentTokens.itemSelectedBackgroundColor}:
|
|
18
|
-
${segmentTokens.itemSelectedColorHover}:
|
|
19
|
-
${segmentTokens.itemSelectedBackgroundColorHover}:
|
|
20
|
-
${segmentTokens.itemSelectedAdditionalColor}:
|
|
21
|
-
${segmentTokens.itemSelectedAdditionalColorHover}:
|
|
15
|
+
${segmentTokens.itemAdditionalColor}: ${textAccentMinor};
|
|
16
|
+
${segmentTokens.itemAdditionalColorHover}: ${textAccentMinor};
|
|
17
|
+
${segmentTokens.itemSelectedColor}: ${textPrimary};
|
|
18
|
+
${segmentTokens.itemSelectedBackgroundColor}: ${surfaceSolidCard};
|
|
19
|
+
${segmentTokens.itemSelectedColorHover}: ${textPrimary};
|
|
20
|
+
${segmentTokens.itemSelectedBackgroundColorHover}: ${surfaceSolidCard};
|
|
21
|
+
${segmentTokens.itemSelectedAdditionalColor}: ${textSecondary};
|
|
22
|
+
${segmentTokens.itemSelectedAdditionalColorHover}: ${textSecondary};
|
|
22
23
|
|
|
23
|
-
${segmentTokens.outlineFocusColor}:
|
|
24
|
+
${segmentTokens.outlineFocusColor}: ${surfaceAccent};
|
|
24
25
|
`,
|
|
25
26
|
secondary: css`
|
|
26
|
-
${segmentTokens.itemColor}:
|
|
27
|
+
${segmentTokens.itemColor}: ${textAccent};
|
|
27
28
|
${segmentTokens.itemBackgroundColor}: transparent;
|
|
28
|
-
${segmentTokens.itemColorHover}:
|
|
29
|
+
${segmentTokens.itemColorHover}: ${textAccentMinor};
|
|
29
30
|
${segmentTokens.itemBackgroundColorHover}: transparent;
|
|
30
|
-
${segmentTokens.itemAdditionalColor}:
|
|
31
|
-
${segmentTokens.itemAdditionalColorHover}:
|
|
32
|
-
${segmentTokens.itemSelectedColor}:
|
|
33
|
-
${segmentTokens.itemSelectedBackgroundColor}:
|
|
34
|
-
${segmentTokens.itemSelectedColorHover}:
|
|
35
|
-
${segmentTokens.itemSelectedBackgroundColorHover}:
|
|
36
|
-
${segmentTokens.itemSelectedAdditionalColor}:
|
|
37
|
-
${segmentTokens.itemSelectedAdditionalColorHover}:
|
|
31
|
+
${segmentTokens.itemAdditionalColor}: ${textAccentMinor};
|
|
32
|
+
${segmentTokens.itemAdditionalColorHover}: ${textAccentMinor};
|
|
33
|
+
${segmentTokens.itemSelectedColor}: ${textAccent};
|
|
34
|
+
${segmentTokens.itemSelectedBackgroundColor}: ${surfaceSolidCard};
|
|
35
|
+
${segmentTokens.itemSelectedColorHover}: ${textAccentMinor};
|
|
36
|
+
${segmentTokens.itemSelectedBackgroundColorHover}: ${surfaceSolidCard};
|
|
37
|
+
${segmentTokens.itemSelectedAdditionalColor}: ${textAccentMinor};
|
|
38
|
+
${segmentTokens.itemSelectedAdditionalColorHover}: ${textAccentMinor};
|
|
38
39
|
|
|
39
|
-
${segmentTokens.outlineFocusColor}:
|
|
40
|
+
${segmentTokens.outlineFocusColor}: ${surfaceAccent};
|
|
40
41
|
`
|
|
41
42
|
},
|
|
42
43
|
size: {
|
|
@@ -50,12 +51,12 @@ export const config = {
|
|
|
50
51
|
${segmentTokens.itemIconMargin}: 0.25rem;
|
|
51
52
|
${segmentTokens.itemMarginLeft}: 0rem;
|
|
52
53
|
|
|
53
|
-
${segmentTokens.fontFamily}:
|
|
54
|
-
${segmentTokens.fontSize}:
|
|
55
|
-
${segmentTokens.fontStyle}:
|
|
56
|
-
${segmentTokens.fontWeight}:
|
|
57
|
-
${segmentTokens.letterSpacing}:
|
|
58
|
-
${segmentTokens.lineHeight}:
|
|
54
|
+
${segmentTokens.fontFamily}: ${bodyS.fontFamily};
|
|
55
|
+
${segmentTokens.fontSize}: ${bodyS.fontSize};
|
|
56
|
+
${segmentTokens.fontStyle}: ${bodyS.fontStyle};
|
|
57
|
+
${segmentTokens.fontWeight}: ${bodySBold.fontWeight};
|
|
58
|
+
${segmentTokens.letterSpacing}: ${bodyS.letterSpacing};
|
|
59
|
+
${segmentTokens.lineHeight}: ${bodyS.lineHeight};
|
|
59
60
|
`
|
|
60
61
|
},
|
|
61
62
|
disabled: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, bodyS, bodyXS, inverseTextPrimary, inverseTextSecondary, onDarkTextPrimary, outlineAccent, outlineNegative, outlineNegativeHover, outlineSolidPrimary, outlineSolidPrimaryHover, surfaceClear, surfaceNegative, surfaceSolidCard, surfaceSolidDefault, surfaceSolidDefaultHover, surfaceSolidPrimary, surfaceSolidPrimaryActive, surfaceSolidPrimaryHover, surfaceTransparentAccent, textAccent, textAccentActive, textAccentMinor, textNegative, textPrimary, textPrimaryHover, textSecondary, textTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, selectTokens as tokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -9,90 +10,90 @@ export const config = {
|
|
|
9
10
|
variations: {
|
|
10
11
|
view: {
|
|
11
12
|
default: css`
|
|
12
|
-
${tokens.textFieldColor}:
|
|
13
|
-
${tokens.textFieldPlaceholderColor}:
|
|
14
|
-
${tokens.textFieldBackgroundColor}:
|
|
15
|
-
${tokens.textFieldBackgroundColorFocus}:
|
|
16
|
-
${tokens.textFieldLabelColor}:
|
|
17
|
-
${tokens.textFieldLeftHelperColor}:
|
|
18
|
-
${tokens.textFieldContentSlotColor}:
|
|
19
|
-
${tokens.textFieldBorderColor}:
|
|
20
|
-
${tokens.textFieldBorderColorHover}:
|
|
21
|
-
${tokens.textFieldBorderColorFocus}:
|
|
13
|
+
${tokens.textFieldColor}: ${textPrimary};
|
|
14
|
+
${tokens.textFieldPlaceholderColor}: ${textSecondary};
|
|
15
|
+
${tokens.textFieldBackgroundColor}: ${surfaceSolidCard};
|
|
16
|
+
${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidCard};
|
|
17
|
+
${tokens.textFieldLabelColor}: ${textPrimary};
|
|
18
|
+
${tokens.textFieldLeftHelperColor}: ${textSecondary};
|
|
19
|
+
${tokens.textFieldContentSlotColor}: ${textSecondary};
|
|
20
|
+
${tokens.textFieldBorderColor}: ${outlineSolidPrimary};
|
|
21
|
+
${tokens.textFieldBorderColorHover}: ${outlineSolidPrimaryHover};
|
|
22
|
+
${tokens.textFieldBorderColorFocus}: ${outlineAccent};
|
|
22
23
|
|
|
23
|
-
${tokens.textFieldIndicatorColor}:
|
|
24
|
-
${tokens.textFieldOptionalColor}:
|
|
24
|
+
${tokens.textFieldIndicatorColor}: ${surfaceNegative};
|
|
25
|
+
${tokens.textFieldOptionalColor}: ${textTertiary};
|
|
25
26
|
|
|
26
|
-
${tokens.buttonColor}:
|
|
27
|
-
${tokens.buttonColorHover}:
|
|
28
|
-
${tokens.buttonColorActive}:
|
|
29
|
-
${tokens.buttonArrowColor}:
|
|
30
|
-
${tokens.buttonArrowColorHover}:
|
|
31
|
-
${tokens.buttonArrowColorActive}:
|
|
32
|
-
${tokens.buttonBackgroundColor}:
|
|
33
|
-
${tokens.buttonBackgroundColorHover}:
|
|
34
|
-
${tokens.buttonBackgroundColorActive}:
|
|
27
|
+
${tokens.buttonColor}: ${textAccent};
|
|
28
|
+
${tokens.buttonColorHover}: ${textAccentMinor};
|
|
29
|
+
${tokens.buttonColorActive}: ${textAccentActive};
|
|
30
|
+
${tokens.buttonArrowColor}: ${textPrimary};
|
|
31
|
+
${tokens.buttonArrowColorHover}: ${textPrimaryHover};
|
|
32
|
+
${tokens.buttonArrowColorActive}: ${textPrimaryHover};
|
|
33
|
+
${tokens.buttonBackgroundColor}: ${surfaceSolidPrimary};
|
|
34
|
+
${tokens.buttonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
35
|
+
${tokens.buttonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
35
36
|
|
|
36
|
-
${tokens.disclosureIconColor}:
|
|
37
|
-
${tokens.disclosureIconColorHover}:
|
|
38
|
-
${tokens.itemBackgroundHover}:
|
|
37
|
+
${tokens.disclosureIconColor}: ${textAccent};
|
|
38
|
+
${tokens.disclosureIconColorHover}: ${textAccentMinor};
|
|
39
|
+
${tokens.itemBackgroundHover}: ${surfaceTransparentAccent};
|
|
39
40
|
${tokens.itemDisabledOpacity}: 1;
|
|
40
|
-
${tokens.itemDisabledColor}:
|
|
41
|
+
${tokens.itemDisabledColor}: ${textSecondary};
|
|
41
42
|
|
|
42
|
-
${tokens.dropdownBorderColor}:
|
|
43
|
-
${tokens.checkboxIconColor}:
|
|
43
|
+
${tokens.dropdownBorderColor}: ${outlineSolidPrimary};
|
|
44
|
+
${tokens.checkboxIconColor}: ${textPrimary};
|
|
44
45
|
|
|
45
|
-
${tokens.dividerColor}:
|
|
46
|
+
${tokens.dividerColor}: ${surfaceSolidPrimary};
|
|
46
47
|
|
|
47
|
-
${tokens.itemIconColor}:
|
|
48
|
+
${tokens.itemIconColor}: ${textAccent};
|
|
48
49
|
|
|
49
|
-
${tokens.checkboxFillColor}:
|
|
50
|
-
${tokens.checkboxIconColor}:
|
|
50
|
+
${tokens.checkboxFillColor}: ${textAccent};
|
|
51
|
+
${tokens.checkboxIconColor}: ${onDarkTextPrimary};
|
|
51
52
|
${tokens.checkboxTriggerBorderCheckedColor}: none;
|
|
52
|
-
${tokens.checkboxTriggerBorderColor}:
|
|
53
|
+
${tokens.checkboxTriggerBorderColor}: ${outlineAccent};
|
|
53
54
|
`,
|
|
54
55
|
negative: css`
|
|
55
|
-
${tokens.textFieldColor}:
|
|
56
|
-
${tokens.textFieldPlaceholderColor}:
|
|
57
|
-
${tokens.textFieldBackgroundColor}:
|
|
58
|
-
${tokens.textFieldBackgroundColorFocus}:
|
|
59
|
-
${tokens.textFieldLabelColor}:
|
|
60
|
-
${tokens.textFieldLeftHelperColor}:
|
|
61
|
-
${tokens.textFieldContentSlotColor}:
|
|
62
|
-
${tokens.textFieldBorderColor}:
|
|
63
|
-
${tokens.textFieldBorderColorHover}:
|
|
64
|
-
${tokens.textFieldBorderColorFocus}:
|
|
56
|
+
${tokens.textFieldColor}: ${textPrimary};
|
|
57
|
+
${tokens.textFieldPlaceholderColor}: ${textSecondary};
|
|
58
|
+
${tokens.textFieldBackgroundColor}: ${surfaceSolidCard};
|
|
59
|
+
${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidCard};
|
|
60
|
+
${tokens.textFieldLabelColor}: ${textPrimary};
|
|
61
|
+
${tokens.textFieldLeftHelperColor}: ${textNegative};
|
|
62
|
+
${tokens.textFieldContentSlotColor}: ${textSecondary};
|
|
63
|
+
${tokens.textFieldBorderColor}: ${outlineNegative};
|
|
64
|
+
${tokens.textFieldBorderColorHover}: ${outlineNegativeHover};
|
|
65
|
+
${tokens.textFieldBorderColorFocus}: ${outlineAccent};
|
|
65
66
|
|
|
66
|
-
${tokens.textFieldIndicatorColor}:
|
|
67
|
-
${tokens.textFieldOptionalColor}:
|
|
67
|
+
${tokens.textFieldIndicatorColor}: ${surfaceNegative};
|
|
68
|
+
${tokens.textFieldOptionalColor}: ${textTertiary};
|
|
68
69
|
|
|
69
|
-
${tokens.buttonColor}:
|
|
70
|
-
${tokens.buttonColorHover}:
|
|
71
|
-
${tokens.buttonColorActive}:
|
|
72
|
-
${tokens.buttonArrowColor}:
|
|
73
|
-
${tokens.buttonArrowColorHover}:
|
|
74
|
-
${tokens.buttonArrowColorActive}:
|
|
75
|
-
${tokens.buttonBackgroundColor}:
|
|
76
|
-
${tokens.buttonBackgroundColorHover}:
|
|
77
|
-
${tokens.buttonBackgroundColorActive}:
|
|
70
|
+
${tokens.buttonColor}: ${textAccent};
|
|
71
|
+
${tokens.buttonColorHover}: ${textAccentMinor};
|
|
72
|
+
${tokens.buttonColorActive}: ${textAccentActive};
|
|
73
|
+
${tokens.buttonArrowColor}: ${textPrimary};
|
|
74
|
+
${tokens.buttonArrowColorHover}: ${textPrimaryHover};
|
|
75
|
+
${tokens.buttonArrowColorActive}: ${textPrimaryHover};
|
|
76
|
+
${tokens.buttonBackgroundColor}: ${surfaceSolidPrimary};
|
|
77
|
+
${tokens.buttonBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
78
|
+
${tokens.buttonBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
78
79
|
|
|
79
|
-
${tokens.disclosureIconColor}:
|
|
80
|
-
${tokens.disclosureIconColorHover}:
|
|
81
|
-
${tokens.itemBackgroundHover}:
|
|
80
|
+
${tokens.disclosureIconColor}: ${textAccent};
|
|
81
|
+
${tokens.disclosureIconColorHover}: ${textAccentMinor};
|
|
82
|
+
${tokens.itemBackgroundHover}: ${surfaceTransparentAccent};
|
|
82
83
|
${tokens.itemDisabledOpacity}: 1;
|
|
83
|
-
${tokens.itemDisabledColor}:
|
|
84
|
+
${tokens.itemDisabledColor}: ${textSecondary};
|
|
84
85
|
|
|
85
|
-
${tokens.dropdownBorderColor}:
|
|
86
|
-
${tokens.checkboxIconColor}:
|
|
86
|
+
${tokens.dropdownBorderColor}: ${outlineSolidPrimary};
|
|
87
|
+
${tokens.checkboxIconColor}: ${textAccent};
|
|
87
88
|
|
|
88
|
-
${tokens.dividerColor}:
|
|
89
|
+
${tokens.dividerColor}: ${surfaceSolidPrimary};
|
|
89
90
|
|
|
90
|
-
${tokens.itemIconColor}:
|
|
91
|
+
${tokens.itemIconColor}: ${textAccent};
|
|
91
92
|
|
|
92
|
-
${tokens.checkboxFillColor}:
|
|
93
|
-
${tokens.checkboxIconColor}:
|
|
93
|
+
${tokens.checkboxFillColor}: ${textAccent};
|
|
94
|
+
${tokens.checkboxIconColor}: ${onDarkTextPrimary};
|
|
94
95
|
${tokens.checkboxTriggerBorderCheckedColor}: none;
|
|
95
|
-
${tokens.checkboxTriggerBorderColor}:
|
|
96
|
+
${tokens.checkboxTriggerBorderColor}: ${outlineAccent};
|
|
96
97
|
`
|
|
97
98
|
},
|
|
98
99
|
size: {
|
|
@@ -109,28 +110,28 @@ export const config = {
|
|
|
109
110
|
${tokens.textFieldTextBeforeMargin}: 0 0.25rem 0 0;
|
|
110
111
|
${tokens.textFieldTextAfterMargin}: 0 0 0 0.25rem;
|
|
111
112
|
|
|
112
|
-
${tokens.textFieldFontFamily}:
|
|
113
|
-
${tokens.textFieldFontSize}:
|
|
114
|
-
${tokens.textFieldFontStyle}:
|
|
115
|
-
${tokens.textFieldFontWeight}:
|
|
116
|
-
${tokens.textFieldLetterSpacing}:
|
|
117
|
-
${tokens.textFieldLineHeight}:
|
|
113
|
+
${tokens.textFieldFontFamily}: ${bodyM.fontFamily};
|
|
114
|
+
${tokens.textFieldFontSize}: ${bodyM.fontSize};
|
|
115
|
+
${tokens.textFieldFontStyle}: ${bodyM.fontStyle};
|
|
116
|
+
${tokens.textFieldFontWeight}: ${bodyM.fontWeight};
|
|
117
|
+
${tokens.textFieldLetterSpacing}: ${bodyM.letterSpacing};
|
|
118
|
+
${tokens.textFieldLineHeight}: ${bodyM.lineHeight};
|
|
118
119
|
|
|
119
120
|
${tokens.textFieldLabelOffset}: 0.5rem;
|
|
120
|
-
${tokens.textFieldLabelFontFamily}:
|
|
121
|
-
${tokens.textFieldLabelFontSize}:
|
|
122
|
-
${tokens.textFieldLabelFontStyle}:
|
|
123
|
-
${tokens.textFieldLabelFontWeight}:
|
|
124
|
-
${tokens.textFieldLabelLetterSpacing}:
|
|
125
|
-
${tokens.textFieldLabelLineHeight}:
|
|
121
|
+
${tokens.textFieldLabelFontFamily}: ${bodyS.fontFamily};
|
|
122
|
+
${tokens.textFieldLabelFontSize}: ${bodyS.fontSize};
|
|
123
|
+
${tokens.textFieldLabelFontStyle}: ${bodyS.fontStyle};
|
|
124
|
+
${tokens.textFieldLabelFontWeight}: ${bodyS.fontWeight};
|
|
125
|
+
${tokens.textFieldLabelLetterSpacing}: ${bodyS.letterSpacing};
|
|
126
|
+
${tokens.textFieldLabelLineHeight}: ${bodyS.lineHeight};
|
|
126
127
|
|
|
127
|
-
${tokens.
|
|
128
|
-
${tokens.textFieldLeftHelperFontFamily}:
|
|
129
|
-
${tokens.textFieldLeftHelperFontSize}:
|
|
130
|
-
${tokens.textFieldLeftHelperFontStyle}:
|
|
131
|
-
${tokens.textFieldLeftHelperFontWeight}:
|
|
132
|
-
${tokens.textFieldLeftHelperLetterSpacing}:
|
|
133
|
-
${tokens.textFieldLeftHelperLineHeight}:
|
|
128
|
+
${tokens.textFieldLeftHelperOffset}: 0.25rem 0 0 0;
|
|
129
|
+
${tokens.textFieldLeftHelperFontFamily}: ${bodyS.fontFamily};
|
|
130
|
+
${tokens.textFieldLeftHelperFontSize}: ${bodyS.fontSize};
|
|
131
|
+
${tokens.textFieldLeftHelperFontStyle}: ${bodyS.fontStyle};
|
|
132
|
+
${tokens.textFieldLeftHelperFontWeight}: ${bodyS.fontWeight};
|
|
133
|
+
${tokens.textFieldLeftHelperLetterSpacing}: ${bodyS.letterSpacing};
|
|
134
|
+
${tokens.textFieldLeftHelperLineHeight}: ${bodyS.lineHeight};
|
|
134
135
|
|
|
135
136
|
${tokens.textFieldLabelInnerPadding}: 0.3125rem 0 0 0;
|
|
136
137
|
${tokens.textFieldContentLabelInnerPadding}: 1.0625rem 0 0.3125rem 0;
|
|
@@ -153,12 +154,12 @@ export const config = {
|
|
|
153
154
|
${tokens.textFieldChipClearContentMarginLeft}: 0.375rem;
|
|
154
155
|
${tokens.textFieldChipClearContentMarginRight}: 0rem;
|
|
155
156
|
${tokens.textFieldChipCloseIconSize}: 1rem;
|
|
156
|
-
${tokens.textFieldChipFontFamily}:
|
|
157
|
-
${tokens.textFieldChipFontSize}:
|
|
158
|
-
${tokens.textFieldChipFontStyle}:
|
|
159
|
-
${tokens.textFieldChipFontWeight}:
|
|
160
|
-
${tokens.textFieldChipLetterSpacing}:
|
|
161
|
-
${tokens.textFieldChipLineHeight}:
|
|
157
|
+
${tokens.textFieldChipFontFamily}: ${bodyS.fontFamily};
|
|
158
|
+
${tokens.textFieldChipFontSize}: ${bodyS.fontSize};
|
|
159
|
+
${tokens.textFieldChipFontStyle}: ${bodyS.fontStyle};
|
|
160
|
+
${tokens.textFieldChipFontWeight}: ${bodyS.fontWeight};
|
|
161
|
+
${tokens.textFieldChipLetterSpacing}: ${bodyS.letterSpacing};
|
|
162
|
+
${tokens.textFieldChipLineHeight}: ${bodyS.lineHeight};
|
|
162
163
|
|
|
163
164
|
${tokens.buttonArrowMargin}: 0 -0.125rem 0 0.25rem;
|
|
164
165
|
${tokens.targetHeight}: 2.5rem;
|
|
@@ -184,19 +185,19 @@ export const config = {
|
|
|
184
185
|
${tokens.cellPaddingRightContent}: 0rem;
|
|
185
186
|
${tokens.cellTextboxGap}: 0.125rem;
|
|
186
187
|
${tokens.cellGap}: 0.375rem;
|
|
187
|
-
${tokens.cellTitleFontFamily}:
|
|
188
|
-
${tokens.cellTitleFontSize}:
|
|
189
|
-
${tokens.cellTitleFontStyle}:
|
|
190
|
-
${tokens.cellTitleFontWeight}:
|
|
191
|
-
${tokens.cellTitleLetterSpacing}:
|
|
192
|
-
${tokens.cellTitleLineHeight}:
|
|
188
|
+
${tokens.cellTitleFontFamily}: ${bodyM.fontFamily};
|
|
189
|
+
${tokens.cellTitleFontSize}: ${bodyM.fontSize};
|
|
190
|
+
${tokens.cellTitleFontStyle}: ${bodyM.fontStyle};
|
|
191
|
+
${tokens.cellTitleFontWeight}: ${bodyM.fontWeight};
|
|
192
|
+
${tokens.cellTitleLetterSpacing}: ${bodyM.letterSpacing};
|
|
193
|
+
${tokens.cellTitleLineHeight}: ${bodyM.lineHeight};
|
|
193
194
|
|
|
194
|
-
${tokens.fontFamily}:
|
|
195
|
-
${tokens.fontSize}:
|
|
196
|
-
${tokens.fontStyle}:
|
|
197
|
-
${tokens.fontWeight}:
|
|
198
|
-
${tokens.fontLetterSpacing}:
|
|
199
|
-
${tokens.fontLineHeight}:
|
|
195
|
+
${tokens.fontFamily}: ${bodyM.fontFamily};
|
|
196
|
+
${tokens.fontSize}: ${bodyM.fontSize};
|
|
197
|
+
${tokens.fontStyle}: ${bodyM.fontStyle};
|
|
198
|
+
${tokens.fontWeight}: ${bodyM.fontWeight};
|
|
199
|
+
${tokens.fontLetterSpacing}: ${bodyM.letterSpacing};
|
|
200
|
+
${tokens.fontLineHeight}: ${bodyM.lineHeight};
|
|
200
201
|
|
|
201
202
|
${tokens.checkboxTriggerSize}: 1.25rem;
|
|
202
203
|
${tokens.checkboxTriggerSizeTight}: 0.875rem;
|
|
@@ -217,46 +218,46 @@ export const config = {
|
|
|
217
218
|
labelPlacement: {
|
|
218
219
|
inner: css`
|
|
219
220
|
${tokens.textFieldPlaceholderColor}: var(--plasma-input-label-color, var(--plasma-input-placeholder-color, var(--plasma-colors-secondary)));
|
|
220
|
-
${tokens.textFieldLabelInnerFontFamily}:
|
|
221
|
-
${tokens.textFieldLabelInnerFontSize}:
|
|
222
|
-
${tokens.textFieldLabelInnerFontStyle}:
|
|
223
|
-
${tokens.textFieldLabelInnerFontWeight}:
|
|
224
|
-
${tokens.textFieldLabelInnerLetterSpacing}:
|
|
225
|
-
${tokens.textFieldLabelInnerLineHeight}:
|
|
221
|
+
${tokens.textFieldLabelInnerFontFamily}: ${bodyXS.fontFamily};
|
|
222
|
+
${tokens.textFieldLabelInnerFontSize}: ${bodyXS.fontSize};
|
|
223
|
+
${tokens.textFieldLabelInnerFontStyle}: ${bodyXS.fontStyle};
|
|
224
|
+
${tokens.textFieldLabelInnerFontWeight}: ${bodyXS.fontWeight};
|
|
225
|
+
${tokens.textFieldLabelInnerLetterSpacing}: ${bodyXS.letterSpacing};
|
|
226
|
+
${tokens.textFieldLabelInnerLineHeight}: ${bodyXS.lineHeight};
|
|
226
227
|
`,
|
|
227
228
|
outer: css``
|
|
228
229
|
},
|
|
229
230
|
chipView: {
|
|
230
231
|
default: css`
|
|
231
|
-
${tokens.textFieldChipColor}:
|
|
232
|
-
${tokens.textFieldChipColorHover}:
|
|
233
|
-
${tokens.textFieldChipBackground}:
|
|
234
|
-
${tokens.textFieldChipBackgroundHover}:
|
|
235
|
-
${tokens.textFieldChipCloseIconColor}:
|
|
236
|
-
${tokens.textFieldChipCloseIconColorHover}:
|
|
232
|
+
${tokens.textFieldChipColor}: ${inverseTextPrimary};
|
|
233
|
+
${tokens.textFieldChipColorHover}: ${inverseTextPrimary};
|
|
234
|
+
${tokens.textFieldChipBackground}: ${surfaceSolidDefault};
|
|
235
|
+
${tokens.textFieldChipBackgroundHover}: ${surfaceSolidDefaultHover};
|
|
236
|
+
${tokens.textFieldChipCloseIconColor}: ${inverseTextSecondary};
|
|
237
|
+
${tokens.textFieldChipCloseIconColorHover}: ${inverseTextPrimary};
|
|
237
238
|
${tokens.textFieldChipOpacityReadonly}: 1;
|
|
238
239
|
`
|
|
239
240
|
},
|
|
240
241
|
disabled: {
|
|
241
242
|
true: css`
|
|
242
243
|
${tokens.textFieldDisabledOpacity}: 1;
|
|
243
|
-
${tokens.textFieldBackgroundColor}:
|
|
244
|
-
${tokens.textFieldBackgroundColorFocus}:
|
|
245
|
-
${tokens.textFieldBorderColor}:
|
|
246
|
-
${tokens.textFieldBorderColorHover}:
|
|
247
|
-
${tokens.textFieldBorderColorFocus}:
|
|
248
|
-
${tokens.textFieldColor}:
|
|
244
|
+
${tokens.textFieldBackgroundColor}: ${surfaceSolidPrimary};
|
|
245
|
+
${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidPrimary};
|
|
246
|
+
${tokens.textFieldBorderColor}: ${surfaceSolidPrimary};
|
|
247
|
+
${tokens.textFieldBorderColorHover}: ${surfaceSolidPrimary};
|
|
248
|
+
${tokens.textFieldBorderColorFocus}: ${surfaceSolidPrimary};
|
|
249
|
+
${tokens.textFieldColor}: ${textSecondary};
|
|
249
250
|
`
|
|
250
251
|
},
|
|
251
252
|
readOnly: {
|
|
252
253
|
true: css`
|
|
253
|
-
${tokens.textFieldColorReadOnly}:
|
|
254
|
-
${tokens.textFieldBackgroundColorReadOnly}:
|
|
255
|
-
${tokens.textFieldPlaceholderColorReadOnly}:
|
|
256
|
-
${tokens.textFieldLeftHelperColorReadOnly}:
|
|
257
|
-
${tokens.textFieldLabelColorReadOnly}:
|
|
254
|
+
${tokens.textFieldColorReadOnly}: ${textPrimary};
|
|
255
|
+
${tokens.textFieldBackgroundColorReadOnly}: ${surfaceClear};
|
|
256
|
+
${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};
|
|
257
|
+
${tokens.textFieldLeftHelperColorReadOnly}: ${textSecondary};
|
|
258
|
+
${tokens.textFieldLabelColorReadOnly}: ${textSecondary};
|
|
258
259
|
${tokens.disclosureIconOpacityReadOnly}: 0.4;
|
|
259
|
-
${tokens.textFieldTitleCaptionColorReadOnly}:
|
|
260
|
+
${tokens.textFieldTitleCaptionColorReadOnly}: ${textSecondary};
|
|
260
261
|
${tokens.textFieldBorderColor}: transparent;
|
|
261
262
|
${tokens.textFieldBorderWidth}: 0;
|
|
262
263
|
`
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { surfaceSolidCard, surfaceSolidTertiary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, sheetTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -8,8 +9,8 @@ export const config = {
|
|
|
8
9
|
default: css`
|
|
9
10
|
${sheetTokens.sheetOverlayColor}: var(--overlay-soft);
|
|
10
11
|
${sheetTokens.sheetOverlayWithBlurColor}: var(--overlay-blur);
|
|
11
|
-
${sheetTokens.contentBackgroundColor}:
|
|
12
|
-
${sheetTokens.handleBackgroundColor}:
|
|
12
|
+
${sheetTokens.contentBackgroundColor}: ${surfaceSolidCard};
|
|
13
|
+
${sheetTokens.handleBackgroundColor}: ${surfaceSolidTertiary};
|
|
13
14
|
`
|
|
14
15
|
},
|
|
15
16
|
handlePlacement: {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyL, bodyM, bodyS, bodyXS, bodyXXS, dsplL, dsplM, dsplS, h1, h2, h3, h4, h5, textL, textM, textS, textXS } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, skeletonTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -19,72 +20,72 @@ export const config = {
|
|
|
19
20
|
},
|
|
20
21
|
size: {
|
|
21
22
|
bodyL: css`
|
|
22
|
-
${skeletonTokens.lineHeight}:
|
|
23
|
-
${skeletonTokens.visibleLineHeight}:
|
|
23
|
+
${skeletonTokens.lineHeight}: ${bodyL.lineHeight};
|
|
24
|
+
${skeletonTokens.visibleLineHeight}: ${bodyL.fontSize};
|
|
24
25
|
`,
|
|
25
26
|
bodyM: css`
|
|
26
|
-
${skeletonTokens.lineHeight}:
|
|
27
|
-
${skeletonTokens.visibleLineHeight}:
|
|
27
|
+
${skeletonTokens.lineHeight}: ${bodyM.lineHeight};
|
|
28
|
+
${skeletonTokens.visibleLineHeight}: ${bodyM.fontSize};
|
|
28
29
|
`,
|
|
29
30
|
bodyS: css`
|
|
30
|
-
${skeletonTokens.lineHeight}:
|
|
31
|
-
${skeletonTokens.visibleLineHeight}:
|
|
31
|
+
${skeletonTokens.lineHeight}: ${bodyS.lineHeight};
|
|
32
|
+
${skeletonTokens.visibleLineHeight}: ${bodyS.fontSize};
|
|
32
33
|
`,
|
|
33
34
|
bodyXS: css`
|
|
34
|
-
${skeletonTokens.lineHeight}:
|
|
35
|
-
${skeletonTokens.visibleLineHeight}:
|
|
35
|
+
${skeletonTokens.lineHeight}: ${bodyXS.lineHeight};
|
|
36
|
+
${skeletonTokens.visibleLineHeight}: ${bodyXS.fontSize};
|
|
36
37
|
`,
|
|
37
38
|
bodyXXS: css`
|
|
38
|
-
${skeletonTokens.lineHeight}:
|
|
39
|
-
${skeletonTokens.visibleLineHeight}:
|
|
39
|
+
${skeletonTokens.lineHeight}: ${bodyXXS.lineHeight};
|
|
40
|
+
${skeletonTokens.visibleLineHeight}: ${bodyXXS.fontSize};
|
|
40
41
|
`,
|
|
41
42
|
dsplL: css`
|
|
42
|
-
${skeletonTokens.lineHeight}:
|
|
43
|
-
${skeletonTokens.visibleLineHeight}:
|
|
43
|
+
${skeletonTokens.lineHeight}: ${dsplL.lineHeight};
|
|
44
|
+
${skeletonTokens.visibleLineHeight}: ${dsplL.fontSize};
|
|
44
45
|
`,
|
|
45
46
|
dsplM: css`
|
|
46
|
-
${skeletonTokens.lineHeight}:
|
|
47
|
-
${skeletonTokens.visibleLineHeight}:
|
|
47
|
+
${skeletonTokens.lineHeight}: ${dsplM.lineHeight};
|
|
48
|
+
${skeletonTokens.visibleLineHeight}: ${dsplM.fontSize};
|
|
48
49
|
`,
|
|
49
50
|
dsplS: css`
|
|
50
|
-
${skeletonTokens.lineHeight}:
|
|
51
|
-
${skeletonTokens.visibleLineHeight}:
|
|
51
|
+
${skeletonTokens.lineHeight}: ${dsplS.lineHeight};
|
|
52
|
+
${skeletonTokens.visibleLineHeight}: ${dsplS.fontSize};
|
|
52
53
|
`,
|
|
53
54
|
h1: css`
|
|
54
|
-
${skeletonTokens.lineHeight}:
|
|
55
|
-
${skeletonTokens.visibleLineHeight}:
|
|
55
|
+
${skeletonTokens.lineHeight}: ${h1.lineHeight};
|
|
56
|
+
${skeletonTokens.visibleLineHeight}: ${h1.fontSize};
|
|
56
57
|
`,
|
|
57
58
|
h2: css`
|
|
58
|
-
${skeletonTokens.lineHeight}:
|
|
59
|
-
${skeletonTokens.visibleLineHeight}:
|
|
59
|
+
${skeletonTokens.lineHeight}: ${h2.lineHeight};
|
|
60
|
+
${skeletonTokens.visibleLineHeight}: ${h2.fontSize};
|
|
60
61
|
`,
|
|
61
62
|
h3: css`
|
|
62
|
-
${skeletonTokens.lineHeight}:
|
|
63
|
-
${skeletonTokens.visibleLineHeight}:
|
|
63
|
+
${skeletonTokens.lineHeight}: ${h3.lineHeight};
|
|
64
|
+
${skeletonTokens.visibleLineHeight}: ${h3.fontSize};
|
|
64
65
|
`,
|
|
65
66
|
h4: css`
|
|
66
|
-
${skeletonTokens.lineHeight}:
|
|
67
|
-
${skeletonTokens.visibleLineHeight}:
|
|
67
|
+
${skeletonTokens.lineHeight}: ${h4.lineHeight};
|
|
68
|
+
${skeletonTokens.visibleLineHeight}: ${h4.fontSize};
|
|
68
69
|
`,
|
|
69
70
|
h5: css`
|
|
70
|
-
${skeletonTokens.lineHeight}:
|
|
71
|
-
${skeletonTokens.visibleLineHeight}:
|
|
71
|
+
${skeletonTokens.lineHeight}: ${h5.lineHeight};
|
|
72
|
+
${skeletonTokens.visibleLineHeight}: ${h5.fontSize};
|
|
72
73
|
`,
|
|
73
74
|
textL: css`
|
|
74
|
-
${skeletonTokens.lineHeight}:
|
|
75
|
-
${skeletonTokens.visibleLineHeight}:
|
|
75
|
+
${skeletonTokens.lineHeight}: ${textL.lineHeight};
|
|
76
|
+
${skeletonTokens.visibleLineHeight}: ${textL.fontSize};
|
|
76
77
|
`,
|
|
77
78
|
textM: css`
|
|
78
|
-
${skeletonTokens.lineHeight}:
|
|
79
|
-
${skeletonTokens.visibleLineHeight}:
|
|
79
|
+
${skeletonTokens.lineHeight}: ${textM.lineHeight};
|
|
80
|
+
${skeletonTokens.visibleLineHeight}: ${textM.fontSize};
|
|
80
81
|
`,
|
|
81
82
|
textS: css`
|
|
82
|
-
${skeletonTokens.lineHeight}:
|
|
83
|
-
${skeletonTokens.visibleLineHeight}:
|
|
83
|
+
${skeletonTokens.lineHeight}: ${textS.lineHeight};
|
|
84
|
+
${skeletonTokens.visibleLineHeight}: ${textS.fontSize};
|
|
84
85
|
`,
|
|
85
86
|
textXS: css`
|
|
86
|
-
${skeletonTokens.lineHeight}:
|
|
87
|
-
${skeletonTokens.visibleLineHeight}:
|
|
87
|
+
${skeletonTokens.lineHeight}: ${textXS.lineHeight};
|
|
88
|
+
${skeletonTokens.visibleLineHeight}: ${textXS.fontSize};
|
|
88
89
|
`
|
|
89
90
|
}
|
|
90
91
|
}
|