@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 { 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}: var(--text-accent);
11
+ ${segmentTokens.arrowColor}: ${textAccent};
11
12
  ${segmentTokens.groupBackgroundColor}: transparent;
12
- ${segmentTokens.outlineFocusColor}: var(--text-accent);
13
+ ${segmentTokens.outlineFocusColor}: ${textAccent};
13
14
  `,
14
15
  filled: css`
15
- ${segmentTokens.arrowColor}: var(--text-accent);
16
+ ${segmentTokens.arrowColor}: ${textAccent};
16
17
  ${segmentTokens.groupBackgroundColor}: transparent;
17
- ${segmentTokens.outlineFocusColor}: var(--text-accent);
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}: var(--surface-solid-primary);
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}: var(--text-accent);
11
+ ${segmentTokens.itemColor}: ${textAccent};
11
12
  ${segmentTokens.itemBackgroundColor}: transparent;
12
- ${segmentTokens.itemColorHover}: var(--text-accent-minor);
13
+ ${segmentTokens.itemColorHover}: ${textAccentMinor};
13
14
  ${segmentTokens.itemBackgroundColorHover}: transparent;
14
- ${segmentTokens.itemAdditionalColor}: var(--text-accent-minor);
15
- ${segmentTokens.itemAdditionalColorHover}: var(--text-accent-minor);
16
- ${segmentTokens.itemSelectedColor}: var(--text-primary);
17
- ${segmentTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);
18
- ${segmentTokens.itemSelectedColorHover}: var(--text-primary);
19
- ${segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);
20
- ${segmentTokens.itemSelectedAdditionalColor}: var(--text-secondary);
21
- ${segmentTokens.itemSelectedAdditionalColorHover}: var(--text-secondary);
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}: var(--surface-accent);
24
+ ${segmentTokens.outlineFocusColor}: ${surfaceAccent};
24
25
  `,
25
26
  secondary: css`
26
- ${segmentTokens.itemColor}: var(--text-accent);
27
+ ${segmentTokens.itemColor}: ${textAccent};
27
28
  ${segmentTokens.itemBackgroundColor}: transparent;
28
- ${segmentTokens.itemColorHover}: var(--text-accent-minor);
29
+ ${segmentTokens.itemColorHover}: ${textAccentMinor};
29
30
  ${segmentTokens.itemBackgroundColorHover}: transparent;
30
- ${segmentTokens.itemAdditionalColor}: var(--text-accent-minor);
31
- ${segmentTokens.itemAdditionalColorHover}: var(--text-accent-minor);
32
- ${segmentTokens.itemSelectedColor}: var(--text-accent);
33
- ${segmentTokens.itemSelectedBackgroundColor}: var(--surface-solid-card);
34
- ${segmentTokens.itemSelectedColorHover}: var(--text-accent-minor);
35
- ${segmentTokens.itemSelectedBackgroundColorHover}: var(--surface-solid-card);
36
- ${segmentTokens.itemSelectedAdditionalColor}: var(--text-accent-minor);
37
- ${segmentTokens.itemSelectedAdditionalColorHover}: var(--text-accent-minor);
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}: var(--surface-accent);
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}: var(--plasma-typo-body-s-font-family);
54
- ${segmentTokens.fontSize}: var(--plasma-typo-body-s-font-size);
55
- ${segmentTokens.fontStyle}: var(--plasma-typo-body-s-font-style);
56
- ${segmentTokens.fontWeight}: var(--plasma-typo-body-s-bold-font-weight);
57
- ${segmentTokens.letterSpacing}: var(--plasma-typo-body-s-letter-spacing);
58
- ${segmentTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--text-primary);
13
- ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
14
- ${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
15
- ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
16
- ${tokens.textFieldLabelColor}: var(--text-primary);
17
- ${tokens.textFieldLeftHelperColor}: var(--text-secondary);
18
- ${tokens.textFieldContentSlotColor}: var(--text-secondary);
19
- ${tokens.textFieldBorderColor}: var(--outline-solid-primary);
20
- ${tokens.textFieldBorderColorHover}: var(--outline-solid-primary-hover);
21
- ${tokens.textFieldBorderColorFocus}: var(--outline-accent);
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}: var(--surface-negative);
24
- ${tokens.textFieldOptionalColor}: var(--text-tertiary);
24
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
25
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
25
26
 
26
- ${tokens.buttonColor}: var(--text-accent);
27
- ${tokens.buttonColorHover}: var(--text-accent-minor);
28
- ${tokens.buttonColorActive}: var(--text-accent-active);
29
- ${tokens.buttonArrowColor}: var(--text-primary);
30
- ${tokens.buttonArrowColorHover}: var(--text-primary-hover);
31
- ${tokens.buttonArrowColorActive}: var(--text-primary-hover);
32
- ${tokens.buttonBackgroundColor}: var(--surface-solid-primary);
33
- ${tokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
34
- ${tokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
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}: var(--text-accent);
37
- ${tokens.disclosureIconColorHover}: var(--text-accent-minor);
38
- ${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
37
+ ${tokens.disclosureIconColor}: ${textAccent};
38
+ ${tokens.disclosureIconColorHover}: ${textAccentMinor};
39
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentAccent};
39
40
  ${tokens.itemDisabledOpacity}: 1;
40
- ${tokens.itemDisabledColor}: var(--text-secondary);
41
+ ${tokens.itemDisabledColor}: ${textSecondary};
41
42
 
42
- ${tokens.dropdownBorderColor}: var(--outline-solid-primary);
43
- ${tokens.checkboxIconColor}: var(--text-primary);
43
+ ${tokens.dropdownBorderColor}: ${outlineSolidPrimary};
44
+ ${tokens.checkboxIconColor}: ${textPrimary};
44
45
 
45
- ${tokens.dividerColor}: var(--surface-solid-primary);
46
+ ${tokens.dividerColor}: ${surfaceSolidPrimary};
46
47
 
47
- ${tokens.itemIconColor}: var(--text-accent);
48
+ ${tokens.itemIconColor}: ${textAccent};
48
49
 
49
- ${tokens.checkboxFillColor}: var(--text-accent);
50
- ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
50
+ ${tokens.checkboxFillColor}: ${textAccent};
51
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
51
52
  ${tokens.checkboxTriggerBorderCheckedColor}: none;
52
- ${tokens.checkboxTriggerBorderColor}: var(--outline-accent);
53
+ ${tokens.checkboxTriggerBorderColor}: ${outlineAccent};
53
54
  `,
54
55
  negative: css`
55
- ${tokens.textFieldColor}: var(--text-primary);
56
- ${tokens.textFieldPlaceholderColor}: var(--text-secondary);
57
- ${tokens.textFieldBackgroundColor}: var(--surface-solid-card);
58
- ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-card);
59
- ${tokens.textFieldLabelColor}: var(--text-primary);
60
- ${tokens.textFieldLeftHelperColor}: var(--text-negative);
61
- ${tokens.textFieldContentSlotColor}: var(--text-secondary);
62
- ${tokens.textFieldBorderColor}: var(--outline-negative);
63
- ${tokens.textFieldBorderColorHover}: var(--outline-negative-hover);
64
- ${tokens.textFieldBorderColorFocus}: var(--outline-accent);
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}: var(--surface-negative);
67
- ${tokens.textFieldOptionalColor}: var(--text-tertiary);
67
+ ${tokens.textFieldIndicatorColor}: ${surfaceNegative};
68
+ ${tokens.textFieldOptionalColor}: ${textTertiary};
68
69
 
69
- ${tokens.buttonColor}: var(--text-accent);
70
- ${tokens.buttonColorHover}: var(--text-accent-minor);
71
- ${tokens.buttonColorActive}: var(--text-accent-active);
72
- ${tokens.buttonArrowColor}: var(--text-primary);
73
- ${tokens.buttonArrowColorHover}: var(--text-primary-hover);
74
- ${tokens.buttonArrowColorActive}: var(--text-primary-hover);
75
- ${tokens.buttonBackgroundColor}: var(--surface-solid-primary);
76
- ${tokens.buttonBackgroundColorHover}: var(--surface-solid-primary-hover);
77
- ${tokens.buttonBackgroundColorActive}: var(--surface-solid-primary-active);
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}: var(--text-accent);
80
- ${tokens.disclosureIconColorHover}: var(--text-accent-minor);
81
- ${tokens.itemBackgroundHover}: var(--surface-transparent-accent);
80
+ ${tokens.disclosureIconColor}: ${textAccent};
81
+ ${tokens.disclosureIconColorHover}: ${textAccentMinor};
82
+ ${tokens.itemBackgroundHover}: ${surfaceTransparentAccent};
82
83
  ${tokens.itemDisabledOpacity}: 1;
83
- ${tokens.itemDisabledColor}: var(--text-secondary);
84
+ ${tokens.itemDisabledColor}: ${textSecondary};
84
85
 
85
- ${tokens.dropdownBorderColor}: var(--outline-solid-primary);
86
- ${tokens.checkboxIconColor}: var(--text-accent);
86
+ ${tokens.dropdownBorderColor}: ${outlineSolidPrimary};
87
+ ${tokens.checkboxIconColor}: ${textAccent};
87
88
 
88
- ${tokens.dividerColor}: var(--surface-solid-primary);
89
+ ${tokens.dividerColor}: ${surfaceSolidPrimary};
89
90
 
90
- ${tokens.itemIconColor}: var(--text-accent);
91
+ ${tokens.itemIconColor}: ${textAccent};
91
92
 
92
- ${tokens.checkboxFillColor}: var(--text-accent);
93
- ${tokens.checkboxIconColor}: var(--on-dark-text-primary);
93
+ ${tokens.checkboxFillColor}: ${textAccent};
94
+ ${tokens.checkboxIconColor}: ${onDarkTextPrimary};
94
95
  ${tokens.checkboxTriggerBorderCheckedColor}: none;
95
- ${tokens.checkboxTriggerBorderColor}: var(--outline-accent);
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}: var(--plasma-typo-body-m-font-family);
113
- ${tokens.textFieldFontSize}: var(--plasma-typo-body-m-font-size);
114
- ${tokens.textFieldFontStyle}: var(--plasma-typo-body-m-font-style);
115
- ${tokens.textFieldFontWeight}: var(--plasma-typo-body-m-font-weight);
116
- ${tokens.textFieldLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
117
- ${tokens.textFieldLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-s-font-family);
121
- ${tokens.textFieldLabelFontSize}: var(--plasma-typo-body-s-font-size);
122
- ${tokens.textFieldLabelFontStyle}: var(--plasma-typo-body-s-font-style);
123
- ${tokens.textFieldLabelFontWeight}: var(--plasma-typo-body-s-font-weight);
124
- ${tokens.textFieldLabelLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
125
- ${tokens.textFieldLabelLineHeight}: var(--plasma-typo-body-s-line-height);
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.textFieldLeftHelperPadding}: 0.25rem 0 0 0;
128
- ${tokens.textFieldLeftHelperFontFamily}: var(--plasma-typo-body-s-font-family);
129
- ${tokens.textFieldLeftHelperFontSize}: var(--plasma-typo-body-s-font-size);
130
- ${tokens.textFieldLeftHelperFontStyle}: var(--plasma-typo-body-s-font-style);
131
- ${tokens.textFieldLeftHelperFontWeight}: var(--plasma-typo-body-s-font-weight);
132
- ${tokens.textFieldLeftHelperLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
133
- ${tokens.textFieldLeftHelperLineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--plasma-typo-body-s-font-family);
157
- ${tokens.textFieldChipFontSize}: var(--plasma-typo-body-s-font-size);
158
- ${tokens.textFieldChipFontStyle}: var(--plasma-typo-body-s-font-style);
159
- ${tokens.textFieldChipFontWeight}: var(--plasma-typo-body-s-font-weight);
160
- ${tokens.textFieldChipLetterSpacing}: var(--plasma-typo-body-s-letter-spacing);
161
- ${tokens.textFieldChipLineHeight}: var(--plasma-typo-body-s-line-height);
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}: var(--plasma-typo-body-m-font-family);
188
- ${tokens.cellTitleFontSize}: var(--plasma-typo-body-m-font-size);
189
- ${tokens.cellTitleFontStyle}: var(--plasma-typo-body-m-font-style);
190
- ${tokens.cellTitleFontWeight}: var(--plasma-typo-body-m-font-weight);
191
- ${tokens.cellTitleLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
192
- ${tokens.cellTitleLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-m-font-family);
195
- ${tokens.fontSize}: var(--plasma-typo-body-m-font-size);
196
- ${tokens.fontStyle}: var(--plasma-typo-body-m-font-style);
197
- ${tokens.fontWeight}: var(--plasma-typo-body-m-font-weight);
198
- ${tokens.fontLetterSpacing}: var(--plasma-typo-body-m-letter-spacing);
199
- ${tokens.fontLineHeight}: var(--plasma-typo-body-m-line-height);
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}: var(--plasma-typo-body-xs-font-family);
221
- ${tokens.textFieldLabelInnerFontSize}: var(--plasma-typo-body-xs-font-size);
222
- ${tokens.textFieldLabelInnerFontStyle}: var(--plasma-typo-body-xs-font-style);
223
- ${tokens.textFieldLabelInnerFontWeight}: var(--plasma-typo-body-xs-font-weight);
224
- ${tokens.textFieldLabelInnerLetterSpacing}: var(--plasma-typo-body-xs-letter-spacing);
225
- ${tokens.textFieldLabelInnerLineHeight}: var(--plasma-typo-body-xs-line-height);
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}: var(--inverse-text-primary);
232
- ${tokens.textFieldChipColorHover}: var(--inverse-text-primary);
233
- ${tokens.textFieldChipBackground}: var(--surface-solid-default);
234
- ${tokens.textFieldChipBackgroundHover}: var(--surface-solid-default-hover);
235
- ${tokens.textFieldChipCloseIconColor}: var(--inverse-text-secondary);
236
- ${tokens.textFieldChipCloseIconColorHover}: var(--inverse-text-primary);
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}: var(--surface-solid-primary);
244
- ${tokens.textFieldBackgroundColorFocus}: var(--surface-solid-primary);
245
- ${tokens.textFieldBorderColor}: var(--surface-solid-primary);
246
- ${tokens.textFieldBorderColorHover}: var(--surface-solid-primary);
247
- ${tokens.textFieldBorderColorFocus}: var(--surface-solid-primary);
248
- ${tokens.textFieldColor}: var(--text-secondary);
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}: var(--text-primary);
254
- ${tokens.textFieldBackgroundColorReadOnly}: var(--surface-clear);
255
- ${tokens.textFieldPlaceholderColorReadOnly}: var(--text-secondary);
256
- ${tokens.textFieldLeftHelperColorReadOnly}: var(--text-secondary);
257
- ${tokens.textFieldLabelColorReadOnly}: var(--text-secondary);
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}: var(--text-secondary);
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}: var(--surface-solid-card);
12
- ${sheetTokens.handleBackgroundColor}: var(--surface-solid-tertiary);
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}: var(--plasma-typo-body-l-line-height);
23
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-body-l-font-size);
23
+ ${skeletonTokens.lineHeight}: ${bodyL.lineHeight};
24
+ ${skeletonTokens.visibleLineHeight}: ${bodyL.fontSize};
24
25
  `,
25
26
  bodyM: css`
26
- ${skeletonTokens.lineHeight}: var(--plasma-typo-body-m-line-height);
27
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-body-m-font-size);
27
+ ${skeletonTokens.lineHeight}: ${bodyM.lineHeight};
28
+ ${skeletonTokens.visibleLineHeight}: ${bodyM.fontSize};
28
29
  `,
29
30
  bodyS: css`
30
- ${skeletonTokens.lineHeight}: var(--plasma-typo-body-s-line-height);
31
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-body-s-font-size);
31
+ ${skeletonTokens.lineHeight}: ${bodyS.lineHeight};
32
+ ${skeletonTokens.visibleLineHeight}: ${bodyS.fontSize};
32
33
  `,
33
34
  bodyXS: css`
34
- ${skeletonTokens.lineHeight}: var(--plasma-typo-body-xs-line-height);
35
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-body-xs-font-size);
35
+ ${skeletonTokens.lineHeight}: ${bodyXS.lineHeight};
36
+ ${skeletonTokens.visibleLineHeight}: ${bodyXS.fontSize};
36
37
  `,
37
38
  bodyXXS: css`
38
- ${skeletonTokens.lineHeight}: var(--plasma-typo-body-xxs-line-height);
39
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-body-xxs-font-size);
39
+ ${skeletonTokens.lineHeight}: ${bodyXXS.lineHeight};
40
+ ${skeletonTokens.visibleLineHeight}: ${bodyXXS.fontSize};
40
41
  `,
41
42
  dsplL: css`
42
- ${skeletonTokens.lineHeight}: var(--plasma-typo-dspl-l-line-height);
43
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-dspl-l-font-size);
43
+ ${skeletonTokens.lineHeight}: ${dsplL.lineHeight};
44
+ ${skeletonTokens.visibleLineHeight}: ${dsplL.fontSize};
44
45
  `,
45
46
  dsplM: css`
46
- ${skeletonTokens.lineHeight}: var(--plasma-typo-dspl-m-line-height);
47
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-dspl-m-font-size);
47
+ ${skeletonTokens.lineHeight}: ${dsplM.lineHeight};
48
+ ${skeletonTokens.visibleLineHeight}: ${dsplM.fontSize};
48
49
  `,
49
50
  dsplS: css`
50
- ${skeletonTokens.lineHeight}: var(--plasma-typo-dspl-s-line-height);
51
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-dspl-s-font-size);
51
+ ${skeletonTokens.lineHeight}: ${dsplS.lineHeight};
52
+ ${skeletonTokens.visibleLineHeight}: ${dsplS.fontSize};
52
53
  `,
53
54
  h1: css`
54
- ${skeletonTokens.lineHeight}: var(--plasma-typo-h1-line-height);
55
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-h1-font-size);
55
+ ${skeletonTokens.lineHeight}: ${h1.lineHeight};
56
+ ${skeletonTokens.visibleLineHeight}: ${h1.fontSize};
56
57
  `,
57
58
  h2: css`
58
- ${skeletonTokens.lineHeight}: var(--plasma-typo-h2-line-height);
59
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-h2-font-size);
59
+ ${skeletonTokens.lineHeight}: ${h2.lineHeight};
60
+ ${skeletonTokens.visibleLineHeight}: ${h2.fontSize};
60
61
  `,
61
62
  h3: css`
62
- ${skeletonTokens.lineHeight}: var(--plasma-typo-h3-line-height);
63
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-h3-font-size);
63
+ ${skeletonTokens.lineHeight}: ${h3.lineHeight};
64
+ ${skeletonTokens.visibleLineHeight}: ${h3.fontSize};
64
65
  `,
65
66
  h4: css`
66
- ${skeletonTokens.lineHeight}: var(--plasma-typo-h4-line-height);
67
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-h4-font-size);
67
+ ${skeletonTokens.lineHeight}: ${h4.lineHeight};
68
+ ${skeletonTokens.visibleLineHeight}: ${h4.fontSize};
68
69
  `,
69
70
  h5: css`
70
- ${skeletonTokens.lineHeight}: var(--plasma-typo-h5-line-height);
71
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-h5-font-size);
71
+ ${skeletonTokens.lineHeight}: ${h5.lineHeight};
72
+ ${skeletonTokens.visibleLineHeight}: ${h5.fontSize};
72
73
  `,
73
74
  textL: css`
74
- ${skeletonTokens.lineHeight}: var(--plasma-typo-text-l-line-height);
75
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-text-l-font-size);
75
+ ${skeletonTokens.lineHeight}: ${textL.lineHeight};
76
+ ${skeletonTokens.visibleLineHeight}: ${textL.fontSize};
76
77
  `,
77
78
  textM: css`
78
- ${skeletonTokens.lineHeight}: var(--plasma-typo-text-m-line-height);
79
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-text-m-font-size);
79
+ ${skeletonTokens.lineHeight}: ${textM.lineHeight};
80
+ ${skeletonTokens.visibleLineHeight}: ${textM.fontSize};
80
81
  `,
81
82
  textS: css`
82
- ${skeletonTokens.lineHeight}: var(--plasma-typo-text-s-line-height);
83
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-text-s-font-size);
83
+ ${skeletonTokens.lineHeight}: ${textS.lineHeight};
84
+ ${skeletonTokens.visibleLineHeight}: ${textS.fontSize};
84
85
  `,
85
86
  textXS: css`
86
- ${skeletonTokens.lineHeight}: var(--plasma-typo-text-xs-line-height);
87
- ${skeletonTokens.visibleLineHeight}: var(--plasma-typo-text-xs-font-size);
87
+ ${skeletonTokens.lineHeight}: ${textXS.lineHeight};
88
+ ${skeletonTokens.visibleLineHeight}: ${textXS.fontSize};
88
89
  `
89
90
  }
90
91
  }