@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.
Files changed (149) hide show
  1. package/dist/beta/cjs/Popover/Popover.closeInner.config.js +11 -10
  2. package/dist/beta/cjs/Popover/Popover.closeNone.config.js +5 -4
  3. package/dist/beta/cjs/Tooltip/Tooltip.config.js +16 -15
  4. package/dist/beta/es/Popover/Popover.closeInner.config.js +11 -10
  5. package/dist/beta/es/Popover/Popover.closeNone.config.js +5 -4
  6. package/dist/beta/es/Tooltip/Tooltip.config.js +16 -15
  7. package/dist/emotion/cjs/components/Accordion/Accordion.config.js +26 -25
  8. package/dist/emotion/cjs/components/Attach/Attach.config.js +121 -120
  9. package/dist/emotion/cjs/components/Autocomplete/Autocomplete.config.js +123 -122
  10. package/dist/emotion/cjs/components/Avatar/Avatar.config.js +32 -31
  11. package/dist/emotion/cjs/components/Badge/Badge.clear.config.js +5 -4
  12. package/dist/emotion/cjs/components/Badge/Badge.config.js +17 -16
  13. package/dist/emotion/cjs/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  14. package/dist/emotion/cjs/components/Button/Button.config.js +44 -43
  15. package/dist/emotion/cjs/components/Button/Button.js +3 -3
  16. package/dist/emotion/cjs/components/ButtonGroup/ButtonGroup.config.js +39 -38
  17. package/dist/emotion/cjs/components/Calendar/Calendar.config.js +60 -59
  18. package/dist/emotion/cjs/components/Calendar/CalendarDouble.config.js +60 -59
  19. package/dist/emotion/cjs/components/Card/Card.config.js +2 -1
  20. package/dist/emotion/cjs/components/Carousel/Carousel.config.js +9 -8
  21. package/dist/emotion/cjs/components/Cell/Cell.config.js +41 -40
  22. package/dist/emotion/cjs/components/Checkbox/Checkbox.config.js +22 -21
  23. package/dist/emotion/cjs/components/Chip/Chip.config.js +53 -52
  24. package/dist/emotion/cjs/components/ChipGroup/ChipGroup.config.js +28 -27
  25. package/dist/emotion/cjs/components/Combobox/Combobox.config.js +160 -159
  26. package/dist/emotion/cjs/components/DatePicker/DatePicker.config.js +169 -168
  27. package/dist/emotion/cjs/components/Divider/Divider.config.js +5 -4
  28. package/dist/emotion/cjs/components/Drawer/Drawer.config.js +3 -2
  29. package/dist/emotion/cjs/components/Dropdown/Dropdown.config.js +21 -20
  30. package/dist/emotion/cjs/components/EmptyState/EmptyState.config.js +25 -24
  31. package/dist/emotion/cjs/components/IconButton/IconButton.config.js +29 -28
  32. package/dist/emotion/cjs/components/IconButton/IconButton.js +70 -1
  33. package/dist/emotion/cjs/components/Indicator/Indicator.config.js +8 -7
  34. package/dist/emotion/cjs/components/Link/Link.config.js +53 -52
  35. package/dist/emotion/cjs/components/Modal/Modal.config.js +6 -5
  36. package/dist/emotion/cjs/components/Notification/Notification.config.js +22 -21
  37. package/dist/emotion/cjs/components/NumberInput/NumberInput.config.js +30 -29
  38. package/dist/emotion/cjs/components/Pagination/Pagination.config.js +32 -31
  39. package/dist/emotion/cjs/components/Popover/Popover.config.js +3 -2
  40. package/dist/emotion/cjs/components/Progress/Progress.config.js +101 -100
  41. package/dist/emotion/cjs/components/Radiobox/Radiobox.config.js +19 -18
  42. package/dist/emotion/cjs/components/Range/Range.config.js +70 -69
  43. package/dist/emotion/cjs/components/Rating/Rating.config.js +33 -32
  44. package/dist/emotion/cjs/components/Segment/SegmentGroup.config.js +6 -5
  45. package/dist/emotion/cjs/components/Segment/SegmentItem.config.js +29 -28
  46. package/dist/emotion/cjs/components/Select/Select.config.js +126 -125
  47. package/dist/emotion/cjs/components/Sheet/Sheet.config.js +3 -2
  48. package/dist/emotion/cjs/components/Skeleton/LineSkeleton.config.js +35 -34
  49. package/dist/emotion/cjs/components/Slider/Slider.config.js +58 -57
  50. package/dist/emotion/cjs/components/Spinner/Spinner.config.js +8 -7
  51. package/dist/emotion/cjs/components/Steps/StepItem.config.js +8 -7
  52. package/dist/emotion/cjs/components/Steps/Steps.config.js +55 -54
  53. package/dist/emotion/cjs/components/Switch/Switch.config.js +26 -25
  54. package/dist/emotion/cjs/components/Table/Table.config.js +82 -81
  55. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  56. package/dist/emotion/cjs/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  57. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  58. package/dist/emotion/cjs/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  59. package/dist/emotion/cjs/components/TextArea/TextArea.clear.config.js +131 -130
  60. package/dist/emotion/cjs/components/TextArea/TextArea.config.js +160 -159
  61. package/dist/emotion/cjs/components/TextField/TextField.clear.config.js +119 -118
  62. package/dist/emotion/cjs/components/TextField/TextField.config.js +167 -166
  63. package/dist/emotion/cjs/components/TimePicker/TimePicker.config.js +79 -78
  64. package/dist/emotion/cjs/components/Toast/Toast.config.js +19 -18
  65. package/dist/emotion/cjs/components/ToastNew/ToastNew.config.js +11 -10
  66. package/dist/emotion/cjs/components/Tooltip/Tooltip.config.js +13 -12
  67. package/dist/emotion/cjs/components/Tour/Tour.config.js +2 -1
  68. package/dist/emotion/cjs/components/Tree/Tree.config.js +22 -21
  69. package/dist/emotion/cjs/components/Typography/Body.config.js +41 -40
  70. package/dist/emotion/cjs/components/Typography/Dspl.config.js +25 -24
  71. package/dist/emotion/cjs/components/Typography/Heading.config.js +41 -40
  72. package/dist/emotion/cjs/components/Typography/Text.config.js +33 -32
  73. package/dist/emotion/es/components/Accordion/Accordion.config.js +26 -25
  74. package/dist/emotion/es/components/Attach/Attach.config.js +121 -120
  75. package/dist/emotion/es/components/Autocomplete/Autocomplete.config.js +123 -122
  76. package/dist/emotion/es/components/Avatar/Avatar.config.js +32 -31
  77. package/dist/emotion/es/components/Badge/Badge.clear.config.js +5 -4
  78. package/dist/emotion/es/components/Badge/Badge.config.js +17 -16
  79. package/dist/emotion/es/components/Breadcrumbs/Breadcrumbs.config.js +11 -10
  80. package/dist/emotion/es/components/Button/Button.config.js +44 -43
  81. package/dist/emotion/es/components/Button/Button.js +3 -3
  82. package/dist/emotion/es/components/ButtonGroup/ButtonGroup.config.js +39 -38
  83. package/dist/emotion/es/components/Calendar/Calendar.config.js +60 -59
  84. package/dist/emotion/es/components/Calendar/CalendarDouble.config.js +60 -59
  85. package/dist/emotion/es/components/Card/Card.config.js +2 -1
  86. package/dist/emotion/es/components/Carousel/Carousel.config.js +9 -8
  87. package/dist/emotion/es/components/Cell/Cell.config.js +41 -40
  88. package/dist/emotion/es/components/Checkbox/Checkbox.config.js +22 -21
  89. package/dist/emotion/es/components/Chip/Chip.config.js +53 -52
  90. package/dist/emotion/es/components/ChipGroup/ChipGroup.config.js +28 -27
  91. package/dist/emotion/es/components/Combobox/Combobox.config.js +160 -159
  92. package/dist/emotion/es/components/DatePicker/DatePicker.config.js +169 -168
  93. package/dist/emotion/es/components/Divider/Divider.config.js +5 -4
  94. package/dist/emotion/es/components/Drawer/Drawer.config.js +3 -2
  95. package/dist/emotion/es/components/Dropdown/Dropdown.config.js +21 -20
  96. package/dist/emotion/es/components/EmptyState/EmptyState.config.js +25 -24
  97. package/dist/emotion/es/components/IconButton/IconButton.config.js +29 -28
  98. package/dist/emotion/es/components/IconButton/IconButton.js +25 -2
  99. package/dist/emotion/es/components/Indicator/Indicator.config.js +8 -7
  100. package/dist/emotion/es/components/Link/Link.config.js +53 -52
  101. package/dist/emotion/es/components/Modal/Modal.config.js +6 -5
  102. package/dist/emotion/es/components/Notification/Notification.config.js +22 -21
  103. package/dist/emotion/es/components/NumberInput/NumberInput.config.js +30 -29
  104. package/dist/emotion/es/components/Pagination/Pagination.config.js +32 -31
  105. package/dist/emotion/es/components/Popover/Popover.config.js +3 -2
  106. package/dist/emotion/es/components/Progress/Progress.config.js +101 -100
  107. package/dist/emotion/es/components/Radiobox/Radiobox.config.js +19 -18
  108. package/dist/emotion/es/components/Range/Range.config.js +70 -69
  109. package/dist/emotion/es/components/Rating/Rating.config.js +33 -32
  110. package/dist/emotion/es/components/Segment/SegmentGroup.config.js +6 -5
  111. package/dist/emotion/es/components/Segment/SegmentItem.config.js +29 -28
  112. package/dist/emotion/es/components/Select/Select.config.js +126 -125
  113. package/dist/emotion/es/components/Sheet/Sheet.config.js +3 -2
  114. package/dist/emotion/es/components/Skeleton/LineSkeleton.config.js +35 -34
  115. package/dist/emotion/es/components/Slider/Slider.config.js +58 -57
  116. package/dist/emotion/es/components/Spinner/Spinner.config.js +8 -7
  117. package/dist/emotion/es/components/Steps/StepItem.config.js +8 -7
  118. package/dist/emotion/es/components/Steps/Steps.config.js +55 -54
  119. package/dist/emotion/es/components/Switch/Switch.config.js +26 -25
  120. package/dist/emotion/es/components/Table/Table.config.js +82 -81
  121. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabItem.config.js +74 -73
  122. package/dist/emotion/es/components/Tabs/horizontal/HorizontalTabs.config.js +22 -21
  123. package/dist/emotion/es/components/Tabs/vertical/VerticalTabItem.config.js +33 -32
  124. package/dist/emotion/es/components/Tabs/vertical/VerticalTabs.config.js +14 -13
  125. package/dist/emotion/es/components/TextArea/TextArea.clear.config.js +131 -130
  126. package/dist/emotion/es/components/TextArea/TextArea.config.js +160 -159
  127. package/dist/emotion/es/components/TextField/TextField.clear.config.js +119 -118
  128. package/dist/emotion/es/components/TextField/TextField.config.js +167 -166
  129. package/dist/emotion/es/components/TimePicker/TimePicker.config.js +79 -78
  130. package/dist/emotion/es/components/Toast/Toast.config.js +19 -18
  131. package/dist/emotion/es/components/ToastNew/ToastNew.config.js +11 -10
  132. package/dist/emotion/es/components/Tooltip/Tooltip.config.js +13 -12
  133. package/dist/emotion/es/components/Tour/Tour.config.js +2 -1
  134. package/dist/emotion/es/components/Tree/Tree.config.js +22 -21
  135. package/dist/emotion/es/components/Typography/Body.config.js +41 -40
  136. package/dist/emotion/es/components/Typography/Dspl.config.js +25 -24
  137. package/dist/emotion/es/components/Typography/Heading.config.js +41 -40
  138. package/dist/emotion/es/components/Typography/Text.config.js +33 -32
  139. package/package.json +8 -8
  140. package/types/components/Autocomplete/Autocomplete.d.ts +8 -0
  141. package/types/components/Avatar/Avatar.d.ts +4 -4
  142. package/types/components/Combobox/Combobox.d.ts +8 -0
  143. package/types/components/DatePicker/DatePicker.d.ts +2 -0
  144. package/types/components/IconButton/IconButton.d.ts +28 -11
  145. package/types/components/Mask/Mask.d.ts +16 -0
  146. package/types/components/Rating/Rating.d.ts +1 -0
  147. package/types/components/Select/Select.d.ts +16 -0
  148. package/types/components/TextField/TextField.d.ts +32 -0
  149. package/types/components/TimePicker/TimePicker.d.ts +2 -0
@@ -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}: var(--surface-solid-card);
13
- ${tokens.backgroundError}: var(--surface-solid-card);
14
- ${tokens.backgroundSuccess}: var(--surface-solid-card);
13
+ ${tokens.background}: ${surfaceSolidCard};
14
+ ${tokens.backgroundError}: ${surfaceSolidCard};
15
+ ${tokens.backgroundSuccess}: ${surfaceSolidCard};
15
16
 
16
- ${tokens.labelColor}: var(--text-primary);
17
+ ${tokens.labelColor}: ${textPrimary};
17
18
 
18
- ${tokens.textFieldColor}: var(--text-primary);
19
- ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
20
- ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
21
- ${tokens.textFieldCaretColor}: var(--text-accent);
19
+ ${tokens.textFieldColor}: ${textPrimary};
20
+ ${tokens.textFieldPlaceholderColor}: ${textSecondary};
21
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
22
+ ${tokens.textFieldCaretColor}: ${textAccent};
22
23
 
23
- ${tokens.indicatorColor}: var(--surface-negative);
24
+ ${tokens.indicatorColor}: ${surfaceNegative};
24
25
 
25
- ${tokens.timePickerShadow}: var(--shadow-down-soft-s);
26
+ ${tokens.timePickerShadow}: ${shadowDownSoftS};
26
27
 
27
- ${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
28
- ${tokens.textFieldBackgroundColorHover}: var(--surface-solid-card);
29
- ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
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}: var(--surface-solid-card);
33
- ${tokens.textFieldBackgroundSuccessColorFocus}: var(--surface-solid-card);
33
+ ${tokens.textFieldBackgroundSuccessColor}: ${surfaceSolidCard};
34
+ ${tokens.textFieldBackgroundSuccessColorFocus}: ${surfaceSolidCard};
34
35
 
35
- ${tokens.borderColor}: var(--outline-solid-primary);
36
- ${tokens.borderColorFocus}: var(--outline-accent);
37
- ${tokens.borderColorHover}: var(--outline-solid-primary-hover);
36
+ ${tokens.borderColor}: ${outlineSolidPrimary};
37
+ ${tokens.borderColorFocus}: ${outlineAccent};
38
+ ${tokens.borderColorHover}: ${outlineSolidPrimaryHover};
38
39
 
39
- ${tokens.textFieldBorderColorError}: var(--text-negative);
40
- ${tokens.textFieldBorderColorErrorFocus}: var(--text-negative);
41
- ${tokens.textFieldBorderColorErrorHover}: var(--text-negative);
40
+ ${tokens.textFieldBorderColorError}: ${textNegative};
41
+ ${tokens.textFieldBorderColorErrorFocus}: ${textNegative};
42
+ ${tokens.textFieldBorderColorErrorHover}: ${textNegative};
42
43
 
43
- ${tokens.textFieldBorderColorSuccess}: var(--text-negative);
44
- ${tokens.textFieldBorderColorSuccessFocus}: var(--text-negative);
45
- ${tokens.textFieldBorderColorSuccessHover}: var(--text-negative);
44
+ ${tokens.textFieldBorderColorSuccess}: ${textNegative};
45
+ ${tokens.textFieldBorderColorSuccessFocus}: ${textNegative};
46
+ ${tokens.textFieldBorderColorSuccessHover}: ${textNegative};
46
47
 
47
- ${tokens.textFieldContentSlotColor}: var(--text-secondary);
48
- ${tokens.textFieldContentSlotColorHover}: var(--text-secondary-hover);
49
- ${tokens.textFieldContentSlotColorActive}: var(--text-secondary-active);
48
+ ${tokens.textFieldContentSlotColor}: ${textSecondary};
49
+ ${tokens.textFieldContentSlotColorHover}: ${textSecondaryHover};
50
+ ${tokens.textFieldContentSlotColorActive}: ${textSecondaryActive};
50
51
 
51
- ${tokens.textFieldContentRightSlotColor}: var(--text-accent);
52
- ${tokens.textFieldContentRightSlotColorHover}: var(--text-accent-minor);
53
- ${tokens.textFieldContentSlotRightOpacityReadOnly}: var(--text-accent-active);
52
+ ${tokens.textFieldContentRightSlotColor}: ${textAccent};
53
+ ${tokens.textFieldContentRightSlotColorHover}: ${textAccentMinor};
54
+ ${tokens.textFieldContentSlotRightOpacityReadOnly}: ${textAccentActive};
54
55
 
55
- ${tokens.textFieldTextBeforeColor}: var(--text-tertiary);
56
- ${tokens.textFieldTextAfterColor}: var(--text-tertiary);
56
+ ${tokens.textFieldTextBeforeColor}: ${textTertiary};
57
+ ${tokens.textFieldTextAfterColor}: ${textTertiary};
57
58
 
58
- ${tokens.textFieldPlaceholderColorFocus}: var(--text-tertiary);
59
+ ${tokens.textFieldPlaceholderColorFocus}: ${textTertiary};
59
60
 
60
- ${tokens.timePickerBackground}: var(--surface-solid-card);
61
- ${tokens.itemBackgroundHover}: var(--surface-solid-secondary);
62
- ${tokens.itemBackgroundActive}: var(--surface-solid-secondary);
63
- ${tokens.itemFocusColor}: var(--surface-accent);
61
+ ${tokens.timePickerBackground}: ${surfaceSolidCard};
62
+ ${tokens.itemBackgroundHover}: ${surfaceSolidSecondary};
63
+ ${tokens.itemBackgroundActive}: ${surfaceSolidSecondary};
64
+ ${tokens.itemFocusColor}: ${surfaceAccent};
64
65
 
65
- ${tokens.scrollbarColor}: var(--surface-solid-tertiary);
66
+ ${tokens.scrollbarColor}: ${surfaceSolidTertiary};
66
67
  ${tokens.scrollbarTrackColor}: var(--surface-transparent-primary);
67
68
 
68
- ${tokens.leftHelperColor}: var(--text-secondary);
69
- ${tokens.leftHelperColorError}: var(--text-negative);
70
- ${tokens.leftHelperColorSuccess}: var(--text-positive);
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}: var(--plasma-typo-body-s-font-family);
81
- ${tokens.labelFontStyle}: var(--plasma-typo-body-s-font-style);
82
- ${tokens.labelFontSize}: var(--plasma-typo-body-s-font-size);
83
- ${tokens.labelFontWeight}: var(--plasma-typo-body-s-font-weight);
84
- ${tokens.labelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
85
- ${tokens.labelLineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--plasma-typo-body-m-font-family);
100
- ${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
101
- ${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
102
- ${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
103
- ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
104
- ${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-m-font-family);
118
- ${tokens.itemFontSize}: var(--plasma-typo-body-m-font-size);
119
- ${tokens.itemFontStyle}: var(--plasma-typo-body-m-font-style);
120
- ${tokens.itemFontWeight}: var(--plasma-typo-body-m-font-weight);
121
- ${tokens.itemLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
122
- ${tokens.itemLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-xs-font-family);
130
- ${tokens.leftHelperFontStyle}: var(--plasma-typo-body-xs-font-style);
131
- ${tokens.leftHelperFontSize}: var(--plasma-typo-body-xs-font-size);
132
- ${tokens.leftHelperFontWeight}: var(--plasma-typo-body-xs-font-weight);
133
- ${tokens.leftHelperLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
134
- ${tokens.leftHelperLineHeight}: var(--plasma-typo-body-xs-line-height);
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}: var(--text-secondary);
145
+ ${tokens.textFieldColor}: ${textSecondary};
145
146
 
146
- ${tokens.textFieldBackgroundColor}: var(--surface-solid-primary);
147
- ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
147
+ ${tokens.textFieldBackgroundColor}: ${surfaceSolidPrimary};
148
+ ${tokens.textFieldBackgroundColorFocus}: ${surfaceSolidPrimary};
148
149
 
149
- ${tokens.textFieldBorderColor}: var(--surface-solid-primary);
150
- ${tokens.textFieldBorderColorHover}: var(--surface-solid-primary);
151
- ${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
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}: var(--text-secondary);
157
- ${tokens.leftHelperColorReadOnly}: var(--text-secondary);
157
+ ${tokens.labelColorReadOnly}: ${textSecondary};
158
+ ${tokens.leftHelperColorReadOnly}: ${textSecondary};
158
159
 
159
- ${tokens.textFieldColorReadOnly}: var(--text-primary);
160
- ${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
160
+ ${tokens.textFieldColorReadOnly}: ${textPrimary};
161
+ ${tokens.textFieldPlaceholderColorReadOnly}: ${textSecondary};
161
162
 
162
- ${tokens.textFieldContentSlotColorHover}: var(--text-secondary);
163
- ${tokens.textFieldContentSlotColorActive}: var(--text-secondary);
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}: var(--surface-clear);
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}: var(--text-primary);
12
- ${toastTokens.background}: var(--surface-solid-card-brightness);
12
+ ${toastTokens.color}: ${textPrimary};
13
+ ${toastTokens.background}: ${surfaceSolidCardBrightness};
13
14
 
14
- ${toastTokens.closeIconColor}: var(--text-accent);
15
- ${toastTokens.closeIconColorOnHover}: var(--text-accent-minor);
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}: var(--on-dark-text-primary);
22
- ${toastTokens.background}: var(--on-dark-surface-solid-primary-brightness);
22
+ ${toastTokens.color}: ${onDarkTextPrimary};
23
+ ${toastTokens.background}: ${onDarkSurfaceSolidPrimaryBrightness};
23
24
 
24
- ${toastTokens.closeIconColor}: var(--on-dark-text-accent);
25
- ${toastTokens.closeIconColorOnHover}: var(--on-dark-text-accent-minor);
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}: var(--on-light-text-primary);
32
- ${toastTokens.background}: var(--on-light-surface-solid-primary-brightness);
32
+ ${toastTokens.color}: ${onLightTextPrimary};
33
+ ${toastTokens.background}: ${onLightSurfaceSolidPrimaryBrightness};
33
34
 
34
- ${toastTokens.closeIconColor}: var(--on-light-text-accent);
35
- ${toastTokens.closeIconColorOnHover}: var(--on-light-text-accent-minor);
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}: var(--plasma-typo-body-m-font-family);
45
- ${toastTokens.fontSize}: var(--plasma-typo-body-m-font-size);
46
- ${toastTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
47
- ${toastTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
48
- ${toastTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
49
- ${toastTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--text-primary);
11
- ${toastTokens.background}: var(--surface-solid-card-brightness);
11
+ ${toastTokens.color}: ${textPrimary};
12
+ ${toastTokens.background}: ${surfaceSolidCardBrightness};
12
13
 
13
- ${toastTokens.closeIconColor}: var(--text-accent);
14
- ${toastTokens.closeIconColorOnHover}: var(--text-accent-minor);
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}: var(--plasma-typo-body-m-font-family);
28
- ${toastTokens.fontSize}: var(--plasma-typo-body-m-font-size);
29
- ${toastTokens.fontStyle}: var(--plasma-typo-body-m-font-style);
30
- ${toastTokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
31
- ${toastTokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
32
- ${toastTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-s-font-family);
19
- ${tooltipTokens.textFontSize}: var(--plasma-typo-body-s-font-size);
20
- ${tooltipTokens.textFontStyle}: var(--plasma-typo-body-s-font-style);
21
- ${tooltipTokens.textFontWeight}: var(--plasma-typo-body-s-font-weight);
22
- ${tooltipTokens.textFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
23
- ${tooltipTokens.textFontLineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--inverse-surface-solid-card);
38
- ${tooltipTokens.arrowBackground}: var(--inverse-surface-solid-card);
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}: var(--inverse-text-primary);
41
+ ${tooltipTokens.color}: ${inverseTextPrimary};
41
42
  `,
42
43
  secondary: css`
43
- ${tooltipTokens.backgroundColor}: var(--on-dark-surface-solid-secondary);
44
- ${tooltipTokens.arrowBackground}: var(--on-dark-surface-solid-secondary);
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}: var(--inverse-text-primary);
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}: var(--surface-solid-card);
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}: var(--text-primary);
11
- ${tokens.arrowColor}: var(--text-accent);
12
- ${tokens.arrowColorHover}: var(--text-accent-minor);
13
- ${tokens.arrowColorActive}: var(--text-accent-active);
14
- ${tokens.color}: var(--text-primary);
15
- ${tokens.colorSelected}: var(--text-primary);
16
- ${tokens.itemBackgroundColorSelected}: var(--surface-solid-primary);
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}: var(--surface-transparent-accent);
19
- ${tokens.itemBackgroundColorActive}: var(--surface-solid-primary-active);
20
- ${tokens.checkboxBorderColor}: var(--text-accent);
21
- ${tokens.checkboxBackgroundColor}: var(--text-accent);
19
+ ${tokens.itemBackgroundColorHover}: ${surfaceTransparentAccent};
20
+ ${tokens.itemBackgroundColorActive}: ${surfaceSolidPrimaryActive};
21
+ ${tokens.checkboxBorderColor}: ${textAccent};
22
+ ${tokens.checkboxBackgroundColor}: ${textAccent};
22
23
  ${tokens.itemDisabledOpacity}: 1;
23
- ${tokens.itemDisabledBorderColor}: var(--text-secondary);
24
- ${tokens.itemDisabledColor}: var(--text-secondary);
25
- ${tokens.itemDraggableBorderColor}: var(--surface-positive);
26
- ${tokens.itemDraggableLineColor}: var(--surface-solid-default);
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}: var(--plasma-typo-body-m-font-family);
55
- ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
56
- ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
57
- ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
58
- ${tokens.letterSpacing}: var(--plasma-typo-body-m-letter-spacing);
59
- ${tokens.lineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-l-font-family);
10
- ${typographyTokens.typoFontSize}: var(--plasma-typo-body-l-font-size);
11
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-body-l-font-style);
12
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-body-l-font-weight);
13
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-l-bold-font-weight);
14
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-l-medium-font-weight);
15
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-l-letter-spacing);
16
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-l-line-height);
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}: var(--plasma-typo-body-m-font-family);
29
- ${typographyTokens.typoFontSize}: var(--plasma-typo-body-m-font-size);
30
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-body-m-font-style);
31
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-body-m-font-weight);
32
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-m-bold-font-weight);
33
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-m-medium-font-weight);
34
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
35
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-s-font-family);
48
- ${typographyTokens.typoFontSize}: var(--plasma-typo-body-s-font-size);
49
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-body-s-font-style);
50
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-body-s-font-weight);
51
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-s-bold-font-weight);
52
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-s-medium-font-weight);
53
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
54
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--plasma-typo-body-xs-font-family);
67
- ${typographyTokens.typoFontSize}: var(--plasma-typo-body-xs-font-size);
68
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-body-xs-font-style);
69
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-body-xs-font-weight);
70
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-xs-bold-font-weight);
71
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-xs-medium-font-weight);
72
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
73
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-xs-line-height);
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}: var(--plasma-typo-body-xxs-font-family);
86
- ${typographyTokens.typoFontSize}: var(--plasma-typo-body-xxs-font-size);
87
- ${typographyTokens.typoFontStyle}: var(--plasma-typo-body-xxs-font-style);
88
- ${typographyTokens.typoFontWeight}: var(--plasma-typo-body-xxs-font-weight);
89
- ${typographyTokens.typoFontWeightBold}: var(--plasma-typo-body-xxs-bold-font-weight);
90
- ${typographyTokens.typoFontWeightMedium}: var(--plasma-typo-body-xxs-medium-font-weight);
91
- ${typographyTokens.typoFontLetterSpacing}: var(--plasma-typo-body-xxs-letter-spacing);
92
- ${typographyTokens.typoFontLineHeight}: var(--plasma-typo-body-xxs-line-height);
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
  }