@vkontakte/vkui-tokens 4.2.1-dev-98b6e5.0 → 4.3.1

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 (624) hide show
  1. package/build/compilers/styles/compileStyles.d.ts +1 -1
  2. package/build/expandTheme.d.ts +8 -7
  3. package/build/helpers/tokenHelpers.d.ts +4 -0
  4. package/build/helpers/tokenHelpers.js +14 -0
  5. package/build/helpers/tokenHelpers.test.d.ts +1 -0
  6. package/build/helpers/tokenHelpers.test.js +20 -0
  7. package/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.js +9 -0
  8. package/build/themeProcessors/extractVarsNames/extractVarsNames.js +2 -1
  9. package/interfaces/general/index.d.ts +3 -2
  10. package/interfaces/general/tools/tokenValue.d.ts +8 -0
  11. package/interfaces/general/tools/tokenValue.js +2 -0
  12. package/interfaces/general/typography/index.d.ts +7 -0
  13. package/package.json +1 -1
  14. package/themeDescriptions/base/paradigm.js +55 -24
  15. package/themeDescriptions/base/vk.js +54 -22
  16. package/themes/calendar/cssVars/declarations/index.css +142 -30
  17. package/themes/calendar/cssVars/declarations/noColors.css +79 -13
  18. package/themes/calendar/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  19. package/themes/calendar/cssVars/declarations/onlyMedia.css +40 -12
  20. package/themes/calendar/cssVars/declarations/onlyVariables.css +24 -8
  21. package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
  22. package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +24 -8
  23. package/themes/calendar/cssVars/theme/fallbacks/index.css +83 -17
  24. package/themes/calendar/cssVars/theme/fallbacks/index.less +39 -9
  25. package/themes/calendar/cssVars/theme/fallbacks/index.pcss +39 -9
  26. package/themes/calendar/cssVars/theme/fallbacks/index.scss +86 -14
  27. package/themes/calendar/cssVars/theme/fallbacks/index.styl +39 -9
  28. package/themes/calendar/cssVars/theme/index.js +155 -21
  29. package/themes/calendar/cssVars/theme/index.json +155 -21
  30. package/themes/calendar/index.css +79 -13
  31. package/themes/calendar/index.js +37 -5
  32. package/themes/calendar/index.json +37 -5
  33. package/themes/calendar/index.less +35 -5
  34. package/themes/calendar/index.pcss +35 -5
  35. package/themes/calendar/index.scss +78 -6
  36. package/themes/calendar/index.styl +35 -5
  37. package/themes/calendarDark/cssVars/declarations/index.css +142 -30
  38. package/themes/calendarDark/cssVars/declarations/noColors.css +79 -13
  39. package/themes/calendarDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  40. package/themes/calendarDark/cssVars/declarations/onlyMedia.css +40 -12
  41. package/themes/calendarDark/cssVars/declarations/onlyVariables.css +24 -8
  42. package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
  43. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +24 -8
  44. package/themes/calendarDark/cssVars/theme/fallbacks/index.css +83 -17
  45. package/themes/calendarDark/cssVars/theme/fallbacks/index.less +39 -9
  46. package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +39 -9
  47. package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +86 -14
  48. package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +39 -9
  49. package/themes/calendarDark/cssVars/theme/index.js +155 -21
  50. package/themes/calendarDark/cssVars/theme/index.json +155 -21
  51. package/themes/calendarDark/index.css +79 -13
  52. package/themes/calendarDark/index.js +37 -5
  53. package/themes/calendarDark/index.json +37 -5
  54. package/themes/calendarDark/index.less +35 -5
  55. package/themes/calendarDark/index.pcss +35 -5
  56. package/themes/calendarDark/index.scss +78 -6
  57. package/themes/calendarDark/index.styl +35 -5
  58. package/themes/calls/cssVars/declarations/index.css +158 -26
  59. package/themes/calls/cssVars/declarations/noColors.css +91 -13
  60. package/themes/calls/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  61. package/themes/calls/cssVars/declarations/onlyMedia.css +44 -8
  62. package/themes/calls/cssVars/declarations/onlyVariables.css +26 -8
  63. package/themes/calls/cssVars/declarations/onlyVariables.js +2 -2
  64. package/themes/calls/cssVars/declarations/onlyVariablesLocal.css +26 -8
  65. package/themes/calls/cssVars/theme/fallbacks/index.css +95 -17
  66. package/themes/calls/cssVars/theme/fallbacks/index.less +45 -9
  67. package/themes/calls/cssVars/theme/fallbacks/index.pcss +45 -9
  68. package/themes/calls/cssVars/theme/fallbacks/index.scss +104 -14
  69. package/themes/calls/cssVars/theme/fallbacks/index.styl +45 -9
  70. package/themes/calls/cssVars/theme/index.js +165 -21
  71. package/themes/calls/cssVars/theme/index.json +165 -21
  72. package/themes/calls/index.css +91 -13
  73. package/themes/calls/index.js +41 -5
  74. package/themes/calls/index.json +41 -5
  75. package/themes/calls/index.less +41 -5
  76. package/themes/calls/index.pcss +41 -5
  77. package/themes/calls/index.scss +96 -6
  78. package/themes/calls/index.styl +41 -5
  79. package/themes/cloud/cssVars/declarations/index.css +208 -76
  80. package/themes/cloud/cssVars/declarations/noColors.css +142 -64
  81. package/themes/cloud/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  82. package/themes/cloud/cssVars/declarations/onlyMedia.css +43 -7
  83. package/themes/cloud/cssVars/declarations/onlyVariables.css +43 -25
  84. package/themes/cloud/cssVars/declarations/onlyVariables.js +2 -2
  85. package/themes/cloud/cssVars/declarations/onlyVariablesLocal.css +43 -25
  86. package/themes/cloud/cssVars/theme/fallbacks/index.css +146 -68
  87. package/themes/cloud/cssVars/theme/fallbacks/index.less +62 -26
  88. package/themes/cloud/cssVars/theme/fallbacks/index.pcss +62 -26
  89. package/themes/cloud/cssVars/theme/fallbacks/index.scss +145 -55
  90. package/themes/cloud/cssVars/theme/fallbacks/index.styl +62 -26
  91. package/themes/cloud/cssVars/theme/index.js +182 -38
  92. package/themes/cloud/cssVars/theme/index.json +182 -38
  93. package/themes/cloud/index.css +142 -64
  94. package/themes/cloud/index.js +58 -22
  95. package/themes/cloud/index.json +58 -22
  96. package/themes/cloud/index.less +58 -22
  97. package/themes/cloud/index.pcss +58 -22
  98. package/themes/cloud/index.scss +137 -47
  99. package/themes/cloud/index.styl +58 -22
  100. package/themes/home/cssVars/declarations/index.css +209 -37
  101. package/themes/home/cssVars/declarations/noColors.css +118 -16
  102. package/themes/home/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  103. package/themes/home/cssVars/declarations/onlyMedia.css +68 -16
  104. package/themes/home/cssVars/declarations/onlyVariables.css +31 -9
  105. package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
  106. package/themes/home/cssVars/declarations/onlyVariablesLocal.css +31 -9
  107. package/themes/home/cssVars/theme/fallbacks/index.css +122 -20
  108. package/themes/home/cssVars/theme/fallbacks/index.less +58 -10
  109. package/themes/home/cssVars/theme/fallbacks/index.pcss +58 -10
  110. package/themes/home/cssVars/theme/fallbacks/index.scss +142 -16
  111. package/themes/home/cssVars/theme/fallbacks/index.styl +58 -10
  112. package/themes/home/cssVars/theme/index.js +186 -22
  113. package/themes/home/cssVars/theme/index.json +186 -22
  114. package/themes/home/index.css +118 -16
  115. package/themes/home/index.js +49 -5
  116. package/themes/home/index.json +49 -5
  117. package/themes/home/index.less +53 -5
  118. package/themes/home/index.pcss +53 -5
  119. package/themes/home/index.scss +132 -6
  120. package/themes/home/index.styl +53 -5
  121. package/themes/homeDark/cssVars/declarations/index.css +209 -37
  122. package/themes/homeDark/cssVars/declarations/noColors.css +118 -16
  123. package/themes/homeDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  124. package/themes/homeDark/cssVars/declarations/onlyMedia.css +68 -16
  125. package/themes/homeDark/cssVars/declarations/onlyVariables.css +31 -9
  126. package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
  127. package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +31 -9
  128. package/themes/homeDark/cssVars/theme/fallbacks/index.css +122 -20
  129. package/themes/homeDark/cssVars/theme/fallbacks/index.less +58 -10
  130. package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +58 -10
  131. package/themes/homeDark/cssVars/theme/fallbacks/index.scss +142 -16
  132. package/themes/homeDark/cssVars/theme/fallbacks/index.styl +58 -10
  133. package/themes/homeDark/cssVars/theme/index.js +186 -22
  134. package/themes/homeDark/cssVars/theme/index.json +186 -22
  135. package/themes/homeDark/index.css +118 -16
  136. package/themes/homeDark/index.js +49 -5
  137. package/themes/homeDark/index.json +49 -5
  138. package/themes/homeDark/index.less +53 -5
  139. package/themes/homeDark/index.pcss +53 -5
  140. package/themes/homeDark/index.scss +132 -6
  141. package/themes/homeDark/index.styl +53 -5
  142. package/themes/media/cssVars/declarations/index.css +190 -28
  143. package/themes/media/cssVars/declarations/noColors.css +107 -15
  144. package/themes/media/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  145. package/themes/media/cssVars/declarations/onlyMedia.css +60 -8
  146. package/themes/media/cssVars/declarations/onlyVariables.css +27 -5
  147. package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
  148. package/themes/media/cssVars/declarations/onlyVariablesLocal.css +27 -5
  149. package/themes/media/cssVars/theme/fallbacks/index.css +112 -20
  150. package/themes/media/cssVars/theme/fallbacks/index.less +50 -8
  151. package/themes/media/cssVars/theme/fallbacks/index.pcss +50 -8
  152. package/themes/media/cssVars/theme/fallbacks/index.scss +124 -16
  153. package/themes/media/cssVars/theme/fallbacks/index.styl +50 -8
  154. package/themes/media/cssVars/theme/index.js +180 -18
  155. package/themes/media/cssVars/theme/index.json +180 -18
  156. package/themes/media/index.css +107 -15
  157. package/themes/media/index.js +43 -1
  158. package/themes/media/index.json +43 -1
  159. package/themes/media/index.less +44 -2
  160. package/themes/media/index.pcss +44 -2
  161. package/themes/media/index.scss +112 -4
  162. package/themes/media/index.styl +44 -2
  163. package/themes/mediaDark/cssVars/declarations/index.css +190 -28
  164. package/themes/mediaDark/cssVars/declarations/noColors.css +107 -15
  165. package/themes/mediaDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  166. package/themes/mediaDark/cssVars/declarations/onlyMedia.css +60 -8
  167. package/themes/mediaDark/cssVars/declarations/onlyVariables.css +27 -5
  168. package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
  169. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +27 -5
  170. package/themes/mediaDark/cssVars/theme/fallbacks/index.css +112 -20
  171. package/themes/mediaDark/cssVars/theme/fallbacks/index.less +50 -8
  172. package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +50 -8
  173. package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +124 -16
  174. package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +50 -8
  175. package/themes/mediaDark/cssVars/theme/index.js +180 -18
  176. package/themes/mediaDark/cssVars/theme/index.json +180 -18
  177. package/themes/mediaDark/index.css +107 -15
  178. package/themes/mediaDark/index.js +43 -1
  179. package/themes/mediaDark/index.json +43 -1
  180. package/themes/mediaDark/index.less +44 -2
  181. package/themes/mediaDark/index.pcss +44 -2
  182. package/themes/mediaDark/index.scss +112 -4
  183. package/themes/mediaDark/index.styl +44 -2
  184. package/themes/mycom/cssVars/declarations/index.css +190 -28
  185. package/themes/mycom/cssVars/declarations/noColors.css +107 -15
  186. package/themes/mycom/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  187. package/themes/mycom/cssVars/declarations/onlyMedia.css +60 -8
  188. package/themes/mycom/cssVars/declarations/onlyVariables.css +27 -5
  189. package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
  190. package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +27 -5
  191. package/themes/mycom/cssVars/theme/fallbacks/index.css +112 -20
  192. package/themes/mycom/cssVars/theme/fallbacks/index.less +50 -8
  193. package/themes/mycom/cssVars/theme/fallbacks/index.pcss +50 -8
  194. package/themes/mycom/cssVars/theme/fallbacks/index.scss +124 -16
  195. package/themes/mycom/cssVars/theme/fallbacks/index.styl +50 -8
  196. package/themes/mycom/cssVars/theme/index.js +180 -18
  197. package/themes/mycom/cssVars/theme/index.json +180 -18
  198. package/themes/mycom/index.css +107 -15
  199. package/themes/mycom/index.js +43 -1
  200. package/themes/mycom/index.json +43 -1
  201. package/themes/mycom/index.less +44 -2
  202. package/themes/mycom/index.pcss +44 -2
  203. package/themes/mycom/index.scss +112 -4
  204. package/themes/mycom/index.styl +44 -2
  205. package/themes/octavius/cssVars/declarations/index.css +209 -37
  206. package/themes/octavius/cssVars/declarations/noColors.css +118 -16
  207. package/themes/octavius/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  208. package/themes/octavius/cssVars/declarations/onlyMedia.css +68 -16
  209. package/themes/octavius/cssVars/declarations/onlyVariables.css +31 -9
  210. package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
  211. package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +31 -9
  212. package/themes/octavius/cssVars/theme/fallbacks/index.css +122 -20
  213. package/themes/octavius/cssVars/theme/fallbacks/index.less +58 -10
  214. package/themes/octavius/cssVars/theme/fallbacks/index.pcss +58 -10
  215. package/themes/octavius/cssVars/theme/fallbacks/index.scss +142 -16
  216. package/themes/octavius/cssVars/theme/fallbacks/index.styl +58 -10
  217. package/themes/octavius/cssVars/theme/index.js +186 -22
  218. package/themes/octavius/cssVars/theme/index.json +186 -22
  219. package/themes/octavius/index.css +118 -16
  220. package/themes/octavius/index.js +49 -5
  221. package/themes/octavius/index.json +49 -5
  222. package/themes/octavius/index.less +53 -5
  223. package/themes/octavius/index.pcss +53 -5
  224. package/themes/octavius/index.scss +132 -6
  225. package/themes/octavius/index.styl +53 -5
  226. package/themes/octaviusCompact/cssVars/declarations/index.css +210 -38
  227. package/themes/octaviusCompact/cssVars/declarations/noColors.css +115 -13
  228. package/themes/octaviusCompact/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  229. package/themes/octaviusCompact/cssVars/declarations/onlyMedia.css +68 -16
  230. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +30 -8
  231. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
  232. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +30 -8
  233. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +119 -17
  234. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +57 -9
  235. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +57 -9
  236. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +140 -14
  237. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +57 -9
  238. package/themes/octaviusCompact/cssVars/theme/index.js +185 -21
  239. package/themes/octaviusCompact/cssVars/theme/index.json +185 -21
  240. package/themes/octaviusCompact/index.css +115 -13
  241. package/themes/octaviusCompact/index.js +49 -5
  242. package/themes/octaviusCompact/index.json +49 -5
  243. package/themes/octaviusCompact/index.less +53 -5
  244. package/themes/octaviusCompact/index.pcss +53 -5
  245. package/themes/octaviusCompact/index.scss +132 -6
  246. package/themes/octaviusCompact/index.styl +53 -5
  247. package/themes/octaviusCompactDark/cssVars/declarations/index.css +210 -38
  248. package/themes/octaviusCompactDark/cssVars/declarations/noColors.css +115 -13
  249. package/themes/octaviusCompactDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  250. package/themes/octaviusCompactDark/cssVars/declarations/onlyMedia.css +68 -16
  251. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +30 -8
  252. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
  253. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +30 -8
  254. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +119 -17
  255. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +57 -9
  256. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +57 -9
  257. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +140 -14
  258. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +57 -9
  259. package/themes/octaviusCompactDark/cssVars/theme/index.js +185 -21
  260. package/themes/octaviusCompactDark/cssVars/theme/index.json +185 -21
  261. package/themes/octaviusCompactDark/index.css +115 -13
  262. package/themes/octaviusCompactDark/index.js +49 -5
  263. package/themes/octaviusCompactDark/index.json +49 -5
  264. package/themes/octaviusCompactDark/index.less +53 -5
  265. package/themes/octaviusCompactDark/index.pcss +53 -5
  266. package/themes/octaviusCompactDark/index.scss +132 -6
  267. package/themes/octaviusCompactDark/index.styl +53 -5
  268. package/themes/octaviusDark/cssVars/declarations/index.css +209 -37
  269. package/themes/octaviusDark/cssVars/declarations/noColors.css +118 -16
  270. package/themes/octaviusDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  271. package/themes/octaviusDark/cssVars/declarations/onlyMedia.css +68 -16
  272. package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +31 -9
  273. package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
  274. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +31 -9
  275. package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +122 -20
  276. package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +58 -10
  277. package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +58 -10
  278. package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +142 -16
  279. package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +58 -10
  280. package/themes/octaviusDark/cssVars/theme/index.js +186 -22
  281. package/themes/octaviusDark/cssVars/theme/index.json +186 -22
  282. package/themes/octaviusDark/index.css +118 -16
  283. package/themes/octaviusDark/index.js +49 -5
  284. package/themes/octaviusDark/index.json +49 -5
  285. package/themes/octaviusDark/index.less +53 -5
  286. package/themes/octaviusDark/index.pcss +53 -5
  287. package/themes/octaviusDark/index.scss +132 -6
  288. package/themes/octaviusDark/index.styl +53 -5
  289. package/themes/octaviusVK/cssVars/declarations/index.css +131 -34
  290. package/themes/octaviusVK/cssVars/declarations/noColors.css +75 -18
  291. package/themes/octaviusVK/cssVars/declarations/onlyAdaptiveGroups.css +25 -6
  292. package/themes/octaviusVK/cssVars/declarations/onlyMedia.css +31 -10
  293. package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +25 -10
  294. package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
  295. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +25 -10
  296. package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +80 -23
  297. package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +36 -11
  298. package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +36 -11
  299. package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +74 -18
  300. package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +36 -11
  301. package/themes/octaviusVK/cssVars/theme/index.js +158 -26
  302. package/themes/octaviusVK/cssVars/theme/index.json +158 -26
  303. package/themes/octaviusVK/index.css +75 -18
  304. package/themes/octaviusVK/index.js +35 -6
  305. package/themes/octaviusVK/index.json +35 -6
  306. package/themes/octaviusVK/index.less +31 -6
  307. package/themes/octaviusVK/index.pcss +31 -6
  308. package/themes/octaviusVK/index.scss +64 -8
  309. package/themes/octaviusVK/index.styl +31 -6
  310. package/themes/octaviusVKDark/cssVars/declarations/index.css +131 -34
  311. package/themes/octaviusVKDark/cssVars/declarations/noColors.css +75 -18
  312. package/themes/octaviusVKDark/cssVars/declarations/onlyAdaptiveGroups.css +25 -6
  313. package/themes/octaviusVKDark/cssVars/declarations/onlyMedia.css +31 -10
  314. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +25 -10
  315. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
  316. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +25 -10
  317. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +80 -23
  318. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +36 -11
  319. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +36 -11
  320. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +74 -18
  321. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +36 -11
  322. package/themes/octaviusVKDark/cssVars/theme/index.js +158 -26
  323. package/themes/octaviusVKDark/cssVars/theme/index.json +158 -26
  324. package/themes/octaviusVKDark/index.css +75 -18
  325. package/themes/octaviusVKDark/index.js +35 -6
  326. package/themes/octaviusVKDark/index.json +35 -6
  327. package/themes/octaviusVKDark/index.less +31 -6
  328. package/themes/octaviusVKDark/index.pcss +31 -6
  329. package/themes/octaviusVKDark/index.scss +64 -8
  330. package/themes/octaviusVKDark/index.styl +31 -6
  331. package/themes/octaviusWhite/cssVars/declarations/index.css +209 -37
  332. package/themes/octaviusWhite/cssVars/declarations/noColors.css +118 -16
  333. package/themes/octaviusWhite/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  334. package/themes/octaviusWhite/cssVars/declarations/onlyMedia.css +68 -16
  335. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +31 -9
  336. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
  337. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +31 -9
  338. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +122 -20
  339. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +58 -10
  340. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +58 -10
  341. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +142 -16
  342. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +58 -10
  343. package/themes/octaviusWhite/cssVars/theme/index.js +186 -22
  344. package/themes/octaviusWhite/cssVars/theme/index.json +186 -22
  345. package/themes/octaviusWhite/index.css +118 -16
  346. package/themes/octaviusWhite/index.js +49 -5
  347. package/themes/octaviusWhite/index.json +49 -5
  348. package/themes/octaviusWhite/index.less +53 -5
  349. package/themes/octaviusWhite/index.pcss +53 -5
  350. package/themes/octaviusWhite/index.scss +132 -6
  351. package/themes/octaviusWhite/index.styl +53 -5
  352. package/themes/otvet/cssVars/declarations/index.css +98 -26
  353. package/themes/otvet/cssVars/declarations/noColors.css +58 -16
  354. package/themes/otvet/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  355. package/themes/otvet/cssVars/declarations/onlyMedia.css +17 -5
  356. package/themes/otvet/cssVars/declarations/onlyVariables.css +21 -9
  357. package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
  358. package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +21 -9
  359. package/themes/otvet/cssVars/theme/fallbacks/index.css +62 -20
  360. package/themes/otvet/cssVars/theme/fallbacks/index.less +28 -10
  361. package/themes/otvet/cssVars/theme/fallbacks/index.pcss +28 -10
  362. package/themes/otvet/cssVars/theme/fallbacks/index.scss +52 -16
  363. package/themes/otvet/cssVars/theme/fallbacks/index.styl +28 -10
  364. package/themes/otvet/cssVars/theme/index.js +136 -22
  365. package/themes/otvet/cssVars/theme/index.json +136 -22
  366. package/themes/otvet/index.css +58 -16
  367. package/themes/otvet/index.js +29 -5
  368. package/themes/otvet/index.json +29 -5
  369. package/themes/otvet/index.less +23 -5
  370. package/themes/otvet/index.pcss +23 -5
  371. package/themes/otvet/index.scss +43 -7
  372. package/themes/otvet/index.styl +23 -5
  373. package/themes/otvetDark/cssVars/declarations/index.css +98 -26
  374. package/themes/otvetDark/cssVars/declarations/noColors.css +58 -16
  375. package/themes/otvetDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  376. package/themes/otvetDark/cssVars/declarations/onlyMedia.css +17 -5
  377. package/themes/otvetDark/cssVars/declarations/onlyVariables.css +21 -9
  378. package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
  379. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +21 -9
  380. package/themes/otvetDark/cssVars/theme/fallbacks/index.css +62 -20
  381. package/themes/otvetDark/cssVars/theme/fallbacks/index.less +28 -10
  382. package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +28 -10
  383. package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +52 -16
  384. package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +28 -10
  385. package/themes/otvetDark/cssVars/theme/index.js +136 -22
  386. package/themes/otvetDark/cssVars/theme/index.json +136 -22
  387. package/themes/otvetDark/index.css +58 -16
  388. package/themes/otvetDark/index.js +29 -5
  389. package/themes/otvetDark/index.json +29 -5
  390. package/themes/otvetDark/index.less +23 -5
  391. package/themes/otvetDark/index.pcss +23 -5
  392. package/themes/otvetDark/index.scss +43 -7
  393. package/themes/otvetDark/index.styl +23 -5
  394. package/themes/paradigmBase/cssVars/declarations/index.css +209 -37
  395. package/themes/paradigmBase/cssVars/declarations/noColors.css +118 -16
  396. package/themes/paradigmBase/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  397. package/themes/paradigmBase/cssVars/declarations/onlyMedia.css +68 -16
  398. package/themes/paradigmBase/cssVars/declarations/onlyVariables.css +31 -9
  399. package/themes/paradigmBase/cssVars/declarations/onlyVariables.js +2 -2
  400. package/themes/paradigmBase/cssVars/declarations/onlyVariablesLocal.css +31 -9
  401. package/themes/paradigmBase/cssVars/theme/fallbacks/index.css +122 -20
  402. package/themes/paradigmBase/cssVars/theme/fallbacks/index.less +58 -10
  403. package/themes/paradigmBase/cssVars/theme/fallbacks/index.pcss +58 -10
  404. package/themes/paradigmBase/cssVars/theme/fallbacks/index.scss +142 -16
  405. package/themes/paradigmBase/cssVars/theme/fallbacks/index.styl +58 -10
  406. package/themes/paradigmBase/cssVars/theme/index.js +186 -22
  407. package/themes/paradigmBase/cssVars/theme/index.json +186 -22
  408. package/themes/paradigmBase/index.css +118 -16
  409. package/themes/paradigmBase/index.js +49 -5
  410. package/themes/paradigmBase/index.json +49 -5
  411. package/themes/paradigmBase/index.less +53 -5
  412. package/themes/paradigmBase/index.pcss +53 -5
  413. package/themes/paradigmBase/index.scss +132 -6
  414. package/themes/paradigmBase/index.styl +53 -5
  415. package/themes/paradigmBaseDark/cssVars/declarations/index.css +209 -37
  416. package/themes/paradigmBaseDark/cssVars/declarations/noColors.css +118 -16
  417. package/themes/paradigmBaseDark/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  418. package/themes/paradigmBaseDark/cssVars/declarations/onlyMedia.css +68 -16
  419. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.css +31 -9
  420. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  421. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariablesLocal.css +31 -9
  422. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.css +122 -20
  423. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.less +58 -10
  424. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.pcss +58 -10
  425. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.scss +142 -16
  426. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.styl +58 -10
  427. package/themes/paradigmBaseDark/cssVars/theme/index.js +186 -22
  428. package/themes/paradigmBaseDark/cssVars/theme/index.json +186 -22
  429. package/themes/paradigmBaseDark/index.css +118 -16
  430. package/themes/paradigmBaseDark/index.js +49 -5
  431. package/themes/paradigmBaseDark/index.json +49 -5
  432. package/themes/paradigmBaseDark/index.less +53 -5
  433. package/themes/paradigmBaseDark/index.pcss +53 -5
  434. package/themes/paradigmBaseDark/index.scss +132 -6
  435. package/themes/paradigmBaseDark/index.styl +53 -5
  436. package/themes/pharma/cssVars/declarations/index.css +190 -28
  437. package/themes/pharma/cssVars/declarations/noColors.css +107 -15
  438. package/themes/pharma/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  439. package/themes/pharma/cssVars/declarations/onlyMedia.css +60 -8
  440. package/themes/pharma/cssVars/declarations/onlyVariables.css +27 -5
  441. package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
  442. package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +27 -5
  443. package/themes/pharma/cssVars/theme/fallbacks/index.css +112 -20
  444. package/themes/pharma/cssVars/theme/fallbacks/index.less +50 -8
  445. package/themes/pharma/cssVars/theme/fallbacks/index.pcss +50 -8
  446. package/themes/pharma/cssVars/theme/fallbacks/index.scss +124 -16
  447. package/themes/pharma/cssVars/theme/fallbacks/index.styl +50 -8
  448. package/themes/pharma/cssVars/theme/index.js +180 -18
  449. package/themes/pharma/cssVars/theme/index.json +180 -18
  450. package/themes/pharma/index.css +107 -15
  451. package/themes/pharma/index.js +43 -1
  452. package/themes/pharma/index.json +43 -1
  453. package/themes/pharma/index.less +44 -2
  454. package/themes/pharma/index.pcss +44 -2
  455. package/themes/pharma/index.scss +112 -4
  456. package/themes/pharma/index.styl +44 -2
  457. package/themes/promo/cssVars/declarations/index.css +178 -26
  458. package/themes/promo/cssVars/declarations/noColors.css +103 -13
  459. package/themes/promo/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  460. package/themes/promo/cssVars/declarations/onlyMedia.css +52 -8
  461. package/themes/promo/cssVars/declarations/onlyVariables.css +28 -8
  462. package/themes/promo/cssVars/declarations/onlyVariables.js +2 -2
  463. package/themes/promo/cssVars/declarations/onlyVariablesLocal.css +28 -8
  464. package/themes/promo/cssVars/theme/fallbacks/index.css +107 -17
  465. package/themes/promo/cssVars/theme/fallbacks/index.less +51 -9
  466. package/themes/promo/cssVars/theme/fallbacks/index.pcss +51 -9
  467. package/themes/promo/cssVars/theme/fallbacks/index.scss +122 -14
  468. package/themes/promo/cssVars/theme/fallbacks/index.styl +51 -9
  469. package/themes/promo/cssVars/theme/index.js +175 -21
  470. package/themes/promo/cssVars/theme/index.json +175 -21
  471. package/themes/promo/index.css +103 -13
  472. package/themes/promo/index.js +45 -5
  473. package/themes/promo/index.json +45 -5
  474. package/themes/promo/index.less +47 -5
  475. package/themes/promo/index.pcss +47 -5
  476. package/themes/promo/index.scss +114 -6
  477. package/themes/promo/index.styl +47 -5
  478. package/themes/todo/cssVars/declarations/index.css +209 -37
  479. package/themes/todo/cssVars/declarations/noColors.css +118 -16
  480. package/themes/todo/cssVars/declarations/onlyAdaptiveGroups.css +23 -5
  481. package/themes/todo/cssVars/declarations/onlyMedia.css +68 -16
  482. package/themes/todo/cssVars/declarations/onlyVariables.css +31 -9
  483. package/themes/todo/cssVars/declarations/onlyVariables.js +2 -2
  484. package/themes/todo/cssVars/declarations/onlyVariablesLocal.css +31 -9
  485. package/themes/todo/cssVars/theme/fallbacks/index.css +122 -20
  486. package/themes/todo/cssVars/theme/fallbacks/index.less +58 -10
  487. package/themes/todo/cssVars/theme/fallbacks/index.pcss +58 -10
  488. package/themes/todo/cssVars/theme/fallbacks/index.scss +142 -16
  489. package/themes/todo/cssVars/theme/fallbacks/index.styl +58 -10
  490. package/themes/todo/cssVars/theme/index.js +186 -22
  491. package/themes/todo/cssVars/theme/index.json +186 -22
  492. package/themes/todo/index.css +118 -16
  493. package/themes/todo/index.js +49 -5
  494. package/themes/todo/index.json +49 -5
  495. package/themes/todo/index.less +53 -5
  496. package/themes/todo/index.pcss +53 -5
  497. package/themes/todo/index.scss +132 -6
  498. package/themes/todo/index.styl +53 -5
  499. package/themes/vkBase/cssVars/declarations/index.css +167 -35
  500. package/themes/vkBase/cssVars/declarations/noColors.css +140 -29
  501. package/themes/vkBase/cssVars/declarations/noSizes.css +2 -2
  502. package/themes/vkBase/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  503. package/themes/vkBase/cssVars/declarations/onlyVariables.css +42 -15
  504. package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
  505. package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +42 -15
  506. package/themes/vkBase/cssVars/theme/fallbacks/index.css +145 -34
  507. package/themes/vkBase/cssVars/theme/fallbacks/index.less +65 -16
  508. package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +65 -16
  509. package/themes/vkBase/cssVars/theme/fallbacks/index.scss +154 -28
  510. package/themes/vkBase/cssVars/theme/fallbacks/index.styl +65 -16
  511. package/themes/vkBase/cssVars/theme/index.js +225 -31
  512. package/themes/vkBase/cssVars/theme/index.json +225 -31
  513. package/themes/vkBase/index.css +140 -29
  514. package/themes/vkBase/index.js +57 -10
  515. package/themes/vkBase/index.json +57 -10
  516. package/themes/vkBase/index.less +59 -10
  517. package/themes/vkBase/index.pcss +59 -10
  518. package/themes/vkBase/index.scss +142 -16
  519. package/themes/vkBase/index.styl +59 -10
  520. package/themes/vkBaseDark/cssVars/declarations/index.css +167 -35
  521. package/themes/vkBaseDark/cssVars/declarations/noColors.css +140 -29
  522. package/themes/vkBaseDark/cssVars/declarations/noSizes.css +2 -2
  523. package/themes/vkBaseDark/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  524. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +42 -15
  525. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  526. package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +42 -15
  527. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +145 -34
  528. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +65 -16
  529. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +65 -16
  530. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +154 -28
  531. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +65 -16
  532. package/themes/vkBaseDark/cssVars/theme/index.js +225 -31
  533. package/themes/vkBaseDark/cssVars/theme/index.json +225 -31
  534. package/themes/vkBaseDark/index.css +140 -29
  535. package/themes/vkBaseDark/index.js +57 -10
  536. package/themes/vkBaseDark/index.json +57 -10
  537. package/themes/vkBaseDark/index.less +59 -10
  538. package/themes/vkBaseDark/index.pcss +59 -10
  539. package/themes/vkBaseDark/index.scss +142 -16
  540. package/themes/vkBaseDark/index.styl +59 -10
  541. package/themes/vkCom/cssVars/declarations/index.css +167 -35
  542. package/themes/vkCom/cssVars/declarations/noColors.css +140 -29
  543. package/themes/vkCom/cssVars/declarations/noSizes.css +2 -2
  544. package/themes/vkCom/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  545. package/themes/vkCom/cssVars/declarations/onlyVariables.css +42 -15
  546. package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
  547. package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +42 -15
  548. package/themes/vkCom/cssVars/theme/fallbacks/index.css +145 -34
  549. package/themes/vkCom/cssVars/theme/fallbacks/index.less +65 -16
  550. package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +65 -16
  551. package/themes/vkCom/cssVars/theme/fallbacks/index.scss +154 -28
  552. package/themes/vkCom/cssVars/theme/fallbacks/index.styl +65 -16
  553. package/themes/vkCom/cssVars/theme/index.js +225 -31
  554. package/themes/vkCom/cssVars/theme/index.json +225 -31
  555. package/themes/vkCom/index.css +140 -29
  556. package/themes/vkCom/index.js +57 -10
  557. package/themes/vkCom/index.json +57 -10
  558. package/themes/vkCom/index.less +59 -10
  559. package/themes/vkCom/index.pcss +59 -10
  560. package/themes/vkCom/index.scss +142 -16
  561. package/themes/vkCom/index.styl +59 -10
  562. package/themes/vkComDark/cssVars/declarations/index.css +167 -35
  563. package/themes/vkComDark/cssVars/declarations/noColors.css +140 -29
  564. package/themes/vkComDark/cssVars/declarations/noSizes.css +2 -2
  565. package/themes/vkComDark/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  566. package/themes/vkComDark/cssVars/declarations/onlyVariables.css +42 -15
  567. package/themes/vkComDark/cssVars/declarations/onlyVariables.js +2 -2
  568. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +42 -15
  569. package/themes/vkComDark/cssVars/theme/fallbacks/index.css +145 -34
  570. package/themes/vkComDark/cssVars/theme/fallbacks/index.less +65 -16
  571. package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +65 -16
  572. package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +154 -28
  573. package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +65 -16
  574. package/themes/vkComDark/cssVars/theme/index.js +225 -31
  575. package/themes/vkComDark/cssVars/theme/index.json +225 -31
  576. package/themes/vkComDark/index.css +140 -29
  577. package/themes/vkComDark/index.js +57 -10
  578. package/themes/vkComDark/index.json +57 -10
  579. package/themes/vkComDark/index.less +59 -10
  580. package/themes/vkComDark/index.pcss +59 -10
  581. package/themes/vkComDark/index.scss +142 -16
  582. package/themes/vkComDark/index.styl +59 -10
  583. package/themes/vkIOS/cssVars/declarations/index.css +167 -35
  584. package/themes/vkIOS/cssVars/declarations/noColors.css +140 -29
  585. package/themes/vkIOS/cssVars/declarations/noSizes.css +2 -2
  586. package/themes/vkIOS/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  587. package/themes/vkIOS/cssVars/declarations/onlyVariables.css +42 -15
  588. package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
  589. package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +42 -15
  590. package/themes/vkIOS/cssVars/theme/fallbacks/index.css +145 -34
  591. package/themes/vkIOS/cssVars/theme/fallbacks/index.less +65 -16
  592. package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +65 -16
  593. package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +154 -28
  594. package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +65 -16
  595. package/themes/vkIOS/cssVars/theme/index.js +225 -31
  596. package/themes/vkIOS/cssVars/theme/index.json +225 -31
  597. package/themes/vkIOS/index.css +140 -29
  598. package/themes/vkIOS/index.js +57 -10
  599. package/themes/vkIOS/index.json +57 -10
  600. package/themes/vkIOS/index.less +59 -10
  601. package/themes/vkIOS/index.pcss +59 -10
  602. package/themes/vkIOS/index.scss +142 -16
  603. package/themes/vkIOS/index.styl +59 -10
  604. package/themes/vkIOSDark/cssVars/declarations/index.css +167 -35
  605. package/themes/vkIOSDark/cssVars/declarations/noColors.css +140 -29
  606. package/themes/vkIOSDark/cssVars/declarations/noSizes.css +2 -2
  607. package/themes/vkIOSDark/cssVars/declarations/onlyAdaptiveGroups.css +27 -6
  608. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +42 -15
  609. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +2 -2
  610. package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +42 -15
  611. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +145 -34
  612. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +65 -16
  613. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +65 -16
  614. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +154 -28
  615. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +65 -16
  616. package/themes/vkIOSDark/cssVars/theme/index.js +225 -31
  617. package/themes/vkIOSDark/cssVars/theme/index.json +225 -31
  618. package/themes/vkIOSDark/index.css +140 -29
  619. package/themes/vkIOSDark/index.js +57 -10
  620. package/themes/vkIOSDark/index.json +57 -10
  621. package/themes/vkIOSDark/index.less +59 -10
  622. package/themes/vkIOSDark/index.pcss +59 -10
  623. package/themes/vkIOSDark/index.scss +142 -16
  624. package/themes/vkIOSDark/index.styl +59 -10
@@ -8,4 +8,4 @@ export declare function getRootSelector<PT extends PixelifyTheme>(theme: PT, mod
8
8
  /**
9
9
  * Компиллирует строку со стилями (в разных форматах), на основе темы
10
10
  */
11
- export declare const compileStyles: <PT extends PixelifyTheme<import("../../../interfaces/general").Theme> = PixelifyTheme<import("../../../interfaces/general").Theme>>(format: Formats, theme: PT, mode?: CompileStylesMode) => string;
11
+ export declare const compileStyles: <PT extends PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>> = PixelifyTheme<import("../../../interfaces/general/tools/tokenValue").StaticTokens<import("../../../interfaces/general").Theme>>>(format: Formats, theme: PT, mode?: CompileStylesMode) => string;
@@ -1,17 +1,18 @@
1
1
  import { PixelifyTheme, Theme, ThemeCssVars, ThemeCssVarsWide, ThemeDescription } from '../interfaces/general';
2
+ import { StaticTokens } from '../interfaces/general/tools/tokenValue';
2
3
  export interface ExpandedThemeObject<T = Theme> {
3
- theme: T;
4
- pixelifyTheme: PixelifyTheme<T>;
5
- cssVarsThemeWide: ThemeCssVarsWide<T>;
6
- cssVarsTheme: ThemeCssVars<T>;
7
- pseudoThemeCssVars: PixelifyTheme<T>;
4
+ theme: StaticTokens<T>;
5
+ pixelifyTheme: StaticTokens<PixelifyTheme<T>>;
6
+ cssVarsThemeWide: StaticTokens<ThemeCssVarsWide<T>>;
7
+ cssVarsTheme: StaticTokens<ThemeCssVars<T>>;
8
+ pseudoThemeCssVars: StaticTokens<StaticTokens<T>>;
8
9
  }
9
10
  /**
10
11
  * На основе описания темы, генерирует рутовую тему
11
12
  */
12
- export declare function expandRootTheme<TD = ThemeDescription, T = Theme>(themeDescription: TD): T;
13
+ export declare function expandRootTheme<TD = ThemeDescription, T = Theme>(themeDescription: TD): StaticTokens<T>;
13
14
  /**
14
15
  * Генерирует все виды ts-тем, на основе описания темы
15
16
  * Может работать и с любым интерфейсом и количеством переменных в теме
16
17
  */
17
- export declare function expandAll<TD = ThemeDescription, T = Theme>(themeDescription: TD): ExpandedThemeObject<T>;
18
+ export declare function expandAll<TD = ThemeDescription, T = Theme>(themeDescription: TD): ExpandedThemeObject<StaticTokens<T>>;
@@ -0,0 +1,4 @@
1
+ import { ThemeGeneral } from '../../interfaces/general';
2
+ import { Token } from '../../interfaces/general/tools/tokenValue';
3
+ export declare function alias<T extends ThemeGeneral>(token: string): (theme: Partial<T>) => Token<any, T>;
4
+ export declare function staticRef<T>(value: Token<T, any>): T;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.staticRef = exports.alias = void 0;
4
+ function alias(token) {
5
+ return function (theme) { return theme[token]; };
6
+ }
7
+ exports.alias = alias;
8
+ function staticRef(value) {
9
+ if (typeof value === 'function') {
10
+ throw new Error('Cannot use callable token value in static ref');
11
+ }
12
+ return value;
13
+ }
14
+ exports.staticRef = staticRef;
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var tokenHelpers_1 = require("./tokenHelpers");
4
+ describe('tokenHelpers', function () {
5
+ describe('alias', function () {
6
+ test('maps token to another token', function () {
7
+ expect(tokenHelpers_1.alias('sizeArrow')({ sizeArrow: { regular: 10 } })).toEqual({
8
+ regular: 10,
9
+ });
10
+ });
11
+ });
12
+ describe('staticRef', function () {
13
+ test('returns static value', function () {
14
+ expect(tokenHelpers_1.staticRef(10)).toEqual(10);
15
+ });
16
+ test('fails for dynamic value', function () {
17
+ expect(function () { return tokenHelpers_1.staticRef(tokenHelpers_1.alias('sizeArrow')); }).toThrowError('Cannot use callable token value in static ref');
18
+ });
19
+ });
20
+ });
@@ -10,6 +10,15 @@ exports.extractGeneralTokens = void 0;
10
10
  */
11
11
  function extractGeneralTokens(themeDescription) {
12
12
  var copyDescription = JSON.parse(JSON.stringify(themeDescription));
13
+ var tokens = Object.keys(themeDescription);
14
+ // Разворачиваем токены-функции
15
+ for (var _i = 0, tokens_1 = tokens; _i < tokens_1.length; _i++) {
16
+ var token = tokens_1[_i];
17
+ var tokenValue = themeDescription[token];
18
+ if (typeof tokenValue === 'function') {
19
+ copyDescription[token] = tokenValue(themeDescription);
20
+ }
21
+ }
13
22
  delete copyDescription.colors;
14
23
  delete copyDescription.colorsScheme;
15
24
  return copyDescription;
@@ -18,6 +18,7 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from) {
18
18
  Object.defineProperty(exports, "__esModule", { value: true });
19
19
  exports.extractVarsNames = exports.getVariableName = void 0;
20
20
  var convertCamelToSnake_1 = require("../../helpers/convertCamelToSnake");
21
+ var tokenHelpers_1 = require("../../helpers/tokenHelpers");
21
22
  var customMedia_1 = require("../customMedia/customMedia");
22
23
  var pixelifyValues_1 = require("../pixelifyValues/pixelifyValues");
23
24
  function getVariableName(_a) {
@@ -129,6 +130,6 @@ function extractVarsNames(sourceTheme, opt) {
129
130
  var typedSourceTheme = sourceTheme;
130
131
  var pixelifyedTheme = pixelifyValues_1.pixelifyValues(sourceTheme);
131
132
  var customMedia = customMedia_1.processCustomMedia(sourceTheme);
132
- return processVarNaming(__assign({ object: pixelifyedTheme, prefix: typedSourceTheme.prefix, customMedia: customMedia }, opt));
133
+ return processVarNaming(__assign({ object: pixelifyedTheme, prefix: tokenHelpers_1.staticRef(typedSourceTheme.prefix), customMedia: customMedia }, opt));
133
134
  }
134
135
  exports.extractVarsNames = extractVarsNames;
@@ -9,6 +9,7 @@ import { NamifyObject } from './tools/cssVars';
9
9
  import { StringifyObject } from './tools/utils';
10
10
  import { Fonts, TypographyBaseProps } from './typography';
11
11
  import ColorScheme = Property.ColorScheme;
12
+ import { StaticTokens, Tokens } from './tools/tokenValue';
12
13
  interface AdaptiveInterfaceValues extends Sizes, Fonts {
13
14
  }
14
15
  declare type AdaptiveTokens = {
@@ -40,7 +41,7 @@ export interface ThemeGeneral extends AdaptiveTokens, SpecialTokens, ToneValues,
40
41
  /**
41
42
  * Интерфейс описания Темы (в этом типе описываются все темы дизайн-системы)
42
43
  */
43
- export interface ThemeDescription extends ThemeGeneral, ColorsDescription {
44
+ export interface ThemeDescription extends Tokens<ThemeGeneral>, ColorsDescription {
44
45
  }
45
46
  /**
46
47
  * Основной интерфейс темы
@@ -51,7 +52,7 @@ export interface Theme extends ThemeGeneral, ColorsFinal {
51
52
  /**
52
53
  * Тема, в коротой все значения пикселизированы. Т.е. 16 -> '16px'
53
54
  */
54
- export declare type PixelifyTheme<T extends Partial<Record<keyof T, any>> = Theme> = StringifyObject<Omit<T, 'breakpoints' | 'themeType'>> & Pick<T, Extract<'breakpoints', keyof T>> & {
55
+ export declare type PixelifyTheme<T extends Partial<Record<keyof T, any>> = StaticTokens<Theme>> = StringifyObject<Omit<T, 'breakpoints' | 'themeType'>> & Pick<T, Extract<'breakpoints', keyof T>> & {
55
56
  themeType: 'pixelify';
56
57
  themeName: string;
57
58
  colorScheme: ColorScheme;
@@ -0,0 +1,8 @@
1
+ export declare type Token<T, Theme> = T | ((theme: Theme) => T);
2
+ export declare type MakeStaticToken<T> = T extends (...args: any[]) => any ? MakeStaticToken<ReturnType<T>> : T;
3
+ export declare type Tokens<T> = {
4
+ [K in keyof T]: Token<T[K], T>;
5
+ };
6
+ export declare type StaticTokens<T> = {
7
+ [K in keyof T]: MakeStaticToken<T[K]>;
8
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -18,8 +18,15 @@ export interface Fonts {
18
18
  fontTitle1: Font;
19
19
  fontTitle2: Font;
20
20
  fontTitle3: Font;
21
+ /**
22
+ * @deprecated
23
+ * @see fontHeadline1
24
+ */
21
25
  fontHeadline: Font;
26
+ fontHeadline1: Font;
27
+ fontHeadline2: Font;
22
28
  fontText: Font;
29
+ fontParagraph: Font;
23
30
  fontSubhead: Font;
24
31
  fontFootnote: Font;
25
32
  fontFootnoteCaps: Font;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vkontakte/vkui-tokens",
3
- "version": "4.2.1-dev-98b6e5.0",
3
+ "version": "4.3.1",
4
4
  "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
5
5
  "license": "MIT",
6
6
  "main": "utils/descriptions.js",
@@ -12,16 +12,17 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.darkTheme = exports.darkThemeBase = exports.darkThemeElevation = exports.lightTheme = exports.lightThemeBase = exports.darkColors = exports.lightColors = void 0;
15
+ var tokenHelpers_1 = require("../../build/helpers/tokenHelpers");
15
16
  var overlayColors_1 = require("../../build/themeProcessors/expandColors/overlayColors");
16
17
  var common_1 = require("../../utils/common");
17
18
  var fontFamilyAccent = 'MailSans, Helvetica, Arial, sans-serif';
18
19
  var fontFamilyBase = 'Helvetica, Arial, sans-serif';
19
- var fontWeightAccent1 = 400;
20
+ var fontWeightAccent1 = 500;
20
21
  var fontWeightAccent2 = 500;
21
- var fontWeightAccent3 = 500;
22
- var fontWeightBase1 = 400;
22
+ var fontWeightAccent3 = 400;
23
+ var fontWeightBase1 = 700;
23
24
  var fontWeightBase2 = 700;
24
- var fontWeightBase3 = 700;
25
+ var fontWeightBase3 = 400;
25
26
  exports.lightColors = {
26
27
  colorsScheme: 'light',
27
28
  colors: {
@@ -222,59 +223,89 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
222
223
  fontSize: 24,
223
224
  lineHeight: 28,
224
225
  fontFamily: fontFamilyAccent,
225
- fontWeight: fontWeightAccent3,
226
+ fontWeight: fontWeightAccent1,
226
227
  },
227
228
  }, fontTitle2: {
228
229
  regular: {
229
230
  fontSize: 20,
230
231
  lineHeight: 26,
231
232
  fontFamily: fontFamilyAccent,
232
- fontWeight: fontWeightAccent3,
233
+ fontWeight: fontWeightAccent1,
233
234
  },
234
235
  }, fontTitle3: {
235
236
  regular: {
236
237
  fontSize: 17,
237
238
  lineHeight: 22,
238
239
  fontFamily: fontFamilyAccent,
239
- fontWeight: fontWeightAccent3,
240
+ fontWeight: fontWeightAccent1,
240
241
  },
241
- }, fontHeadline: {
242
+ }, fontHeadline: tokenHelpers_1.alias('fontHeadline1'), fontHeadline1: {
243
+ regular: {
244
+ fontSize: 16,
245
+ lineHeight: 20,
246
+ fontFamily: fontFamilyAccent,
247
+ fontWeight: fontWeightAccent2,
248
+ },
249
+ compact: {
250
+ fontSize: 15,
251
+ lineHeight: 20,
252
+ },
253
+ }, fontHeadline2: {
242
254
  regular: {
243
255
  fontSize: 15,
244
256
  lineHeight: 20,
245
257
  fontFamily: fontFamilyAccent,
246
258
  fontWeight: fontWeightAccent2,
247
259
  },
260
+ compact: {
261
+ fontSize: 14,
262
+ lineHeight: 20,
263
+ },
248
264
  },
249
265
  // todo поменять местами fontSize, когда откажемся от auto
250
266
  // todo fontSize в мобильном виде должен быть 16
251
267
  fontText: {
268
+ regular: {
269
+ fontSize: 16,
270
+ lineHeight: 20,
271
+ fontFamily: fontFamilyBase,
272
+ fontWeight: fontWeightBase3,
273
+ },
274
+ compact: {
275
+ fontSize: 15,
276
+ lineHeight: 20,
277
+ },
278
+ }, fontParagraph: {
252
279
  regular: {
253
280
  fontSize: 15,
254
281
  lineHeight: 20,
255
282
  fontFamily: fontFamilyBase,
256
- fontWeight: fontWeightBase1,
283
+ fontWeight: fontWeightBase3,
257
284
  },
258
285
  }, fontSubhead: {
259
286
  regular: {
260
287
  fontSize: 14,
261
288
  lineHeight: 18,
262
289
  fontFamily: fontFamilyBase,
263
- fontWeight: fontWeightBase1,
290
+ fontWeight: fontWeightBase3,
291
+ },
292
+ compact: {
293
+ fontSize: 13,
294
+ lineHeight: 18,
264
295
  },
265
296
  }, fontFootnote: {
266
297
  regular: {
267
298
  fontSize: 13,
268
299
  lineHeight: 18,
269
300
  fontFamily: fontFamilyBase,
270
- fontWeight: fontWeightBase1,
301
+ fontWeight: fontWeightBase3,
271
302
  },
272
303
  }, fontFootnoteCaps: {
273
304
  regular: {
274
305
  fontSize: 13,
275
306
  lineHeight: 18,
276
307
  fontFamily: fontFamilyBase,
277
- fontWeight: fontWeightBase1,
308
+ fontWeight: fontWeightBase3,
278
309
  textTransform: 'uppercase',
279
310
  letterSpacing: '0.3px',
280
311
  },
@@ -283,14 +314,14 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
283
314
  fontSize: 12,
284
315
  lineHeight: 16,
285
316
  fontFamily: fontFamilyBase,
286
- fontWeight: fontWeightBase1,
317
+ fontWeight: fontWeightBase3,
287
318
  },
288
319
  }, fontCaption1Caps: {
289
320
  regular: {
290
321
  fontSize: 12,
291
322
  lineHeight: 16,
292
323
  fontFamily: fontFamilyBase,
293
- fontWeight: fontWeightBase1,
324
+ fontWeight: fontWeightBase3,
294
325
  textTransform: 'uppercase',
295
326
  letterSpacing: '0.26px',
296
327
  },
@@ -299,14 +330,14 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
299
330
  fontSize: 11,
300
331
  lineHeight: 14,
301
332
  fontFamily: fontFamilyBase,
302
- fontWeight: fontWeightBase1,
333
+ fontWeight: fontWeightBase3,
303
334
  },
304
335
  }, fontCaption2Caps: {
305
336
  regular: {
306
337
  fontSize: 11,
307
338
  lineHeight: 14,
308
339
  fontFamily: fontFamilyBase,
309
- fontWeight: fontWeightBase1,
340
+ fontWeight: fontWeightBase3,
310
341
  textTransform: 'uppercase',
311
342
  letterSpacing: '0.22px',
312
343
  },
@@ -315,14 +346,14 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
315
346
  fontSize: 9,
316
347
  lineHeight: 12,
317
348
  fontFamily: fontFamilyBase,
318
- fontWeight: fontWeightBase1,
349
+ fontWeight: fontWeightBase3,
319
350
  },
320
351
  }, fontCaption3Caps: {
321
352
  regular: {
322
353
  fontSize: 9,
323
354
  lineHeight: 12,
324
355
  fontFamily: fontFamilyBase,
325
- fontWeight: fontWeightBase1,
356
+ fontWeight: fontWeightBase3,
326
357
  textTransform: 'uppercase',
327
358
  letterSpacing: '0.16px',
328
359
  },
@@ -440,8 +471,8 @@ exports.lightTheme = __assign(__assign(__assign({}, exports.lightThemeBase), com
440
471
  regular: {
441
472
  fontSize: 28,
442
473
  lineHeight: 32,
443
- fontFamily: exports.lightThemeBase.fontFamilyAccent,
444
- fontWeight: exports.lightThemeBase.fontWeightAccent3,
474
+ fontFamily: tokenHelpers_1.staticRef(exports.lightThemeBase.fontFamilyAccent),
475
+ fontWeight: tokenHelpers_1.staticRef(exports.lightThemeBase.fontWeightAccent1),
445
476
  },
446
477
  compact: {
447
478
  fontSize: 44,
@@ -453,8 +484,8 @@ exports.lightTheme = __assign(__assign(__assign({}, exports.lightThemeBase), com
453
484
  regular: {
454
485
  fontSize: 24,
455
486
  lineHeight: 28,
456
- fontFamily: exports.lightThemeBase.fontFamilyAccent,
457
- fontWeight: exports.lightThemeBase.fontWeightAccent3,
487
+ fontFamily: tokenHelpers_1.staticRef(exports.lightThemeBase.fontFamilyAccent),
488
+ fontWeight: tokenHelpers_1.staticRef(exports.lightThemeBase.fontWeightAccent1),
458
489
  },
459
490
  compact: {
460
491
  fontSize: 32,
@@ -466,8 +497,8 @@ exports.lightTheme = __assign(__assign(__assign({}, exports.lightThemeBase), com
466
497
  regular: {
467
498
  fontSize: 20,
468
499
  lineHeight: 26,
469
- fontFamily: exports.lightThemeBase.fontFamilyAccent,
470
- fontWeight: exports.lightThemeBase.fontWeightAccent3,
500
+ fontFamily: tokenHelpers_1.staticRef(exports.lightThemeBase.fontFamilyAccent),
501
+ fontWeight: tokenHelpers_1.staticRef(exports.lightThemeBase.fontWeightAccent1),
471
502
  },
472
503
  compact: {
473
504
  fontSize: 28,
@@ -12,14 +12,15 @@ var __assign = (this && this.__assign) || function () {
12
12
  };
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.darkTheme = exports.lightTheme = exports.darkColors = exports.lightColors = void 0;
15
+ var tokenHelpers_1 = require("../../build/helpers/tokenHelpers");
15
16
  var fontFamilyAccent = '"TT Commons", -apple-system, system-ui, Helvetica Neue, Roboto, sans-serif';
16
17
  var fontFamilyBase = '-apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif';
17
- var fontWeightAccent1 = 400;
18
+ var fontWeightAccent1 = 600;
18
19
  var fontWeightAccent2 = 500;
19
- var fontWeightAccent3 = 600;
20
- var fontWeightBase1 = 400;
20
+ var fontWeightAccent3 = 400;
21
+ var fontWeightBase1 = 600;
21
22
  var fontWeightBase2 = 500;
22
- var fontWeightBase3 = 600;
23
+ var fontWeightBase3 = 400;
23
24
  exports.lightColors = {
24
25
  colorsScheme: 'light',
25
26
  colors: {
@@ -211,7 +212,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
211
212
  lineHeight: 28,
212
213
  letterSpacing: '-0.48px',
213
214
  fontFamily: fontFamilyAccent,
214
- fontWeight: fontWeightAccent3,
215
+ fontWeight: fontWeightAccent1,
215
216
  },
216
217
  }, fontTitle2: {
217
218
  regular: {
@@ -219,7 +220,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
219
220
  lineHeight: 24,
220
221
  letterSpacing: '-0.4px',
221
222
  fontFamily: fontFamilyAccent,
222
- fontWeight: fontWeightAccent3,
223
+ fontWeight: fontWeightAccent1,
223
224
  },
224
225
  }, fontTitle3: {
225
226
  regular: {
@@ -227,9 +228,9 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
227
228
  lineHeight: 22,
228
229
  letterSpacing: '-0.22px',
229
230
  fontFamily: fontFamilyAccent,
230
- fontWeight: fontWeightAccent3,
231
+ fontWeight: fontWeightAccent1,
231
232
  },
232
- }, fontHeadline: {
233
+ }, fontHeadline: tokenHelpers_1.alias('fontHeadline1'), fontHeadline1: {
233
234
  regular: {
234
235
  fontSize: 16,
235
236
  lineHeight: 20,
@@ -237,18 +238,44 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
237
238
  fontFamily: fontFamilyAccent,
238
239
  fontWeight: fontWeightAccent2,
239
240
  },
240
- }, fontText: {
241
+ compact: {
242
+ fontSize: 15,
243
+ lineHeight: 20,
244
+ letterSpacing: '-0.1px',
245
+ },
246
+ }, fontHeadline2: {
241
247
  regular: {
242
248
  fontSize: 15,
243
249
  lineHeight: 20,
244
250
  letterSpacing: '-0.1px',
245
- fontFamily: fontFamilyBase,
246
- fontWeight: fontWeightBase1,
251
+ fontFamily: fontFamilyAccent,
252
+ fontWeight: fontWeightAccent2,
247
253
  },
248
254
  compact: {
255
+ fontSize: 14,
256
+ lineHeight: 20,
257
+ letterSpacing: '-0.06px',
258
+ },
259
+ }, fontText: {
260
+ regular: {
249
261
  fontSize: 16,
250
262
  lineHeight: 20,
251
263
  letterSpacing: '-0.16px',
264
+ fontFamily: fontFamilyBase,
265
+ fontWeight: fontWeightBase3,
266
+ },
267
+ compact: {
268
+ fontSize: 15,
269
+ lineHeight: 20,
270
+ letterSpacing: '-0.1px',
271
+ },
272
+ }, fontParagraph: {
273
+ regular: {
274
+ fontSize: 15,
275
+ lineHeight: 20,
276
+ letterSpacing: '-0.1px',
277
+ fontFamily: fontFamilyBase,
278
+ fontWeight: fontWeightBase3,
252
279
  },
253
280
  }, fontSubhead: {
254
281
  regular: {
@@ -256,7 +283,12 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
256
283
  lineHeight: 18,
257
284
  letterSpacing: '-0.06px',
258
285
  fontFamily: fontFamilyBase,
259
- fontWeight: fontWeightBase1,
286
+ fontWeight: fontWeightBase3,
287
+ },
288
+ compact: {
289
+ fontSize: 13,
290
+ lineHeight: 16,
291
+ letterSpacing: '0px',
260
292
  },
261
293
  }, fontFootnote: {
262
294
  regular: {
@@ -264,7 +296,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
264
296
  lineHeight: 16,
265
297
  letterSpacing: '0px',
266
298
  fontFamily: fontFamilyBase,
267
- fontWeight: fontWeightBase1,
299
+ fontWeight: fontWeightBase3,
268
300
  },
269
301
  }, fontFootnoteCaps: {
270
302
  regular: {
@@ -272,7 +304,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
272
304
  lineHeight: 16,
273
305
  letterSpacing: '0.3px',
274
306
  fontFamily: fontFamilyBase,
275
- fontWeight: fontWeightBase1,
307
+ fontWeight: fontWeightBase3,
276
308
  textTransform: 'uppercase',
277
309
  },
278
310
  }, fontCaption1: {
@@ -281,7 +313,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
281
313
  lineHeight: 14,
282
314
  letterSpacing: '0.06px',
283
315
  fontFamily: fontFamilyBase,
284
- fontWeight: fontWeightBase1,
316
+ fontWeight: fontWeightBase3,
285
317
  },
286
318
  }, fontCaption1Caps: {
287
319
  regular: {
@@ -289,7 +321,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
289
321
  lineHeight: 14,
290
322
  letterSpacing: '0.2px',
291
323
  fontFamily: fontFamilyBase,
292
- fontWeight: fontWeightBase3,
324
+ fontWeight: fontWeightBase1,
293
325
  textTransform: 'uppercase',
294
326
  },
295
327
  }, fontCaption2: {
@@ -298,7 +330,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
298
330
  lineHeight: 14,
299
331
  letterSpacing: '0.11px',
300
332
  fontFamily: fontFamilyBase,
301
- fontWeight: fontWeightBase1,
333
+ fontWeight: fontWeightBase3,
302
334
  },
303
335
  }, fontCaption2Caps: {
304
336
  regular: {
@@ -306,7 +338,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
306
338
  lineHeight: 14,
307
339
  letterSpacing: '0.3px',
308
340
  fontFamily: fontFamilyBase,
309
- fontWeight: fontWeightBase3,
341
+ fontWeight: fontWeightBase1,
310
342
  textTransform: 'uppercase',
311
343
  },
312
344
  }, fontCaption3: {
@@ -315,7 +347,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
315
347
  lineHeight: 12,
316
348
  letterSpacing: '0.18px',
317
349
  fontFamily: fontFamilyBase,
318
- fontWeight: fontWeightBase1,
350
+ fontWeight: fontWeightBase3,
319
351
  },
320
352
  }, fontCaption3Caps: {
321
353
  regular: {
@@ -323,7 +355,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
323
355
  lineHeight: 12,
324
356
  letterSpacing: '0.3px',
325
357
  fontFamily: fontFamilyBase,
326
- fontWeight: fontWeightBase3,
358
+ fontWeight: fontWeightBase1,
327
359
  textTransform: 'uppercase',
328
360
  },
329
361
  },
@@ -413,7 +445,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vk
413
445
  regular: 16,
414
446
  },
415
447
  // Прочие отступы
416
- elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 0px 2px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.08)', elevation3: '0px 0px 4px rgba(0, 0, 0, 0.08), 0px 8px 8px rgba(0, 0, 0, 0.16)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.4, opacityDisableAccessibility: 0.64 });
448
+ elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06)', elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.4, opacityDisableAccessibility: 0.64 });
417
449
  exports.darkTheme = __assign(__assign(__assign({}, exports.lightTheme), exports.darkColors), { themeName: 'vkBaseDark', colorsScheme: 'dark',
418
450
  // TODO: Поставить нормальные отступы из тёмной темы
419
- elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 0px 2px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.08)', elevation3: '0px 0px 4px rgba(0, 0, 0, 0.08), 0px 8px 8px rgba(0, 0, 0, 0.16)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)' });
451
+ elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 4px 8px rgba(0, 0, 0, 0.04), 0px 0px 4px rgba(0, 0, 0, 0.06)', elevation3: '0px 0px 2px rgba(0, 0, 0, 0.08), 0px 4px 16px rgba(0, 0, 0, 0.08)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)' });