@vkontakte/vkui-tokens 4.81.2 → 4.82.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 (91) hide show
  1. package/package.json +1 -1
  2. package/themeDescriptions/base/paradigm.js +1 -1
  3. package/themes/legoAndroid/cssVars/declarations/index.css +11 -9
  4. package/themes/legoAndroid/cssVars/declarations/noColors.css +10 -9
  5. package/themes/legoAndroid/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
  6. package/themes/legoAndroid/cssVars/declarations/onlyVariables.css +4 -3
  7. package/themes/legoAndroid/cssVars/declarations/onlyVariables.js +1 -1
  8. package/themes/legoAndroid/cssVars/declarations/onlyVariablesLocal.css +4 -3
  9. package/themes/legoAndroid/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -3
  10. package/themes/legoAndroid/cssVars/theme/fallbacks/index.css +10 -9
  11. package/themes/legoAndroid/cssVars/theme/fallbacks/index.less +3 -3
  12. package/themes/legoAndroid/cssVars/theme/fallbacks/index.pcss +3 -3
  13. package/themes/legoAndroid/cssVars/theme/fallbacks/index.scss +7 -6
  14. package/themes/legoAndroid/cssVars/theme/fallbacks/index.styl +3 -3
  15. package/themes/legoAndroid/cssVars/theme/index.js +1 -1
  16. package/themes/legoAndroid/cssVars/theme/index.json +15 -3
  17. package/themes/legoAndroid/index.css +10 -9
  18. package/themes/legoAndroid/index.js +1 -1
  19. package/themes/legoAndroid/index.json +6 -3
  20. package/themes/legoAndroid/index.less +3 -3
  21. package/themes/legoAndroid/index.pcss +3 -3
  22. package/themes/legoAndroid/index.scss +7 -6
  23. package/themes/legoAndroid/index.styl +3 -3
  24. package/themes/legoAndroid/struct.json +6 -3
  25. package/themes/legoAndroidDark/cssVars/declarations/index.css +11 -9
  26. package/themes/legoAndroidDark/cssVars/declarations/noColors.css +10 -9
  27. package/themes/legoAndroidDark/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
  28. package/themes/legoAndroidDark/cssVars/declarations/onlyVariables.css +4 -3
  29. package/themes/legoAndroidDark/cssVars/declarations/onlyVariables.js +1 -1
  30. package/themes/legoAndroidDark/cssVars/declarations/onlyVariablesLocal.css +4 -3
  31. package/themes/legoAndroidDark/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -3
  32. package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.css +10 -9
  33. package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.less +3 -3
  34. package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.pcss +3 -3
  35. package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.scss +7 -6
  36. package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.styl +3 -3
  37. package/themes/legoAndroidDark/cssVars/theme/index.js +1 -1
  38. package/themes/legoAndroidDark/cssVars/theme/index.json +15 -3
  39. package/themes/legoAndroidDark/index.css +10 -9
  40. package/themes/legoAndroidDark/index.js +1 -1
  41. package/themes/legoAndroidDark/index.json +6 -3
  42. package/themes/legoAndroidDark/index.less +3 -3
  43. package/themes/legoAndroidDark/index.pcss +3 -3
  44. package/themes/legoAndroidDark/index.scss +7 -6
  45. package/themes/legoAndroidDark/index.styl +3 -3
  46. package/themes/legoAndroidDark/struct.json +6 -3
  47. package/themes/legoIOS/cssVars/declarations/index.css +11 -9
  48. package/themes/legoIOS/cssVars/declarations/noColors.css +10 -9
  49. package/themes/legoIOS/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
  50. package/themes/legoIOS/cssVars/declarations/onlyVariables.css +4 -3
  51. package/themes/legoIOS/cssVars/declarations/onlyVariables.js +1 -1
  52. package/themes/legoIOS/cssVars/declarations/onlyVariablesLocal.css +4 -3
  53. package/themes/legoIOS/cssVars/declarations/onlyVariablesLocalIncremental.css +5 -0
  54. package/themes/legoIOS/cssVars/theme/fallbacks/index.css +10 -9
  55. package/themes/legoIOS/cssVars/theme/fallbacks/index.less +3 -3
  56. package/themes/legoIOS/cssVars/theme/fallbacks/index.pcss +3 -3
  57. package/themes/legoIOS/cssVars/theme/fallbacks/index.scss +7 -6
  58. package/themes/legoIOS/cssVars/theme/fallbacks/index.styl +3 -3
  59. package/themes/legoIOS/cssVars/theme/index.js +1 -1
  60. package/themes/legoIOS/cssVars/theme/index.json +15 -3
  61. package/themes/legoIOS/index.css +10 -9
  62. package/themes/legoIOS/index.js +1 -1
  63. package/themes/legoIOS/index.json +6 -3
  64. package/themes/legoIOS/index.less +3 -3
  65. package/themes/legoIOS/index.pcss +3 -3
  66. package/themes/legoIOS/index.scss +7 -6
  67. package/themes/legoIOS/index.styl +3 -3
  68. package/themes/legoIOS/struct.json +6 -3
  69. package/themes/legoIOSDark/cssVars/declarations/index.css +11 -9
  70. package/themes/legoIOSDark/cssVars/declarations/noColors.css +10 -9
  71. package/themes/legoIOSDark/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
  72. package/themes/legoIOSDark/cssVars/declarations/onlyVariables.css +4 -3
  73. package/themes/legoIOSDark/cssVars/declarations/onlyVariables.js +1 -1
  74. package/themes/legoIOSDark/cssVars/declarations/onlyVariablesLocal.css +4 -3
  75. package/themes/legoIOSDark/cssVars/declarations/onlyVariablesLocalIncremental.css +5 -0
  76. package/themes/legoIOSDark/cssVars/theme/fallbacks/index.css +10 -9
  77. package/themes/legoIOSDark/cssVars/theme/fallbacks/index.less +3 -3
  78. package/themes/legoIOSDark/cssVars/theme/fallbacks/index.pcss +3 -3
  79. package/themes/legoIOSDark/cssVars/theme/fallbacks/index.scss +7 -6
  80. package/themes/legoIOSDark/cssVars/theme/fallbacks/index.styl +3 -3
  81. package/themes/legoIOSDark/cssVars/theme/index.js +1 -1
  82. package/themes/legoIOSDark/cssVars/theme/index.json +15 -3
  83. package/themes/legoIOSDark/index.css +10 -9
  84. package/themes/legoIOSDark/index.js +1 -1
  85. package/themes/legoIOSDark/index.json +6 -3
  86. package/themes/legoIOSDark/index.less +3 -3
  87. package/themes/legoIOSDark/index.pcss +3 -3
  88. package/themes/legoIOSDark/index.scss +7 -6
  89. package/themes/legoIOSDark/index.styl +3 -3
  90. package/themes/legoIOSDark/struct.json +6 -3
  91. package/utils/common/fontSizes/index.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.81.2",
3
+ "version": "4.82.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -1,4 +1,4 @@
1
- import{_ as r}from"@swc/helpers/_/_object_spread";import{_ as o}from"@swc/helpers/_/_object_spread_props";import{getGradientPointsFromColor as e}from"../../build/helpers/getGradientPointsFromColor.js";import{alias as a,staticRef as t}from"../../build/helpers/tokenHelpers.js";import{overlayColors as n}from"../../build/themeProcessors/expandColors/overlayColors.js";import{helpers as l}from"../../utils/common/index.js";var i='apple-system, system-ui, "Helvetica Neue", Arial, sans-serif',c="VKSansDisplay, MailSans, ".concat(i),g="#F6F7F8",d="#252525",u="#232324";export var lightColors={colorsScheme:"light",colors:{// Background
1
+ import{_ as r}from"@swc/helpers/_/_object_spread";import{_ as o}from"@swc/helpers/_/_object_spread_props";import{getGradientPointsFromColor as e}from"../../build/helpers/getGradientPointsFromColor.js";import{alias as a,staticRef as t}from"../../build/helpers/tokenHelpers.js";import{overlayColors as n}from"../../build/themeProcessors/expandColors/overlayColors.js";import{helpers as l}from"../../utils/common";var i='apple-system, system-ui, "Helvetica Neue", Arial, sans-serif',c="VKSansDisplay, MailSans, ".concat(i),g="#F6F7F8",d="#252525",u="#232324";export var lightColors={colorsScheme:"light",colors:{// Background
2
2
  colorBackgroundAccent:"#0077FF",colorBackgroundAccentThemed:"#0077FF",colorBackgroundAccentThemedAlpha:"rgba(0, 119, 255, 0.2)",colorBackgroundAccentAlternative:"#FF9E00",colorBackgroundContent:"#FFFFFF",colorBackgroundContentAlpha:"rgba(255, 255, 255, 0.8)",colorBackgroundContentInverse:u,colorBackgroundSecondary:"#F0F1F3",colorBackgroundSecondaryAlpha:{normal:"rgba(0, 16, 61, 0.06)",hover:"rgba(0, 16, 61, 0.1)",active:"rgba(0, 16, 61, 0.14)"},colorBackground:"#FFFFFF",colorBackgroundContrast:"#FFFFFF",colorBackgroundContrastSecondaryAlpha:{normal:"rgba(255, 255, 255, 0.2)",hover:"rgba(255, 255, 255, 0.24)",active:"rgba(255, 255, 255, 0.28)"},colorBackgroundWarning:"#FFF1AD",colorBackgroundNegative:"#ED330A",colorBackgroundTertiary:g,colorBackgroundTertiaryAlpha:{normal:"rgba(0, 0, 0, 0.04)",hover:"rgba(0, 0, 0, 0.08)",active:"rgba(0, 0, 0, 0.12)"},colorBackgroundModal:"#FFFFFF",colorBackgroundPositive:"#0DC268",colorBackgroundNegativeTint:"#FEEFEB",colorBackgroundPositiveTint:"#ECFAF3",colorFieldBackground:"#ffffff",colorBackgroundModalInverse:"#303030",colorBackgroundContrastInverse:"#303030",colorBackgroundContrastThemed:"#FFFFFF",colorBackgroundAccentTint:"#5a9eff",colorBackgroundInfoTint:"#f0f4ff",// Text
3
3
  colorTextAccent:"#0070f0",colorTextAccentThemed:"#0070f0",colorTextNegative:"#ED330a",colorTextLink:"#0070f0",colorTextLinkTint:"#71AAEB",colorTextLinkThemed:"#0070f0",colorTextMuted:"#2C2D2E",colorTextPrimary:"#2C2D2E",colorTextPrimaryAlpha:"rgba(37, 41, 46, 0.84)",colorTextPrimaryInvariably:"#2C2D2E",colorTextSecondary:"#87898F",colorTextSecondaryAlpha:"rgba(37, 41, 46, 0.55)",colorTextSubhead:"#797A80",colorTextTertiary:"#AAADB3",colorTextLinkVisited:"#528FDF",colorTextContrast:"#FFFFFF",colorTextContrastThemed:"#FFFFFF",colorLinkContrast:"#FFFFFF",colorTextPositive:"#0DC268",// Icons
4
4
  colorIconAccent:"#0077ff",colorIconAccentThemed:"#0077ff",colorIconPrimary:"#2C2D2E",colorIconPrimaryInvariably:"#2C2D2E",colorIconMedium:"#919399",colorIconMediumAlpha:"rgba(39, 43, 55, 0.5)",colorIconSecondary:"#A5A7AD",colorIconSecondaryAlpha:"rgba(39, 43, 55, 0.3)",colorIconTertiary:"#CFD1D6",colorIconTertiaryAlpha:"rgba(39, 43, 55, 0.2)",colorIconContrast:"#FFFFFF",colorIconContrastThemed:"#FFFFFF",colorIconPositive:"#0DC268",colorIconWarning:"#FF9E00",colorIconNegative:"#ED330a",colorIconContrastSecondary:"#F2F3F5",// Stroke
@@ -95,10 +95,11 @@
95
95
  --vkui--font_footnote_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
96
96
  --vkui--font_footnote_caps--font_weight--regular: 600;
97
97
  --vkui--font_footnote_caps--text_transform--regular: uppercase;
98
- --vkui--font_caption1--font_size--regular: 12px;
99
- --vkui--font_caption1--line_height--regular: 14px;
98
+ --vkui--font_caption1--font_size--regular: 11.5px;
99
+ --vkui--font_caption1--line_height--regular: 12px;
100
100
  --vkui--font_caption1--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
101
- --vkui--font_caption1--font_weight--regular: 400;
101
+ --vkui--font_caption1--font_weight--regular: 600;
102
+ --vkui--font_caption1--font_variation_settings--optical_size--regular: 11;
102
103
  --vkui--font_caption1_caps--font_size--regular: 12px;
103
104
  --vkui--font_caption1_caps--line_height--regular: 14px;
104
105
  --vkui--font_caption1_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
@@ -1177,20 +1178,21 @@
1177
1178
  text-transform: var(--vkui--font_footnote_caps--text_transform);
1178
1179
  }
1179
1180
  .vkui--font_caption1--regular {
1180
- font-size: 12px;
1181
- font-size: var(--vkui--font_caption1--font_size--regular, 12px);
1182
- line-height: 14px;
1183
- line-height: var(--vkui--font_caption1--line_height--regular, 14px);
1181
+ font-size: 11.5px;
1182
+ font-size: var(--vkui--font_caption1--font_size--regular, 11.5px);
1183
+ line-height: 12px;
1184
+ line-height: var(--vkui--font_caption1--line_height--regular, 12px);
1184
1185
  font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
1185
1186
  font-family: var(--vkui--font_caption1--font_family--regular, -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif);
1186
- font-weight: 400;
1187
- font-weight: var(--vkui--font_caption1--font_weight--regular, 400);
1187
+ font-weight: 600;
1188
+ font-weight: var(--vkui--font_caption1--font_weight--regular, 600);
1188
1189
  }
1189
1190
  .vkui--font_caption1 {
1190
1191
  font-size: var(--vkui--font_caption1--font_size);
1191
1192
  line-height: var(--vkui--font_caption1--line_height);
1192
1193
  font-family: var(--vkui--font_caption1--font_family);
1193
1194
  font-weight: var(--vkui--font_caption1--font_weight);
1195
+ font-variation-settings--optical-size: var(--vkui--font_caption1--font_variation_settings--optical_size);
1194
1196
  }
1195
1197
  .vkui--font_caption1_caps--regular {
1196
1198
  font-size: 12px;
@@ -95,10 +95,11 @@
95
95
  --vkui--font_footnote_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
96
96
  --vkui--font_footnote_caps--font_weight--regular: 600;
97
97
  --vkui--font_footnote_caps--text_transform--regular: uppercase;
98
- --vkui--font_caption1--font_size--regular: 12px;
99
- --vkui--font_caption1--line_height--regular: 14px;
98
+ --vkui--font_caption1--font_size--regular: 11.5px;
99
+ --vkui--font_caption1--line_height--regular: 12px;
100
100
  --vkui--font_caption1--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
101
- --vkui--font_caption1--font_weight--regular: 400;
101
+ --vkui--font_caption1--font_weight--regular: 600;
102
+ --vkui--font_caption1--font_variation_settings--optical_size--regular: 11;
102
103
  --vkui--font_caption1_caps--font_size--regular: 12px;
103
104
  --vkui--font_caption1_caps--line_height--regular: 14px;
104
105
  --vkui--font_caption1_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
@@ -736,14 +737,14 @@
736
737
  text-transform: var(--vkui--font_footnote_caps--text_transform--regular, uppercase);
737
738
  }
738
739
  .vkui--font_caption1--regular {
739
- font-size: 12px;
740
- font-size: var(--vkui--font_caption1--font_size--regular, 12px);
741
- line-height: 14px;
742
- line-height: var(--vkui--font_caption1--line_height--regular, 14px);
740
+ font-size: 11.5px;
741
+ font-size: var(--vkui--font_caption1--font_size--regular, 11.5px);
742
+ line-height: 12px;
743
+ line-height: var(--vkui--font_caption1--line_height--regular, 12px);
743
744
  font-family: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
744
745
  font-family: var(--vkui--font_caption1--font_family--regular, -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif);
745
- font-weight: 400;
746
- font-weight: var(--vkui--font_caption1--font_weight--regular, 400);
746
+ font-weight: 600;
747
+ font-weight: var(--vkui--font_caption1--font_weight--regular, 600);
747
748
  }
748
749
  .vkui--font_caption1_caps--regular {
749
750
  font-size: 12px;
@@ -95,6 +95,7 @@
95
95
  line-height: var(--vkui--font_caption1--line_height);
96
96
  font-family: var(--vkui--font_caption1--font_family);
97
97
  font-weight: var(--vkui--font_caption1--font_weight);
98
+ font-variation-settings--optical-size: var(--vkui--font_caption1--font_variation_settings--optical_size);
98
99
  }
99
100
  .vkui--font_caption1_caps {
100
101
  font-size: var(--vkui--font_caption1_caps--font_size);
@@ -95,10 +95,11 @@
95
95
  --vkui--font_footnote_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
96
96
  --vkui--font_footnote_caps--font_weight--regular: 600;
97
97
  --vkui--font_footnote_caps--text_transform--regular: uppercase;
98
- --vkui--font_caption1--font_size--regular: 12px;
99
- --vkui--font_caption1--line_height--regular: 14px;
98
+ --vkui--font_caption1--font_size--regular: 11.5px;
99
+ --vkui--font_caption1--line_height--regular: 12px;
100
100
  --vkui--font_caption1--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;
101
- --vkui--font_caption1--font_weight--regular: 400;
101
+ --vkui--font_caption1--font_weight--regular: 600;
102
+ --vkui--font_caption1--font_variation_settings--optical_size--regular: 11;
102
103
  --vkui--font_caption1_caps--font_size--regular: 12px;
103
104
  --vkui--font_caption1_caps--line_height--regular: 14px;
104
105
  --vkui--font_caption1_caps--font_family--regular: -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif;