@vkontakte/vkui-tokens 4.71.0 → 4.72.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/interfaces/themes/otvet/index.d.ts +71 -5
- package/package.json +1 -1
- package/themes/otvet/cssVars/declarations/index.css +827 -271
- package/themes/otvet/cssVars/declarations/noColors.css +353 -134
- package/themes/otvet/cssVars/declarations/noSizes.css +124 -31
- package/themes/otvet/cssVars/declarations/onlyAdaptiveGroups.css +83 -26
- package/themes/otvet/cssVars/declarations/onlyColors.css +120 -30
- package/themes/otvet/cssVars/declarations/onlyColors.js +2 -2
- package/themes/otvet/cssVars/declarations/onlyMedia.css +267 -77
- package/themes/otvet/cssVars/declarations/onlyVariables.css +245 -80
- package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +245 -80
- package/themes/otvet/cssVars/declarations/onlyVariablesLocalIncremental.css +245 -80
- package/themes/otvet/cssVars/theme/fallbacks/index.css +477 -168
- package/themes/otvet/cssVars/theme/fallbacks/index.less +295 -80
- package/themes/otvet/cssVars/theme/fallbacks/index.pcss +288 -81
- package/themes/otvet/cssVars/theme/fallbacks/index.scss +457 -125
- package/themes/otvet/cssVars/theme/fallbacks/index.styl +295 -80
- package/themes/otvet/cssVars/theme/index.js +1225 -261
- package/themes/otvet/cssVars/theme/index.json +1225 -261
- package/themes/otvet/docs.json +192 -0
- package/themes/otvet/index.css +473 -164
- package/themes/otvet/index.js +399 -114
- package/themes/otvet/index.json +399 -114
- package/themes/otvet/index.less +291 -76
- package/themes/otvet/index.pcss +284 -77
- package/themes/otvet/index.scss +449 -117
- package/themes/otvet/index.styl +291 -76
- package/themes/otvet/struct.json +400 -115
- package/themes/otvetDark/cssVars/declarations/index.css +862 -306
- package/themes/otvetDark/cssVars/declarations/noColors.css +353 -134
- package/themes/otvetDark/cssVars/declarations/noSizes.css +159 -66
- package/themes/otvetDark/cssVars/declarations/onlyAdaptiveGroups.css +83 -26
- package/themes/otvetDark/cssVars/declarations/onlyColors.css +155 -65
- package/themes/otvetDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/otvetDark/cssVars/declarations/onlyMedia.css +267 -77
- package/themes/otvetDark/cssVars/declarations/onlyVariables.css +280 -115
- package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +280 -115
- package/themes/otvetDark/cssVars/declarations/onlyVariablesLocalIncremental.css +280 -115
- package/themes/otvetDark/cssVars/theme/fallbacks/index.css +512 -203
- package/themes/otvetDark/cssVars/theme/fallbacks/index.less +330 -115
- package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +323 -116
- package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +492 -160
- package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +330 -115
- package/themes/otvetDark/cssVars/theme/index.js +1260 -296
- package/themes/otvetDark/cssVars/theme/index.json +1260 -296
- package/themes/otvetDark/docs.json +192 -0
- package/themes/otvetDark/index.css +508 -199
- package/themes/otvetDark/index.js +434 -149
- package/themes/otvetDark/index.json +434 -149
- package/themes/otvetDark/index.less +326 -111
- package/themes/otvetDark/index.pcss +319 -112
- package/themes/otvetDark/index.scss +484 -152
- package/themes/otvetDark/index.styl +326 -111
- package/themes/otvetDark/struct.json +435 -150
|
@@ -1,9 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import type { Property } from 'csstype';
|
|
2
|
+
import { ColorDescriptionStatic, ColorsDescriptionStruct, ColorWithStates } from '../../general/colors';
|
|
3
|
+
import { GradientPoints } from '../../general/gradients';
|
|
4
|
+
import { Adaptive } from '../../general/tools';
|
|
5
|
+
import { DefaultViewports } from '../../general/tools/viewports';
|
|
6
|
+
import { Font } from '../../general/typography';
|
|
7
|
+
import { LocalParadigmColorsDescriptionStruct, ParadigmTheme, ParadigmThemeCssVars, ParadigmThemeDescription } from '../../namespaces/paradigm';
|
|
8
|
+
export interface ThemeOtvetOverValues {
|
|
9
|
+
otvetBoxShadowIsland: Property.BoxShadow;
|
|
4
10
|
}
|
|
5
|
-
export interface
|
|
11
|
+
export interface ThemeOtvetTypography {
|
|
12
|
+
fontTitleXXL: Adaptive<Font>;
|
|
13
|
+
fontTitleXL: Adaptive<Font>;
|
|
14
|
+
fontTitle1Bold: Adaptive<Font>;
|
|
15
|
+
fontTitle2Bold: Adaptive<Font>;
|
|
16
|
+
fontTitle4: Adaptive<Font>;
|
|
17
|
+
fontHeadline2Bold: Adaptive<Font>;
|
|
18
|
+
fontSubheadBold: Adaptive<Font>;
|
|
19
|
+
fontCaption2Bold: Adaptive<Font>;
|
|
20
|
+
fontCaption3CapsBold: Adaptive<Font>;
|
|
21
|
+
fontCaption3Bold: Adaptive<Font>;
|
|
6
22
|
}
|
|
7
|
-
export interface
|
|
23
|
+
export interface ThemeOtveLocalSizes {
|
|
24
|
+
sizeBorder: number;
|
|
25
|
+
}
|
|
26
|
+
export interface LocalOtvetColorDescriptionStruct {
|
|
27
|
+
otvetColorBackgroundAnswer: ColorDescriptionStatic;
|
|
28
|
+
colorBackgroundNavBarOtvetui: ColorDescriptionStatic;
|
|
29
|
+
colorRangHigherBrain: ColorDescriptionStatic;
|
|
30
|
+
colorRangAi: ColorDescriptionStatic;
|
|
31
|
+
colorRangGenius: ColorDescriptionStatic;
|
|
32
|
+
colorRangOracul: ColorDescriptionStatic;
|
|
33
|
+
colorRangProLight: ColorDescriptionStatic;
|
|
34
|
+
colorRangMudriy: ColorDescriptionStatic;
|
|
35
|
+
colorRangMyslitel: ColorDescriptionStatic;
|
|
36
|
+
colorRangGuru: ColorDescriptionStatic;
|
|
37
|
+
colorRangMaster: ColorDescriptionStatic;
|
|
38
|
+
colorRangPro: ColorDescriptionStatic;
|
|
39
|
+
colorRangExpert: ColorDescriptionStatic;
|
|
40
|
+
colorRangStudent: ColorDescriptionStatic;
|
|
41
|
+
colorAvatarsRed: ColorDescriptionStatic;
|
|
42
|
+
colorAvatarsOrange: ColorDescriptionStatic;
|
|
43
|
+
colorAvatarsPeach: ColorDescriptionStatic;
|
|
44
|
+
colorAvatarsYellow: ColorDescriptionStatic;
|
|
45
|
+
colorAvatarsLime: ColorDescriptionStatic;
|
|
46
|
+
colorAvatarsGreen: ColorDescriptionStatic;
|
|
47
|
+
colorAvatarsSea: ColorDescriptionStatic;
|
|
48
|
+
colorAvatarsMint: ColorDescriptionStatic;
|
|
49
|
+
colorAvatarsSeagreen: ColorDescriptionStatic;
|
|
50
|
+
colorAvatarsSky: ColorDescriptionStatic;
|
|
51
|
+
colorAvatarsBlue: ColorDescriptionStatic;
|
|
52
|
+
colorAvatarsIndigo: ColorDescriptionStatic;
|
|
53
|
+
colorAvatarsViolet: ColorDescriptionStatic;
|
|
54
|
+
colorAvatarsLavender: ColorDescriptionStatic;
|
|
55
|
+
colorAvatarsCoral: ColorDescriptionStatic;
|
|
56
|
+
colorStrokeBorderAlpha: ColorDescriptionStatic;
|
|
57
|
+
}
|
|
58
|
+
export interface ThemeOtvetGradients {
|
|
59
|
+
gradientContent0: GradientPoints;
|
|
60
|
+
gradientContent86: GradientPoints;
|
|
61
|
+
}
|
|
62
|
+
type ThemeOtvetAdaptiveTokens = {
|
|
63
|
+
[key in keyof ThemeOtveLocalSizes]: Adaptive<ThemeOtveLocalSizes[key]>;
|
|
64
|
+
};
|
|
65
|
+
export type OtvetLocalColors = {
|
|
66
|
+
[key in keyof LocalOtvetColorDescriptionStruct]: ColorWithStates;
|
|
67
|
+
};
|
|
68
|
+
export interface ThemeOtvet extends ParadigmTheme<DefaultViewports>, ThemeOtvetTypography, ThemeOtvetOverValues, ThemeOtvetAdaptiveTokens, OtvetLocalColors, ThemeOtvetGradients {
|
|
69
|
+
}
|
|
70
|
+
export interface ThemeOtvetDescription extends ParadigmThemeDescription<DefaultViewports>, ThemeOtvetTypography, ThemeOtvetOverValues, ThemeOtvetAdaptiveTokens, ThemeOtvetGradients {
|
|
71
|
+
colors: LocalOtvetColorDescriptionStruct & LocalParadigmColorsDescriptionStruct & ColorsDescriptionStruct;
|
|
72
|
+
}
|
|
73
|
+
export interface ThemeOtvetCssVars extends ParadigmThemeCssVars<DefaultViewports, ThemeOtvet> {
|
|
8
74
|
}
|
|
9
75
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/vkui-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.72.0",
|
|
4
4
|
"description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://vkcom.github.io/vkui-tokens",
|