@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, bodyMBold, surfaceAccent, surfaceSolidDefault, textAccent, textAccentActive, textAccentMinor, textPrimary, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, tabsTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,31 +8,31 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
divider: css`
|
|
10
|
-
${tabsTokens.itemColor}:
|
|
11
|
-
${tabsTokens.itemValueColor}:
|
|
11
|
+
${tabsTokens.itemColor}: ${textAccent};
|
|
12
|
+
${tabsTokens.itemValueColor}: ${textSecondary};
|
|
12
13
|
${tabsTokens.itemBackgroundColor}: transparent;
|
|
13
|
-
${tabsTokens.itemColorHover}:
|
|
14
|
-
${tabsTokens.itemValueColorHover}:
|
|
15
|
-
${tabsTokens.itemColorActive}:
|
|
16
|
-
${tabsTokens.itemValueColorActive}:
|
|
14
|
+
${tabsTokens.itemColorHover}: ${textAccentMinor};
|
|
15
|
+
${tabsTokens.itemValueColorHover}: ${textSecondary};
|
|
16
|
+
${tabsTokens.itemColorActive}: ${textAccentActive};
|
|
17
|
+
${tabsTokens.itemValueColorActive}: ${textSecondary};
|
|
17
18
|
${tabsTokens.itemBackgroundColorHover}: transparent;
|
|
18
|
-
${tabsTokens.itemSelectedColor}:
|
|
19
|
-
${tabsTokens.itemSelectedValueColor}:
|
|
19
|
+
${tabsTokens.itemSelectedColor}: ${textPrimary};
|
|
20
|
+
${tabsTokens.itemSelectedValueColor}: ${textSecondary};
|
|
20
21
|
${tabsTokens.itemSelectedBackgroundColor}: transparent;
|
|
21
|
-
${tabsTokens.itemSelectedColorHover}:
|
|
22
|
-
${tabsTokens.itemSelectedValueColorHover}:
|
|
22
|
+
${tabsTokens.itemSelectedColorHover}: ${textPrimary};
|
|
23
|
+
${tabsTokens.itemSelectedValueColorHover}: ${textSecondary};
|
|
23
24
|
${tabsTokens.itemSelectedBackgroundColorHover}: transparent;
|
|
24
25
|
${tabsTokens.itemBackgroundTransition}: background-color 0.3s ease-in-out;
|
|
25
26
|
|
|
26
27
|
${tabsTokens.itemPaddingClear}: 0;
|
|
27
28
|
${tabsTokens.itemContentPaddingClear}: 0;
|
|
28
29
|
|
|
29
|
-
${tabsTokens.outlineFocusColor}:
|
|
30
|
+
${tabsTokens.outlineFocusColor}: ${surfaceAccent};
|
|
30
31
|
|
|
31
32
|
${tabsTokens.itemSelectedDividerWidth}: 0.125rem;
|
|
32
33
|
${tabsTokens.itemSelectedDividerHeight}: 0.125rem;
|
|
33
|
-
${tabsTokens.itemSelectedDividerColor}:
|
|
34
|
-
${tabsTokens.itemSelectedDividerColorHover}:
|
|
34
|
+
${tabsTokens.itemSelectedDividerColor}: ${surfaceSolidDefault};
|
|
35
|
+
${tabsTokens.itemSelectedDividerColorHover}: ${textPrimary};
|
|
35
36
|
|
|
36
37
|
${tabsTokens.itemCursor}: default;
|
|
37
38
|
${tabsTokens.itemCursorOverNotSelected}: pointer;
|
|
@@ -49,32 +50,32 @@ export const config = {
|
|
|
49
50
|
${tabsTokens.itemContentGap}: 0.25rem;
|
|
50
51
|
${tabsTokens.itemContentPadding}: 0.125rem;
|
|
51
52
|
|
|
52
|
-
${tabsTokens.fontFamily}:
|
|
53
|
-
${tabsTokens.fontSize}:
|
|
54
|
-
${tabsTokens.fontStyle}:
|
|
55
|
-
${tabsTokens.fontWeight}:
|
|
56
|
-
${tabsTokens.letterSpacing}:
|
|
57
|
-
${tabsTokens.lineHeight}:
|
|
53
|
+
${tabsTokens.fontFamily}: ${bodyMBold.fontFamily};
|
|
54
|
+
${tabsTokens.fontSize}: ${bodyMBold.fontSize};
|
|
55
|
+
${tabsTokens.fontStyle}: ${bodyMBold.fontStyle};
|
|
56
|
+
${tabsTokens.fontWeight}: ${bodyMBold.fontWeight};
|
|
57
|
+
${tabsTokens.letterSpacing}: ${bodyMBold.letterSpacing};
|
|
58
|
+
${tabsTokens.lineHeight}: ${bodyMBold.lineHeight};
|
|
58
59
|
|
|
59
|
-
${tabsTokens.valueFontFamily}:
|
|
60
|
-
${tabsTokens.valueFontSize}:
|
|
61
|
-
${tabsTokens.valueFontStyle}:
|
|
62
|
-
${tabsTokens.valueFontWeight}:
|
|
63
|
-
${tabsTokens.valueLetterSpacing}:
|
|
64
|
-
${tabsTokens.valueLineHeight}:
|
|
60
|
+
${tabsTokens.valueFontFamily}: ${bodyM.fontFamily};
|
|
61
|
+
${tabsTokens.valueFontSize}: ${bodyM.fontSize};
|
|
62
|
+
${tabsTokens.valueFontStyle}: ${bodyM.fontStyle};
|
|
63
|
+
${tabsTokens.valueFontWeight}: ${bodyM.fontWeight};
|
|
64
|
+
${tabsTokens.valueLetterSpacing}: ${bodyM.letterSpacing};
|
|
65
|
+
${tabsTokens.valueLineHeight}: ${bodyM.lineHeight};
|
|
65
66
|
|
|
66
67
|
${tabsTokens.actionContentMarginLeft}: 0.25rem;
|
|
67
68
|
`
|
|
68
69
|
},
|
|
69
70
|
disabled: {
|
|
70
71
|
true: css`
|
|
71
|
-
${tabsTokens.itemColor}:
|
|
72
|
-
${tabsTokens.itemValueColor}:
|
|
73
|
-
${tabsTokens.itemColorHover}:
|
|
74
|
-
${tabsTokens.itemValueColorHover}:
|
|
75
|
-
${tabsTokens.itemColorActive}:
|
|
76
|
-
${tabsTokens.itemValueColorActive}:
|
|
77
|
-
${tabsTokens.itemSelectedColor}:
|
|
72
|
+
${tabsTokens.itemColor}: ${textSecondary};
|
|
73
|
+
${tabsTokens.itemValueColor}: ${textSecondary};
|
|
74
|
+
${tabsTokens.itemColorHover}: ${textSecondary};
|
|
75
|
+
${tabsTokens.itemValueColorHover}: ${textSecondary};
|
|
76
|
+
${tabsTokens.itemColorActive}: ${textSecondary};
|
|
77
|
+
${tabsTokens.itemValueColorActive}: ${textSecondary};
|
|
78
|
+
${tabsTokens.itemSelectedColor}: ${textSecondary};
|
|
78
79
|
${tabsTokens.itemSelectedDividerColor}: none;
|
|
79
80
|
${tabsTokens.itemSelectedDividerColorHover}: none;
|
|
80
81
|
`
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { outlineSolidPrimary, surfaceAccent, textAccent, textAccentActive, textAccentMinor, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, tabsTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -7,15 +8,15 @@ export const config = {
|
|
|
7
8
|
variations: {
|
|
8
9
|
view: {
|
|
9
10
|
divider: css`
|
|
10
|
-
${tabsTokens.arrowColor}:
|
|
11
|
-
${tabsTokens.arrowColorHover}:
|
|
12
|
-
${tabsTokens.arrowColorActive}:
|
|
11
|
+
${tabsTokens.arrowColor}: ${textAccent};
|
|
12
|
+
${tabsTokens.arrowColorHover}: ${textAccentMinor};
|
|
13
|
+
${tabsTokens.arrowColorActive}: ${textAccentActive};
|
|
13
14
|
${tabsTokens.tabsBackgroundColor}: transparent;
|
|
14
|
-
${tabsTokens.outlineFocusColor}:
|
|
15
|
+
${tabsTokens.outlineFocusColor}: ${surfaceAccent};
|
|
15
16
|
|
|
16
17
|
${tabsTokens.tabsDividerWidth}: 0.0625rem;
|
|
17
18
|
${tabsTokens.tabsDividerHeight}: 0.0625rem;
|
|
18
|
-
${tabsTokens.tabsDividerColor}:
|
|
19
|
+
${tabsTokens.tabsDividerColor}: ${outlineSolidPrimary};
|
|
19
20
|
${tabsTokens.tabsDividerBorderRadius}: 0.0625rem;
|
|
20
21
|
`
|
|
21
22
|
},
|
|
@@ -35,14 +36,14 @@ export const config = {
|
|
|
35
36
|
},
|
|
36
37
|
disabled: {
|
|
37
38
|
true: css`
|
|
38
|
-
${tabsTokens.arrowColor}:
|
|
39
|
-
${tabsTokens.itemColor}:
|
|
40
|
-
${tabsTokens.itemValueColor}:
|
|
41
|
-
${tabsTokens.itemColorHover}:
|
|
42
|
-
${tabsTokens.itemValueColorHover}:
|
|
43
|
-
${tabsTokens.itemColorActive}:
|
|
44
|
-
${tabsTokens.itemValueColorActive}:
|
|
45
|
-
${tabsTokens.itemSelectedColor}:
|
|
39
|
+
${tabsTokens.arrowColor}: ${textSecondary};
|
|
40
|
+
${tabsTokens.itemColor}: ${textSecondary};
|
|
41
|
+
${tabsTokens.itemValueColor}: ${textSecondary};
|
|
42
|
+
${tabsTokens.itemColorHover}: ${textSecondary};
|
|
43
|
+
${tabsTokens.itemValueColorHover}: ${textSecondary};
|
|
44
|
+
${tabsTokens.itemColorActive}: ${textSecondary};
|
|
45
|
+
${tabsTokens.itemValueColorActive}: ${textSecondary};
|
|
46
|
+
${tabsTokens.itemSelectedColor}: ${textSecondary};
|
|
46
47
|
${tabsTokens.itemSelectedDividerColor}: none;
|
|
47
48
|
${tabsTokens.itemSelectedDividerColorHover}: none;
|
|
48
49
|
${tabsTokens.tabsDividerColor}: transparent;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { bodyM, bodyS, bodyXS, outlineNegative, outlineNegativeHover, outlineSolidPrimary, surfaceAccent, surfaceClear, surfaceSolidCardBrightness, surfaceSolidDefault, surfaceSolidDefaultActive, surfaceSolidDefaultHover, surfaceSolidPrimary, surfaceSolidPrimaryActive, surfaceSolidPrimaryHover, textAccent, textAccentActive, textAccentHover, textNegative, textPrimary, textSecondary } from '@salutejs/sdds-themes/tokens/sdds_cs';
|
|
1
2
|
import { css, textAreaTokens } from '@salutejs/plasma-new-hope/emotion';
|
|
2
3
|
export const config = {
|
|
3
4
|
defaults: {
|
|
@@ -16,35 +17,35 @@ export const config = {
|
|
|
16
17
|
${textAreaTokens.backgroundColorActive}: transparent;
|
|
17
18
|
${textAreaTokens.backgroundColorFocus}: transparent;
|
|
18
19
|
|
|
19
|
-
${textAreaTokens.inputColor}:
|
|
20
|
-
${textAreaTokens.inputColorFocus}:
|
|
21
|
-
${textAreaTokens.inputCaretColor}:
|
|
20
|
+
${textAreaTokens.inputColor}: ${textPrimary};
|
|
21
|
+
${textAreaTokens.inputColorFocus}: ${textPrimary};
|
|
22
|
+
${textAreaTokens.inputCaretColor}: ${textAccent};
|
|
22
23
|
|
|
23
|
-
${textAreaTokens.placeholderColor}:
|
|
24
|
-
${textAreaTokens.placeholderColorFocus}:
|
|
24
|
+
${textAreaTokens.placeholderColor}: ${textSecondary};
|
|
25
|
+
${textAreaTokens.placeholderColorFocus}: ${textSecondary};
|
|
25
26
|
|
|
26
|
-
${textAreaTokens.leftHelperColor}:
|
|
27
|
-
${textAreaTokens.rightHelperColor}:
|
|
27
|
+
${textAreaTokens.leftHelperColor}: ${textSecondary};
|
|
28
|
+
${textAreaTokens.rightHelperColor}: ${textSecondary};
|
|
28
29
|
|
|
29
|
-
${textAreaTokens.rightContentColor}:
|
|
30
|
-
${textAreaTokens.rightContentColorHover}:
|
|
31
|
-
${textAreaTokens.rightContentColorActive}:
|
|
30
|
+
${textAreaTokens.rightContentColor}: ${textAccent};
|
|
31
|
+
${textAreaTokens.rightContentColorHover}: ${textAccentHover};
|
|
32
|
+
${textAreaTokens.rightContentColorActive}: ${textAccentActive};
|
|
32
33
|
|
|
33
|
-
${textAreaTokens.indicatorColor}:
|
|
34
|
-
${textAreaTokens.optionalColor}:
|
|
34
|
+
${textAreaTokens.indicatorColor}: ${textNegative};
|
|
35
|
+
${textAreaTokens.optionalColor}: ${textSecondary};
|
|
35
36
|
|
|
36
|
-
${textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
37
|
-
${textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
38
|
-
${textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
39
|
-
${textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
40
|
-
${textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
41
|
-
${textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
37
|
+
${textAreaTokens.scrollbarThumbBackgroundColor}: ${surfaceSolidDefault};
|
|
38
|
+
${textAreaTokens.scrollbarThumbBackgroundColorHover}: ${surfaceSolidDefaultHover};
|
|
39
|
+
${textAreaTokens.scrollbarThumbBackgroundColorActive}: ${surfaceSolidDefaultActive};
|
|
40
|
+
${textAreaTokens.scrollbarTrackBackgroundColor}: ${surfaceSolidPrimary};
|
|
41
|
+
${textAreaTokens.scrollbarTrackBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
42
|
+
${textAreaTokens.scrollbarTrackBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
42
43
|
|
|
43
|
-
${textAreaTokens.dividerColor}:
|
|
44
|
-
${textAreaTokens.dividerColorHover}:
|
|
45
|
-
${textAreaTokens.dividerColorFocus}:
|
|
46
|
-
${textAreaTokens.titleCaptionColor}:
|
|
47
|
-
${textAreaTokens.hintIconColor}:
|
|
44
|
+
${textAreaTokens.dividerColor}: ${outlineSolidPrimary};
|
|
45
|
+
${textAreaTokens.dividerColorHover}: ${textSecondary};
|
|
46
|
+
${textAreaTokens.dividerColorFocus}: ${surfaceAccent};
|
|
47
|
+
${textAreaTokens.titleCaptionColor}: ${textSecondary};
|
|
48
|
+
${textAreaTokens.hintIconColor}: ${textSecondary};
|
|
48
49
|
`,
|
|
49
50
|
/**
|
|
50
51
|
* @deprecated
|
|
@@ -57,32 +58,32 @@ export const config = {
|
|
|
57
58
|
${textAreaTokens.backgroundColorHover}: transparent;
|
|
58
59
|
${textAreaTokens.backgroundColorActive}: transparent;
|
|
59
60
|
${textAreaTokens.backgroundColorFocus}: transparent;
|
|
60
|
-
${textAreaTokens.inputColor}:
|
|
61
|
-
${textAreaTokens.inputColorFocus}:
|
|
62
|
-
${textAreaTokens.inputCaretColor}:
|
|
63
|
-
${textAreaTokens.placeholderColor}:
|
|
64
|
-
${textAreaTokens.placeholderColorFocus}:
|
|
65
|
-
|
|
66
|
-
${textAreaTokens.leftHelperColor}:
|
|
67
|
-
${textAreaTokens.rightHelperColor}:
|
|
68
|
-
${textAreaTokens.indicatorColor}:
|
|
69
|
-
${textAreaTokens.optionalColor}:
|
|
70
|
-
${textAreaTokens.rightContentColor}:
|
|
71
|
-
${textAreaTokens.rightContentColorHover}:
|
|
72
|
-
${textAreaTokens.rightContentColorActive}:
|
|
73
|
-
|
|
74
|
-
${textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
75
|
-
${textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
76
|
-
${textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
77
|
-
${textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
78
|
-
${textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
79
|
-
${textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
80
|
-
|
|
81
|
-
${textAreaTokens.dividerColor}:
|
|
82
|
-
${textAreaTokens.dividerColorHover}:
|
|
83
|
-
${textAreaTokens.dividerColorFocus}:
|
|
84
|
-
${textAreaTokens.titleCaptionColor}:
|
|
85
|
-
${textAreaTokens.hintIconColor}:
|
|
61
|
+
${textAreaTokens.inputColor}: ${textPrimary};
|
|
62
|
+
${textAreaTokens.inputColorFocus}: ${textPrimary};
|
|
63
|
+
${textAreaTokens.inputCaretColor}: ${textAccent};
|
|
64
|
+
${textAreaTokens.placeholderColor}: ${textSecondary};
|
|
65
|
+
${textAreaTokens.placeholderColorFocus}: ${textSecondary};
|
|
66
|
+
|
|
67
|
+
${textAreaTokens.leftHelperColor}: ${textSecondary};
|
|
68
|
+
${textAreaTokens.rightHelperColor}: ${textSecondary};
|
|
69
|
+
${textAreaTokens.indicatorColor}: ${textNegative};
|
|
70
|
+
${textAreaTokens.optionalColor}: ${textSecondary};
|
|
71
|
+
${textAreaTokens.rightContentColor}: ${textAccent};
|
|
72
|
+
${textAreaTokens.rightContentColorHover}: ${textAccentHover};
|
|
73
|
+
${textAreaTokens.rightContentColorActive}: ${textAccentActive};
|
|
74
|
+
|
|
75
|
+
${textAreaTokens.scrollbarThumbBackgroundColor}: ${surfaceSolidDefault};
|
|
76
|
+
${textAreaTokens.scrollbarThumbBackgroundColorHover}: ${surfaceSolidDefaultHover};
|
|
77
|
+
${textAreaTokens.scrollbarThumbBackgroundColorActive}: ${surfaceSolidDefaultActive};
|
|
78
|
+
${textAreaTokens.scrollbarTrackBackgroundColor}: ${surfaceSolidPrimary};
|
|
79
|
+
${textAreaTokens.scrollbarTrackBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
80
|
+
${textAreaTokens.scrollbarTrackBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
81
|
+
|
|
82
|
+
${textAreaTokens.dividerColor}: ${outlineSolidPrimary};
|
|
83
|
+
${textAreaTokens.dividerColorHover}: ${textSecondary};
|
|
84
|
+
${textAreaTokens.dividerColorFocus}: ${surfaceAccent};
|
|
85
|
+
${textAreaTokens.titleCaptionColor}: ${textSecondary};
|
|
86
|
+
${textAreaTokens.hintIconColor}: ${textSecondary};
|
|
86
87
|
`,
|
|
87
88
|
negative: css`
|
|
88
89
|
${textAreaTokens.borderColor}: transparent;
|
|
@@ -93,35 +94,35 @@ export const config = {
|
|
|
93
94
|
${textAreaTokens.backgroundColorActive}: transparent;
|
|
94
95
|
${textAreaTokens.backgroundColorFocus}: transparent;
|
|
95
96
|
|
|
96
|
-
${textAreaTokens.inputColor}:
|
|
97
|
-
${textAreaTokens.inputColorFocus}:
|
|
98
|
-
${textAreaTokens.inputCaretColor}:
|
|
97
|
+
${textAreaTokens.inputColor}: ${textPrimary};
|
|
98
|
+
${textAreaTokens.inputColorFocus}: ${textPrimary};
|
|
99
|
+
${textAreaTokens.inputCaretColor}: ${textNegative};
|
|
99
100
|
|
|
100
|
-
${textAreaTokens.placeholderColor}:
|
|
101
|
-
${textAreaTokens.placeholderColorFocus}:
|
|
101
|
+
${textAreaTokens.placeholderColor}: ${textSecondary};
|
|
102
|
+
${textAreaTokens.placeholderColorFocus}: ${textSecondary};
|
|
102
103
|
|
|
103
|
-
${textAreaTokens.leftHelperColor}:
|
|
104
|
-
${textAreaTokens.rightHelperColor}:
|
|
104
|
+
${textAreaTokens.leftHelperColor}: ${textNegative};
|
|
105
|
+
${textAreaTokens.rightHelperColor}: ${textSecondary};
|
|
105
106
|
|
|
106
|
-
${textAreaTokens.rightContentColor}:
|
|
107
|
-
${textAreaTokens.rightContentColorHover}:
|
|
108
|
-
${textAreaTokens.rightContentColorActive}:
|
|
107
|
+
${textAreaTokens.rightContentColor}: ${textAccent};
|
|
108
|
+
${textAreaTokens.rightContentColorHover}: ${textAccentHover};
|
|
109
|
+
${textAreaTokens.rightContentColorActive}: ${textAccentActive};
|
|
109
110
|
|
|
110
|
-
${textAreaTokens.indicatorColor}:
|
|
111
|
-
${textAreaTokens.optionalColor}:
|
|
111
|
+
${textAreaTokens.indicatorColor}: ${textNegative};
|
|
112
|
+
${textAreaTokens.optionalColor}: ${textSecondary};
|
|
112
113
|
|
|
113
|
-
${textAreaTokens.scrollbarThumbBackgroundColor}:
|
|
114
|
-
${textAreaTokens.scrollbarThumbBackgroundColorHover}:
|
|
115
|
-
${textAreaTokens.scrollbarThumbBackgroundColorActive}:
|
|
116
|
-
${textAreaTokens.scrollbarTrackBackgroundColor}:
|
|
117
|
-
${textAreaTokens.scrollbarTrackBackgroundColorActive}:
|
|
118
|
-
${textAreaTokens.scrollbarTrackBackgroundColorHover}:
|
|
114
|
+
${textAreaTokens.scrollbarThumbBackgroundColor}: ${surfaceSolidDefault};
|
|
115
|
+
${textAreaTokens.scrollbarThumbBackgroundColorHover}: ${surfaceSolidDefaultHover};
|
|
116
|
+
${textAreaTokens.scrollbarThumbBackgroundColorActive}: ${surfaceSolidDefaultActive};
|
|
117
|
+
${textAreaTokens.scrollbarTrackBackgroundColor}: ${surfaceSolidPrimary};
|
|
118
|
+
${textAreaTokens.scrollbarTrackBackgroundColorActive}: ${surfaceSolidPrimaryActive};
|
|
119
|
+
${textAreaTokens.scrollbarTrackBackgroundColorHover}: ${surfaceSolidPrimaryHover};
|
|
119
120
|
|
|
120
|
-
${textAreaTokens.dividerColor}:
|
|
121
|
-
${textAreaTokens.dividerColorHover}:
|
|
121
|
+
${textAreaTokens.dividerColor}: ${outlineNegative};
|
|
122
|
+
${textAreaTokens.dividerColorHover}: ${outlineNegativeHover};
|
|
122
123
|
${textAreaTokens.dividerColorFocus}: var(--outline-negative-focus);
|
|
123
|
-
${textAreaTokens.titleCaptionColor}:
|
|
124
|
-
${textAreaTokens.hintIconColor}:
|
|
124
|
+
${textAreaTokens.titleCaptionColor}: ${textSecondary};
|
|
125
|
+
${textAreaTokens.hintIconColor}: ${textSecondary};
|
|
125
126
|
`
|
|
126
127
|
},
|
|
127
128
|
size: {
|
|
@@ -152,30 +153,30 @@ export const config = {
|
|
|
152
153
|
|
|
153
154
|
${textAreaTokens.labelMarginBottom}: 0.25rem;
|
|
154
155
|
|
|
155
|
-
${textAreaTokens.labelOuterFontSize}:
|
|
156
|
-
${textAreaTokens.labelInnerFontFamily}:
|
|
157
|
-
${textAreaTokens.labelInnerFontSize}:
|
|
158
|
-
${textAreaTokens.labelInnerFontStyle}:
|
|
159
|
-
${textAreaTokens.labelInnerFontWeight}:
|
|
160
|
-
${textAreaTokens.labelInnerLetterSpacing}:
|
|
161
|
-
${textAreaTokens.labelInnerLineHeight}:
|
|
156
|
+
${textAreaTokens.labelOuterFontSize}: ${bodyS.fontSize};
|
|
157
|
+
${textAreaTokens.labelInnerFontFamily}: ${bodyS.fontFamily};
|
|
158
|
+
${textAreaTokens.labelInnerFontSize}: ${bodyS.fontSize};
|
|
159
|
+
${textAreaTokens.labelInnerFontStyle}: ${bodyS.fontStyle};
|
|
160
|
+
${textAreaTokens.labelInnerFontWeight}: ${bodyS.fontWeight};
|
|
161
|
+
${textAreaTokens.labelInnerLetterSpacing}: ${bodyS.letterSpacing};
|
|
162
|
+
${textAreaTokens.labelInnerLineHeight}: ${bodyS.lineHeight};
|
|
162
163
|
|
|
163
164
|
${textAreaTokens.labelInnerTop}: 0.375rem;
|
|
164
165
|
${textAreaTokens.labelInnerMarginBottom}: 0.125rem;
|
|
165
166
|
|
|
166
|
-
${textAreaTokens.inputFontFamily}:
|
|
167
|
-
${textAreaTokens.inputFontSize}:
|
|
168
|
-
${textAreaTokens.inputFontStyle}:
|
|
169
|
-
${textAreaTokens.inputFontWeight}:
|
|
170
|
-
${textAreaTokens.inputLetterSpacing}:
|
|
171
|
-
${textAreaTokens.inputLineHeight}:
|
|
167
|
+
${textAreaTokens.inputFontFamily}: ${bodyM.fontFamily};
|
|
168
|
+
${textAreaTokens.inputFontSize}: ${bodyM.fontSize};
|
|
169
|
+
${textAreaTokens.inputFontStyle}: ${bodyM.fontStyle};
|
|
170
|
+
${textAreaTokens.inputFontWeight}: ${bodyM.fontWeight};
|
|
171
|
+
${textAreaTokens.inputLetterSpacing}: ${bodyM.letterSpacing};
|
|
172
|
+
${textAreaTokens.inputLineHeight}: ${bodyM.lineHeight};
|
|
172
173
|
|
|
173
|
-
${textAreaTokens.helpersFontFamily}:
|
|
174
|
-
${textAreaTokens.helpersFontSize}:
|
|
175
|
-
${textAreaTokens.helpersFontStyle}:
|
|
176
|
-
${textAreaTokens.helpersFontWeight}:
|
|
177
|
-
${textAreaTokens.helpersLetterSpacing}:
|
|
178
|
-
${textAreaTokens.helpersLineHeight}:
|
|
174
|
+
${textAreaTokens.helpersFontFamily}: ${bodyS.fontFamily};
|
|
175
|
+
${textAreaTokens.helpersFontSize}: ${bodyS.fontSize};
|
|
176
|
+
${textAreaTokens.helpersFontStyle}: ${bodyS.fontStyle};
|
|
177
|
+
${textAreaTokens.helpersFontWeight}: ${bodyS.fontWeight};
|
|
178
|
+
${textAreaTokens.helpersLetterSpacing}: ${bodyS.letterSpacing};
|
|
179
|
+
${textAreaTokens.helpersLineHeight}: ${bodyS.lineHeight};
|
|
179
180
|
|
|
180
181
|
${textAreaTokens.indicatorSizeInner}: 0.375rem;
|
|
181
182
|
${textAreaTokens.indicatorSizeOuter}: 0.375rem;
|
|
@@ -193,21 +194,21 @@ export const config = {
|
|
|
193
194
|
${textAreaTokens.hintInnerLabelPlacementOffset}: -0.751rem -2rem auto auto;
|
|
194
195
|
|
|
195
196
|
${textAreaTokens.titleCaptionInnerLabelOffset}: 0.25rem;
|
|
196
|
-
${textAreaTokens.titleCaptionFontFamily}:
|
|
197
|
-
${textAreaTokens.titleCaptionFontSize}:
|
|
198
|
-
${textAreaTokens.titleCaptionFontStyle}:
|
|
199
|
-
${textAreaTokens.titleCaptionFontWeight}:
|
|
200
|
-
${textAreaTokens.titleCaptionLetterSpacing}:
|
|
201
|
-
${textAreaTokens.titleCaptionLineHeight}:
|
|
197
|
+
${textAreaTokens.titleCaptionFontFamily}: ${bodyXS.fontFamily};
|
|
198
|
+
${textAreaTokens.titleCaptionFontSize}: ${bodyXS.fontSize};
|
|
199
|
+
${textAreaTokens.titleCaptionFontStyle}: ${bodyXS.fontStyle};
|
|
200
|
+
${textAreaTokens.titleCaptionFontWeight}: ${bodyXS.fontWeight};
|
|
201
|
+
${textAreaTokens.titleCaptionLetterSpacing}: ${bodyXS.letterSpacing};
|
|
202
|
+
${textAreaTokens.titleCaptionLineHeight}: ${bodyXS.lineHeight};
|
|
202
203
|
`
|
|
203
204
|
},
|
|
204
205
|
hintView: {
|
|
205
206
|
// TODO: заменить тень на токен https://github.com/salute-developers/plasma/issues/1131
|
|
206
207
|
default: css`
|
|
207
|
-
${textAreaTokens.tooltipBackgroundColor}:
|
|
208
|
+
${textAreaTokens.tooltipBackgroundColor}: ${surfaceSolidCardBrightness};
|
|
208
209
|
${textAreaTokens.tooltipBoxShadow}: 0px 4px 12px 0px rgba(0, 0, 0, 0.16), 0px 1px 4px 0px rgba(0, 0, 0, 0.08);
|
|
209
|
-
${textAreaTokens.tooltipColor}:
|
|
210
|
-
${textAreaTokens.tooltipArrowBackground}:
|
|
210
|
+
${textAreaTokens.tooltipColor}: ${textPrimary};
|
|
211
|
+
${textAreaTokens.tooltipArrowBackground}: ${surfaceSolidCardBrightness};
|
|
211
212
|
`
|
|
212
213
|
},
|
|
213
214
|
hintSize: {
|
|
@@ -222,12 +223,12 @@ export const config = {
|
|
|
222
223
|
${textAreaTokens.tooltipMinHeight}: 2.5rem;
|
|
223
224
|
${textAreaTokens.tooltipBorderRadius}: 0.625rem;
|
|
224
225
|
|
|
225
|
-
${textAreaTokens.tooltipTextFontFamily}:
|
|
226
|
-
${textAreaTokens.tooltipTextFontSize}:
|
|
227
|
-
${textAreaTokens.tooltipTextFontStyle}:
|
|
228
|
-
${textAreaTokens.tooltipTextFontWeight}:
|
|
229
|
-
${textAreaTokens.tooltipTextFontLetterSpacing}:
|
|
230
|
-
${textAreaTokens.tooltipTextFontLineHeight}:
|
|
226
|
+
${textAreaTokens.tooltipTextFontFamily}: ${bodyS.fontFamily};
|
|
227
|
+
${textAreaTokens.tooltipTextFontSize}: ${bodyS.fontSize};
|
|
228
|
+
${textAreaTokens.tooltipTextFontStyle}: ${bodyS.fontStyle};
|
|
229
|
+
${textAreaTokens.tooltipTextFontWeight}: ${bodyS.fontWeight};
|
|
230
|
+
${textAreaTokens.tooltipTextFontLetterSpacing}: ${bodyS.letterSpacing};
|
|
231
|
+
${textAreaTokens.tooltipTextFontLineHeight}: ${bodyS.lineHeight};
|
|
231
232
|
|
|
232
233
|
${textAreaTokens.tooltipContentLeftMargin}: 0.375rem;
|
|
233
234
|
|
|
@@ -247,12 +248,12 @@ export const config = {
|
|
|
247
248
|
${textAreaTokens.tooltipMinHeight}: 2rem;
|
|
248
249
|
${textAreaTokens.tooltipBorderRadius}: 0.5rem;
|
|
249
250
|
|
|
250
|
-
${textAreaTokens.tooltipTextFontFamily}:
|
|
251
|
-
${textAreaTokens.tooltipTextFontSize}:
|
|
252
|
-
${textAreaTokens.tooltipTextFontStyle}:
|
|
253
|
-
${textAreaTokens.tooltipTextFontWeight}:
|
|
254
|
-
${textAreaTokens.tooltipTextFontLetterSpacing}:
|
|
255
|
-
${textAreaTokens.tooltipTextFontLineHeight}:
|
|
251
|
+
${textAreaTokens.tooltipTextFontFamily}: ${bodyXS.fontFamily};
|
|
252
|
+
${textAreaTokens.tooltipTextFontSize}: ${bodyXS.fontSize};
|
|
253
|
+
${textAreaTokens.tooltipTextFontStyle}: ${bodyXS.fontStyle};
|
|
254
|
+
${textAreaTokens.tooltipTextFontWeight}: ${bodyXS.fontWeight};
|
|
255
|
+
${textAreaTokens.tooltipTextFontLetterSpacing}: ${bodyXS.letterSpacing};
|
|
256
|
+
${textAreaTokens.tooltipTextFontLineHeight}: ${bodyXS.lineHeight};
|
|
256
257
|
|
|
257
258
|
${textAreaTokens.tooltipContentLeftMargin}: 0.25rem;
|
|
258
259
|
|
|
@@ -268,32 +269,32 @@ export const config = {
|
|
|
268
269
|
disabled: {
|
|
269
270
|
true: css`
|
|
270
271
|
${textAreaTokens.disabledOpacity}: 1;
|
|
271
|
-
${textAreaTokens.backgroundColor}:
|
|
272
|
-
${textAreaTokens.borderColor}:
|
|
273
|
-
${textAreaTokens.borderColorHover}:
|
|
274
|
-
${textAreaTokens.borderColorFocus}:
|
|
275
|
-
${textAreaTokens.inputColor}:
|
|
276
|
-
${textAreaTokens.inputColorFocus}:
|
|
277
|
-
${textAreaTokens.placeholderColorFocus}:
|
|
278
|
-
${textAreaTokens.labelOuterColor}:
|
|
279
|
-
${textAreaTokens.inputColorDisabled}:
|
|
272
|
+
${textAreaTokens.backgroundColor}: ${surfaceSolidPrimary};
|
|
273
|
+
${textAreaTokens.borderColor}: ${surfaceSolidPrimary};
|
|
274
|
+
${textAreaTokens.borderColorHover}: ${surfaceSolidPrimary};
|
|
275
|
+
${textAreaTokens.borderColorFocus}: ${surfaceSolidPrimary};
|
|
276
|
+
${textAreaTokens.inputColor}: ${textSecondary};
|
|
277
|
+
${textAreaTokens.inputColorFocus}: ${textSecondary};
|
|
278
|
+
${textAreaTokens.placeholderColorFocus}: ${textSecondary};
|
|
279
|
+
${textAreaTokens.labelOuterColor}: ${textPrimary};
|
|
280
|
+
${textAreaTokens.inputColorDisabled}: ${textSecondary};
|
|
280
281
|
`
|
|
281
282
|
},
|
|
282
283
|
readOnly: {
|
|
283
284
|
true: css`
|
|
284
285
|
${textAreaTokens.readOnlyOpacity}: 0.1;
|
|
285
|
-
${textAreaTokens.labelOuterColor}:
|
|
286
|
-
${textAreaTokens.inputColorReadOnly}:
|
|
286
|
+
${textAreaTokens.labelOuterColor}: ${textSecondary};
|
|
287
|
+
${textAreaTokens.inputColorReadOnly}: ${textPrimary};
|
|
287
288
|
${textAreaTokens.dividerColorReadOnly}: var(--surface-transparent-primary);
|
|
288
289
|
${textAreaTokens.contentSlotRightOpacityReadOnly}: 0.4;
|
|
289
|
-
${textAreaTokens.backgroundColor}:
|
|
290
|
-
${textAreaTokens.borderColor}:
|
|
291
|
-
${textAreaTokens.borderColorHover}:
|
|
292
|
-
${textAreaTokens.borderColorFocus}:
|
|
293
|
-
${textAreaTokens.inputColor}:
|
|
294
|
-
${textAreaTokens.inputColorFocus}:
|
|
295
|
-
${textAreaTokens.placeholderColorFocus}:
|
|
296
|
-
${textAreaTokens.labelOuterColor}:
|
|
290
|
+
${textAreaTokens.backgroundColor}: ${surfaceClear};
|
|
291
|
+
${textAreaTokens.borderColor}: ${surfaceClear};
|
|
292
|
+
${textAreaTokens.borderColorHover}: ${surfaceClear};
|
|
293
|
+
${textAreaTokens.borderColorFocus}: ${surfaceClear};
|
|
294
|
+
${textAreaTokens.inputColor}: ${textPrimary};
|
|
295
|
+
${textAreaTokens.inputColorFocus}: ${textPrimary};
|
|
296
|
+
${textAreaTokens.placeholderColorFocus}: ${textSecondary};
|
|
297
|
+
${textAreaTokens.labelOuterColor}: ${textSecondary};
|
|
297
298
|
`
|
|
298
299
|
}
|
|
299
300
|
}
|