@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.
Files changed (56) hide show
  1. package/interfaces/themes/otvet/index.d.ts +71 -5
  2. package/package.json +1 -1
  3. package/themes/otvet/cssVars/declarations/index.css +827 -271
  4. package/themes/otvet/cssVars/declarations/noColors.css +353 -134
  5. package/themes/otvet/cssVars/declarations/noSizes.css +124 -31
  6. package/themes/otvet/cssVars/declarations/onlyAdaptiveGroups.css +83 -26
  7. package/themes/otvet/cssVars/declarations/onlyColors.css +120 -30
  8. package/themes/otvet/cssVars/declarations/onlyColors.js +2 -2
  9. package/themes/otvet/cssVars/declarations/onlyMedia.css +267 -77
  10. package/themes/otvet/cssVars/declarations/onlyVariables.css +245 -80
  11. package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
  12. package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +245 -80
  13. package/themes/otvet/cssVars/declarations/onlyVariablesLocalIncremental.css +245 -80
  14. package/themes/otvet/cssVars/theme/fallbacks/index.css +477 -168
  15. package/themes/otvet/cssVars/theme/fallbacks/index.less +295 -80
  16. package/themes/otvet/cssVars/theme/fallbacks/index.pcss +288 -81
  17. package/themes/otvet/cssVars/theme/fallbacks/index.scss +457 -125
  18. package/themes/otvet/cssVars/theme/fallbacks/index.styl +295 -80
  19. package/themes/otvet/cssVars/theme/index.js +1225 -261
  20. package/themes/otvet/cssVars/theme/index.json +1225 -261
  21. package/themes/otvet/docs.json +192 -0
  22. package/themes/otvet/index.css +473 -164
  23. package/themes/otvet/index.js +399 -114
  24. package/themes/otvet/index.json +399 -114
  25. package/themes/otvet/index.less +291 -76
  26. package/themes/otvet/index.pcss +284 -77
  27. package/themes/otvet/index.scss +449 -117
  28. package/themes/otvet/index.styl +291 -76
  29. package/themes/otvet/struct.json +400 -115
  30. package/themes/otvetDark/cssVars/declarations/index.css +862 -306
  31. package/themes/otvetDark/cssVars/declarations/noColors.css +353 -134
  32. package/themes/otvetDark/cssVars/declarations/noSizes.css +159 -66
  33. package/themes/otvetDark/cssVars/declarations/onlyAdaptiveGroups.css +83 -26
  34. package/themes/otvetDark/cssVars/declarations/onlyColors.css +155 -65
  35. package/themes/otvetDark/cssVars/declarations/onlyColors.js +2 -2
  36. package/themes/otvetDark/cssVars/declarations/onlyMedia.css +267 -77
  37. package/themes/otvetDark/cssVars/declarations/onlyVariables.css +280 -115
  38. package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
  39. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +280 -115
  40. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocalIncremental.css +280 -115
  41. package/themes/otvetDark/cssVars/theme/fallbacks/index.css +512 -203
  42. package/themes/otvetDark/cssVars/theme/fallbacks/index.less +330 -115
  43. package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +323 -116
  44. package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +492 -160
  45. package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +330 -115
  46. package/themes/otvetDark/cssVars/theme/index.js +1260 -296
  47. package/themes/otvetDark/cssVars/theme/index.json +1260 -296
  48. package/themes/otvetDark/docs.json +192 -0
  49. package/themes/otvetDark/index.css +508 -199
  50. package/themes/otvetDark/index.js +434 -149
  51. package/themes/otvetDark/index.json +434 -149
  52. package/themes/otvetDark/index.less +326 -111
  53. package/themes/otvetDark/index.pcss +319 -112
  54. package/themes/otvetDark/index.scss +484 -152
  55. package/themes/otvetDark/index.styl +326 -111
  56. package/themes/otvetDark/struct.json +435 -150
@@ -1,9 +1,75 @@
1
- import { ParadigmTheme, ParadigmThemeCssVars, ParadigmThemeDescription } from '../../namespaces/paradigm';
2
- type OtvetViewports = ['desktopS'];
3
- export interface ThemeOtvet extends ParadigmTheme<OtvetViewports> {
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 ThemeOtvetDescription extends ParadigmThemeDescription<OtvetViewports> {
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 ThemeOtvetCssVars extends ParadigmThemeCssVars<OtvetViewports, ThemeOtvet> {
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.71.0",
3
+ "version": "4.72.0",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "homepage": "https://vkcom.github.io/vkui-tokens",