@vkontakte/vkui-tokens 4.81.2 → 4.83.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/themeDescriptions/base/paradigm.js +1 -1
- package/themes/legoAndroid/cssVars/declarations/index.css +11 -9
- package/themes/legoAndroid/cssVars/declarations/noColors.css +10 -9
- package/themes/legoAndroid/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
- package/themes/legoAndroid/cssVars/declarations/onlyVariables.css +4 -3
- package/themes/legoAndroid/cssVars/declarations/onlyVariables.js +1 -1
- package/themes/legoAndroid/cssVars/declarations/onlyVariablesLocal.css +4 -3
- package/themes/legoAndroid/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -3
- package/themes/legoAndroid/cssVars/theme/fallbacks/index.css +10 -9
- package/themes/legoAndroid/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/legoAndroid/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/legoAndroid/cssVars/theme/fallbacks/index.scss +7 -6
- package/themes/legoAndroid/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/legoAndroid/cssVars/theme/index.js +1 -1
- package/themes/legoAndroid/cssVars/theme/index.json +15 -3
- package/themes/legoAndroid/index.css +10 -9
- package/themes/legoAndroid/index.js +1 -1
- package/themes/legoAndroid/index.json +6 -3
- package/themes/legoAndroid/index.less +3 -3
- package/themes/legoAndroid/index.pcss +3 -3
- package/themes/legoAndroid/index.scss +7 -6
- package/themes/legoAndroid/index.styl +3 -3
- package/themes/legoAndroid/struct.json +6 -3
- package/themes/legoAndroidDark/cssVars/declarations/index.css +11 -9
- package/themes/legoAndroidDark/cssVars/declarations/noColors.css +10 -9
- package/themes/legoAndroidDark/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
- package/themes/legoAndroidDark/cssVars/declarations/onlyVariables.css +4 -3
- package/themes/legoAndroidDark/cssVars/declarations/onlyVariables.js +1 -1
- package/themes/legoAndroidDark/cssVars/declarations/onlyVariablesLocal.css +4 -3
- package/themes/legoAndroidDark/cssVars/declarations/onlyVariablesLocalIncremental.css +4 -3
- package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.css +10 -9
- package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.scss +7 -6
- package/themes/legoAndroidDark/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/legoAndroidDark/cssVars/theme/index.js +1 -1
- package/themes/legoAndroidDark/cssVars/theme/index.json +15 -3
- package/themes/legoAndroidDark/index.css +10 -9
- package/themes/legoAndroidDark/index.js +1 -1
- package/themes/legoAndroidDark/index.json +6 -3
- package/themes/legoAndroidDark/index.less +3 -3
- package/themes/legoAndroidDark/index.pcss +3 -3
- package/themes/legoAndroidDark/index.scss +7 -6
- package/themes/legoAndroidDark/index.styl +3 -3
- package/themes/legoAndroidDark/struct.json +6 -3
- package/themes/legoIOS/cssVars/declarations/index.css +11 -9
- package/themes/legoIOS/cssVars/declarations/noColors.css +10 -9
- package/themes/legoIOS/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
- package/themes/legoIOS/cssVars/declarations/onlyVariables.css +4 -3
- package/themes/legoIOS/cssVars/declarations/onlyVariables.js +1 -1
- package/themes/legoIOS/cssVars/declarations/onlyVariablesLocal.css +4 -3
- package/themes/legoIOS/cssVars/declarations/onlyVariablesLocalIncremental.css +5 -0
- package/themes/legoIOS/cssVars/theme/fallbacks/index.css +10 -9
- package/themes/legoIOS/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/legoIOS/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/legoIOS/cssVars/theme/fallbacks/index.scss +7 -6
- package/themes/legoIOS/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/legoIOS/cssVars/theme/index.js +1 -1
- package/themes/legoIOS/cssVars/theme/index.json +15 -3
- package/themes/legoIOS/index.css +10 -9
- package/themes/legoIOS/index.js +1 -1
- package/themes/legoIOS/index.json +6 -3
- package/themes/legoIOS/index.less +3 -3
- package/themes/legoIOS/index.pcss +3 -3
- package/themes/legoIOS/index.scss +7 -6
- package/themes/legoIOS/index.styl +3 -3
- package/themes/legoIOS/struct.json +6 -3
- package/themes/legoIOSDark/cssVars/declarations/index.css +11 -9
- package/themes/legoIOSDark/cssVars/declarations/noColors.css +10 -9
- package/themes/legoIOSDark/cssVars/declarations/onlyAdaptiveGroups.css +1 -0
- package/themes/legoIOSDark/cssVars/declarations/onlyVariables.css +4 -3
- package/themes/legoIOSDark/cssVars/declarations/onlyVariables.js +1 -1
- package/themes/legoIOSDark/cssVars/declarations/onlyVariablesLocal.css +4 -3
- package/themes/legoIOSDark/cssVars/declarations/onlyVariablesLocalIncremental.css +5 -0
- package/themes/legoIOSDark/cssVars/theme/fallbacks/index.css +10 -9
- package/themes/legoIOSDark/cssVars/theme/fallbacks/index.less +3 -3
- package/themes/legoIOSDark/cssVars/theme/fallbacks/index.pcss +3 -3
- package/themes/legoIOSDark/cssVars/theme/fallbacks/index.scss +7 -6
- package/themes/legoIOSDark/cssVars/theme/fallbacks/index.styl +3 -3
- package/themes/legoIOSDark/cssVars/theme/index.js +1 -1
- package/themes/legoIOSDark/cssVars/theme/index.json +15 -3
- package/themes/legoIOSDark/index.css +10 -9
- package/themes/legoIOSDark/index.js +1 -1
- package/themes/legoIOSDark/index.json +6 -3
- package/themes/legoIOSDark/index.less +3 -3
- package/themes/legoIOSDark/index.pcss +3 -3
- package/themes/legoIOSDark/index.scss +7 -6
- package/themes/legoIOSDark/index.styl +3 -3
- package/themes/legoIOSDark/struct.json +6 -3
- package/utils/common/fontSizes/index.js +1 -1
package/package.json
CHANGED
|
@@ -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
|
|
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:
|
|
99
|
-
--vkui--font_caption1--line_height--regular:
|
|
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:
|
|
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:
|
|
1181
|
-
font-size: var(--vkui--font_caption1--font_size--regular,
|
|
1182
|
-
line-height:
|
|
1183
|
-
line-height: var(--vkui--font_caption1--line_height--regular,
|
|
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:
|
|
1187
|
-
font-weight: var(--vkui--font_caption1--font_weight--regular,
|
|
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:
|
|
99
|
-
--vkui--font_caption1--line_height--regular:
|
|
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:
|
|
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:
|
|
740
|
-
font-size: var(--vkui--font_caption1--font_size--regular,
|
|
741
|
-
line-height:
|
|
742
|
-
line-height: var(--vkui--font_caption1--line_height--regular,
|
|
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:
|
|
746
|
-
font-weight: var(--vkui--font_caption1--font_weight--regular,
|
|
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:
|
|
99
|
-
--vkui--font_caption1--line_height--regular:
|
|
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:
|
|
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;
|