@vkontakte/vkui-tokens 4.1.0 → 4.2.1-dev-98b6e5.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 (625) hide show
  1. package/build/compilers/index.d.ts +2 -2
  2. package/build/compilers/index.js +2 -0
  3. package/build/compilers/styles/compileStyles.d.ts +4 -2
  4. package/build/compilers/styles/compileStyles.js +31 -10
  5. package/build/compilers/styles/compileStyles.test.js +265 -196
  6. package/build/helpers/getAllButColors.d.ts +1 -0
  7. package/build/helpers/getAllButColors.js +17 -0
  8. package/build/helpers/getAllButColors.test.d.ts +1 -0
  9. package/build/helpers/getAllButColors.test.js +26 -0
  10. package/interfaces/general/geometry/index.d.ts +2 -0
  11. package/interfaces/general/index.d.ts +4 -0
  12. package/interfaces/themes/vkComDark/index.d.ts +1 -0
  13. package/interfaces/themes/vkComDark/index.js +2 -0
  14. package/interfaces/themes/vkIOSDark/index.d.ts +1 -0
  15. package/interfaces/themes/vkIOSDark/index.js +2 -0
  16. package/package.json +1 -1
  17. package/themeDescriptions/base/paradigm.js +5 -1
  18. package/themeDescriptions/base/vk.js +7 -3
  19. package/themes/calendar/cssVars/declarations/index.css +5 -0
  20. package/themes/calendar/cssVars/declarations/noColors.css +574 -0
  21. package/themes/calendar/cssVars/declarations/noSizes.css +1 -0
  22. package/themes/calendar/cssVars/declarations/onlyMedia.css +2 -0
  23. package/themes/calendar/cssVars/declarations/onlyVariables.css +3 -0
  24. package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
  25. package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +520 -0
  26. package/themes/calendar/cssVars/theme/fallbacks/index.css +3 -0
  27. package/themes/calendar/cssVars/theme/fallbacks/index.less +3 -0
  28. package/themes/calendar/cssVars/theme/fallbacks/index.pcss +3 -0
  29. package/themes/calendar/cssVars/theme/fallbacks/index.scss +3 -0
  30. package/themes/calendar/cssVars/theme/fallbacks/index.styl +3 -0
  31. package/themes/calendar/cssVars/theme/index.js +24 -0
  32. package/themes/calendar/cssVars/theme/index.json +24 -0
  33. package/themes/calendar/index.css +3 -0
  34. package/themes/calendar/index.js +7 -0
  35. package/themes/calendar/index.json +7 -0
  36. package/themes/calendar/index.less +3 -0
  37. package/themes/calendar/index.pcss +3 -0
  38. package/themes/calendar/index.scss +3 -0
  39. package/themes/calendar/index.styl +3 -0
  40. package/themes/calendarDark/cssVars/declarations/index.css +5 -0
  41. package/themes/calendarDark/cssVars/declarations/noColors.css +574 -0
  42. package/themes/calendarDark/cssVars/declarations/noSizes.css +1 -0
  43. package/themes/calendarDark/cssVars/declarations/onlyMedia.css +2 -0
  44. package/themes/calendarDark/cssVars/declarations/onlyVariables.css +3 -0
  45. package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
  46. package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +520 -0
  47. package/themes/calendarDark/cssVars/theme/fallbacks/index.css +3 -0
  48. package/themes/calendarDark/cssVars/theme/fallbacks/index.less +3 -0
  49. package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +3 -0
  50. package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +3 -0
  51. package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +3 -0
  52. package/themes/calendarDark/cssVars/theme/index.js +24 -0
  53. package/themes/calendarDark/cssVars/theme/index.json +24 -0
  54. package/themes/calendarDark/index.css +3 -0
  55. package/themes/calendarDark/index.js +7 -0
  56. package/themes/calendarDark/index.json +7 -0
  57. package/themes/calendarDark/index.less +3 -0
  58. package/themes/calendarDark/index.pcss +3 -0
  59. package/themes/calendarDark/index.scss +3 -0
  60. package/themes/calendarDark/index.styl +3 -0
  61. package/themes/calls/cssVars/declarations/index.css +9 -4
  62. package/themes/calls/cssVars/declarations/noColors.css +427 -0
  63. package/themes/calls/cssVars/declarations/noSizes.css +1 -0
  64. package/themes/calls/cssVars/declarations/onlyMedia.css +3 -1
  65. package/themes/calls/cssVars/declarations/onlyVariables.css +4 -1
  66. package/themes/calls/cssVars/declarations/onlyVariables.js +2 -2
  67. package/themes/calls/cssVars/declarations/onlyVariablesLocal.css +477 -0
  68. package/themes/calls/cssVars/theme/fallbacks/index.css +6 -3
  69. package/themes/calls/cssVars/theme/fallbacks/index.less +4 -1
  70. package/themes/calls/cssVars/theme/fallbacks/index.pcss +4 -1
  71. package/themes/calls/cssVars/theme/fallbacks/index.scss +5 -2
  72. package/themes/calls/cssVars/theme/fallbacks/index.styl +4 -1
  73. package/themes/calls/cssVars/theme/index.js +25 -1
  74. package/themes/calls/cssVars/theme/index.json +25 -1
  75. package/themes/calls/index.css +6 -3
  76. package/themes/calls/index.js +8 -1
  77. package/themes/calls/index.json +8 -1
  78. package/themes/calls/index.less +4 -1
  79. package/themes/calls/index.pcss +4 -1
  80. package/themes/calls/index.scss +5 -2
  81. package/themes/calls/index.styl +4 -1
  82. package/themes/cloud/cssVars/declarations/index.css +5 -0
  83. package/themes/cloud/cssVars/declarations/noColors.css +510 -0
  84. package/themes/cloud/cssVars/declarations/noSizes.css +1 -0
  85. package/themes/cloud/cssVars/declarations/onlyMedia.css +2 -0
  86. package/themes/cloud/cssVars/declarations/onlyVariables.css +3 -0
  87. package/themes/cloud/cssVars/declarations/onlyVariables.js +2 -2
  88. package/themes/cloud/cssVars/declarations/onlyVariablesLocal.css +500 -0
  89. package/themes/cloud/cssVars/theme/fallbacks/index.css +3 -0
  90. package/themes/cloud/cssVars/theme/fallbacks/index.less +3 -0
  91. package/themes/cloud/cssVars/theme/fallbacks/index.pcss +3 -0
  92. package/themes/cloud/cssVars/theme/fallbacks/index.scss +3 -0
  93. package/themes/cloud/cssVars/theme/fallbacks/index.styl +3 -0
  94. package/themes/cloud/cssVars/theme/index.js +24 -0
  95. package/themes/cloud/cssVars/theme/index.json +24 -0
  96. package/themes/cloud/index.css +3 -0
  97. package/themes/cloud/index.js +7 -0
  98. package/themes/cloud/index.json +7 -0
  99. package/themes/cloud/index.less +3 -0
  100. package/themes/cloud/index.pcss +3 -0
  101. package/themes/cloud/index.scss +3 -0
  102. package/themes/cloud/index.styl +3 -0
  103. package/themes/home/cssVars/declarations/index.css +9 -4
  104. package/themes/home/cssVars/declarations/noColors.css +452 -0
  105. package/themes/home/cssVars/declarations/noSizes.css +1 -3
  106. package/themes/home/cssVars/declarations/onlyMedia.css +3 -1
  107. package/themes/home/cssVars/declarations/onlyVariables.css +4 -1
  108. package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
  109. package/themes/home/cssVars/declarations/onlyVariablesLocal.css +497 -0
  110. package/themes/home/cssVars/theme/fallbacks/index.css +6 -3
  111. package/themes/home/cssVars/theme/fallbacks/index.less +4 -1
  112. package/themes/home/cssVars/theme/fallbacks/index.pcss +4 -1
  113. package/themes/home/cssVars/theme/fallbacks/index.scss +5 -2
  114. package/themes/home/cssVars/theme/fallbacks/index.styl +4 -1
  115. package/themes/home/cssVars/theme/index.js +25 -1
  116. package/themes/home/cssVars/theme/index.json +25 -1
  117. package/themes/home/index.css +6 -3
  118. package/themes/home/index.js +8 -1
  119. package/themes/home/index.json +8 -1
  120. package/themes/home/index.less +4 -1
  121. package/themes/home/index.pcss +4 -1
  122. package/themes/home/index.scss +5 -2
  123. package/themes/home/index.styl +4 -1
  124. package/themes/homeDark/cssVars/declarations/index.css +8 -4
  125. package/themes/homeDark/cssVars/declarations/noColors.css +466 -0
  126. package/themes/homeDark/cssVars/declarations/onlyMedia.css +3 -1
  127. package/themes/homeDark/cssVars/declarations/onlyVariables.css +3 -1
  128. package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
  129. package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +496 -0
  130. package/themes/homeDark/cssVars/theme/fallbacks/index.css +5 -3
  131. package/themes/homeDark/cssVars/theme/fallbacks/index.less +3 -1
  132. package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +3 -1
  133. package/themes/homeDark/cssVars/theme/fallbacks/index.scss +4 -2
  134. package/themes/homeDark/cssVars/theme/fallbacks/index.styl +3 -1
  135. package/themes/homeDark/cssVars/theme/index.js +21 -1
  136. package/themes/homeDark/cssVars/theme/index.json +21 -1
  137. package/themes/homeDark/index.css +5 -3
  138. package/themes/homeDark/index.js +7 -1
  139. package/themes/homeDark/index.json +7 -1
  140. package/themes/homeDark/index.less +3 -1
  141. package/themes/homeDark/index.pcss +3 -1
  142. package/themes/homeDark/index.scss +4 -2
  143. package/themes/homeDark/index.styl +3 -1
  144. package/themes/media/cssVars/declarations/index.css +10 -5
  145. package/themes/media/cssVars/declarations/noColors.css +638 -0
  146. package/themes/media/cssVars/declarations/noSizes.css +1 -0
  147. package/themes/media/cssVars/declarations/onlyMedia.css +2 -0
  148. package/themes/media/cssVars/declarations/onlyVariables.css +4 -1
  149. package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
  150. package/themes/media/cssVars/declarations/onlyVariablesLocal.css +625 -0
  151. package/themes/media/cssVars/theme/fallbacks/index.css +8 -5
  152. package/themes/media/cssVars/theme/fallbacks/index.less +5 -2
  153. package/themes/media/cssVars/theme/fallbacks/index.pcss +5 -2
  154. package/themes/media/cssVars/theme/fallbacks/index.scss +8 -5
  155. package/themes/media/cssVars/theme/fallbacks/index.styl +5 -2
  156. package/themes/media/cssVars/theme/index.js +25 -1
  157. package/themes/media/cssVars/theme/index.json +25 -1
  158. package/themes/media/index.css +8 -5
  159. package/themes/media/index.js +8 -1
  160. package/themes/media/index.json +8 -1
  161. package/themes/media/index.less +5 -2
  162. package/themes/media/index.pcss +5 -2
  163. package/themes/media/index.scss +8 -5
  164. package/themes/media/index.styl +5 -2
  165. package/themes/mediaDark/cssVars/declarations/index.css +10 -5
  166. package/themes/mediaDark/cssVars/declarations/noColors.css +638 -0
  167. package/themes/mediaDark/cssVars/declarations/noSizes.css +1 -0
  168. package/themes/mediaDark/cssVars/declarations/onlyMedia.css +2 -0
  169. package/themes/mediaDark/cssVars/declarations/onlyVariables.css +4 -1
  170. package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
  171. package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +625 -0
  172. package/themes/mediaDark/cssVars/theme/fallbacks/index.css +8 -5
  173. package/themes/mediaDark/cssVars/theme/fallbacks/index.less +5 -2
  174. package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +5 -2
  175. package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +8 -5
  176. package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +5 -2
  177. package/themes/mediaDark/cssVars/theme/index.js +25 -1
  178. package/themes/mediaDark/cssVars/theme/index.json +25 -1
  179. package/themes/mediaDark/index.css +8 -5
  180. package/themes/mediaDark/index.js +8 -1
  181. package/themes/mediaDark/index.json +8 -1
  182. package/themes/mediaDark/index.less +5 -2
  183. package/themes/mediaDark/index.pcss +5 -2
  184. package/themes/mediaDark/index.scss +8 -5
  185. package/themes/mediaDark/index.styl +5 -2
  186. package/themes/mycom/cssVars/declarations/index.css +10 -5
  187. package/themes/mycom/cssVars/declarations/noColors.css +637 -0
  188. package/themes/mycom/cssVars/declarations/noSizes.css +1 -0
  189. package/themes/mycom/cssVars/declarations/onlyMedia.css +2 -0
  190. package/themes/mycom/cssVars/declarations/onlyVariables.css +4 -1
  191. package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
  192. package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +627 -0
  193. package/themes/mycom/cssVars/theme/fallbacks/index.css +8 -5
  194. package/themes/mycom/cssVars/theme/fallbacks/index.less +5 -2
  195. package/themes/mycom/cssVars/theme/fallbacks/index.pcss +5 -2
  196. package/themes/mycom/cssVars/theme/fallbacks/index.scss +8 -5
  197. package/themes/mycom/cssVars/theme/fallbacks/index.styl +5 -2
  198. package/themes/mycom/cssVars/theme/index.js +25 -1
  199. package/themes/mycom/cssVars/theme/index.json +25 -1
  200. package/themes/mycom/index.css +8 -5
  201. package/themes/mycom/index.js +8 -1
  202. package/themes/mycom/index.json +8 -1
  203. package/themes/mycom/index.less +5 -2
  204. package/themes/mycom/index.pcss +5 -2
  205. package/themes/mycom/index.scss +8 -5
  206. package/themes/mycom/index.styl +5 -2
  207. package/themes/octavius/cssVars/declarations/index.css +8 -4
  208. package/themes/octavius/cssVars/declarations/noColors.css +474 -0
  209. package/themes/octavius/cssVars/declarations/onlyMedia.css +3 -1
  210. package/themes/octavius/cssVars/declarations/onlyVariables.css +3 -1
  211. package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
  212. package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +841 -0
  213. package/themes/octavius/cssVars/theme/fallbacks/index.css +5 -3
  214. package/themes/octavius/cssVars/theme/fallbacks/index.less +3 -1
  215. package/themes/octavius/cssVars/theme/fallbacks/index.pcss +3 -1
  216. package/themes/octavius/cssVars/theme/fallbacks/index.scss +4 -2
  217. package/themes/octavius/cssVars/theme/fallbacks/index.styl +3 -1
  218. package/themes/octavius/cssVars/theme/index.js +21 -1
  219. package/themes/octavius/cssVars/theme/index.json +21 -1
  220. package/themes/octavius/index.css +5 -3
  221. package/themes/octavius/index.js +7 -1
  222. package/themes/octavius/index.json +7 -1
  223. package/themes/octavius/index.less +3 -1
  224. package/themes/octavius/index.pcss +3 -1
  225. package/themes/octavius/index.scss +4 -2
  226. package/themes/octavius/index.styl +3 -1
  227. package/themes/octaviusCompact/cssVars/declarations/index.css +8 -4
  228. package/themes/octaviusCompact/cssVars/declarations/noColors.css +475 -0
  229. package/themes/octaviusCompact/cssVars/declarations/onlyMedia.css +3 -1
  230. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +3 -1
  231. package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
  232. package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +842 -0
  233. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +5 -3
  234. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +3 -1
  235. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +3 -1
  236. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +4 -2
  237. package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +3 -1
  238. package/themes/octaviusCompact/cssVars/theme/index.js +21 -1
  239. package/themes/octaviusCompact/cssVars/theme/index.json +21 -1
  240. package/themes/octaviusCompact/index.css +5 -3
  241. package/themes/octaviusCompact/index.js +7 -1
  242. package/themes/octaviusCompact/index.json +7 -1
  243. package/themes/octaviusCompact/index.less +3 -1
  244. package/themes/octaviusCompact/index.pcss +3 -1
  245. package/themes/octaviusCompact/index.scss +4 -2
  246. package/themes/octaviusCompact/index.styl +3 -1
  247. package/themes/octaviusCompactDark/cssVars/declarations/index.css +8 -4
  248. package/themes/octaviusCompactDark/cssVars/declarations/noColors.css +475 -0
  249. package/themes/octaviusCompactDark/cssVars/declarations/onlyMedia.css +3 -1
  250. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +3 -1
  251. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
  252. package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +842 -0
  253. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +5 -3
  254. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +3 -1
  255. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +3 -1
  256. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +4 -2
  257. package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +3 -1
  258. package/themes/octaviusCompactDark/cssVars/theme/index.js +21 -1
  259. package/themes/octaviusCompactDark/cssVars/theme/index.json +21 -1
  260. package/themes/octaviusCompactDark/index.css +5 -3
  261. package/themes/octaviusCompactDark/index.js +7 -1
  262. package/themes/octaviusCompactDark/index.json +7 -1
  263. package/themes/octaviusCompactDark/index.less +3 -1
  264. package/themes/octaviusCompactDark/index.pcss +3 -1
  265. package/themes/octaviusCompactDark/index.scss +4 -2
  266. package/themes/octaviusCompactDark/index.styl +3 -1
  267. package/themes/octaviusDark/cssVars/declarations/index.css +8 -4
  268. package/themes/octaviusDark/cssVars/declarations/noColors.css +474 -0
  269. package/themes/octaviusDark/cssVars/declarations/onlyMedia.css +3 -1
  270. package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +3 -1
  271. package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
  272. package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +841 -0
  273. package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +5 -3
  274. package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +3 -1
  275. package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +3 -1
  276. package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +4 -2
  277. package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +3 -1
  278. package/themes/octaviusDark/cssVars/theme/index.js +21 -1
  279. package/themes/octaviusDark/cssVars/theme/index.json +21 -1
  280. package/themes/octaviusDark/index.css +5 -3
  281. package/themes/octaviusDark/index.js +7 -1
  282. package/themes/octaviusDark/index.json +7 -1
  283. package/themes/octaviusDark/index.less +3 -1
  284. package/themes/octaviusDark/index.pcss +3 -1
  285. package/themes/octaviusDark/index.scss +4 -2
  286. package/themes/octaviusDark/index.styl +3 -1
  287. package/themes/octaviusVK/cssVars/declarations/index.css +4 -0
  288. package/themes/octaviusVK/cssVars/declarations/noColors.css +519 -0
  289. package/themes/octaviusVK/cssVars/declarations/onlyMedia.css +2 -0
  290. package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +2 -0
  291. package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
  292. package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +854 -0
  293. package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +2 -0
  294. package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +2 -0
  295. package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +2 -0
  296. package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +2 -0
  297. package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +2 -0
  298. package/themes/octaviusVK/cssVars/theme/index.js +20 -0
  299. package/themes/octaviusVK/cssVars/theme/index.json +20 -0
  300. package/themes/octaviusVK/index.css +2 -0
  301. package/themes/octaviusVK/index.js +6 -0
  302. package/themes/octaviusVK/index.json +6 -0
  303. package/themes/octaviusVK/index.less +2 -0
  304. package/themes/octaviusVK/index.pcss +2 -0
  305. package/themes/octaviusVK/index.scss +2 -0
  306. package/themes/octaviusVK/index.styl +2 -0
  307. package/themes/octaviusVKDark/cssVars/declarations/index.css +4 -0
  308. package/themes/octaviusVKDark/cssVars/declarations/noColors.css +519 -0
  309. package/themes/octaviusVKDark/cssVars/declarations/onlyMedia.css +2 -0
  310. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +2 -0
  311. package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
  312. package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +854 -0
  313. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +2 -0
  314. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +2 -0
  315. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +2 -0
  316. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +2 -0
  317. package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +2 -0
  318. package/themes/octaviusVKDark/cssVars/theme/index.js +20 -0
  319. package/themes/octaviusVKDark/cssVars/theme/index.json +20 -0
  320. package/themes/octaviusVKDark/index.css +2 -0
  321. package/themes/octaviusVKDark/index.js +6 -0
  322. package/themes/octaviusVKDark/index.json +6 -0
  323. package/themes/octaviusVKDark/index.less +2 -0
  324. package/themes/octaviusVKDark/index.pcss +2 -0
  325. package/themes/octaviusVKDark/index.scss +2 -0
  326. package/themes/octaviusVKDark/index.styl +2 -0
  327. package/themes/octaviusWhite/cssVars/declarations/index.css +8 -4
  328. package/themes/octaviusWhite/cssVars/declarations/noColors.css +474 -0
  329. package/themes/octaviusWhite/cssVars/declarations/onlyMedia.css +3 -1
  330. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +3 -1
  331. package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
  332. package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +841 -0
  333. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +5 -3
  334. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +3 -1
  335. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +3 -1
  336. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +4 -2
  337. package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +3 -1
  338. package/themes/octaviusWhite/cssVars/theme/index.js +21 -1
  339. package/themes/octaviusWhite/cssVars/theme/index.json +21 -1
  340. package/themes/octaviusWhite/index.css +5 -3
  341. package/themes/octaviusWhite/index.js +7 -1
  342. package/themes/octaviusWhite/index.json +7 -1
  343. package/themes/octaviusWhite/index.less +3 -1
  344. package/themes/octaviusWhite/index.pcss +3 -1
  345. package/themes/octaviusWhite/index.scss +4 -2
  346. package/themes/octaviusWhite/index.styl +3 -1
  347. package/themes/otvet/cssVars/declarations/index.css +9 -4
  348. package/themes/otvet/cssVars/declarations/noColors.css +413 -0
  349. package/themes/otvet/cssVars/declarations/noSizes.css +1 -0
  350. package/themes/otvet/cssVars/declarations/onlyMedia.css +3 -1
  351. package/themes/otvet/cssVars/declarations/onlyVariables.css +4 -1
  352. package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
  353. package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +463 -0
  354. package/themes/otvet/cssVars/theme/fallbacks/index.css +6 -3
  355. package/themes/otvet/cssVars/theme/fallbacks/index.less +4 -1
  356. package/themes/otvet/cssVars/theme/fallbacks/index.pcss +4 -1
  357. package/themes/otvet/cssVars/theme/fallbacks/index.scss +5 -2
  358. package/themes/otvet/cssVars/theme/fallbacks/index.styl +4 -1
  359. package/themes/otvet/cssVars/theme/index.js +25 -1
  360. package/themes/otvet/cssVars/theme/index.json +25 -1
  361. package/themes/otvet/index.css +6 -3
  362. package/themes/otvet/index.js +8 -1
  363. package/themes/otvet/index.json +8 -1
  364. package/themes/otvet/index.less +4 -1
  365. package/themes/otvet/index.pcss +4 -1
  366. package/themes/otvet/index.scss +5 -2
  367. package/themes/otvet/index.styl +4 -1
  368. package/themes/otvetDark/cssVars/declarations/index.css +9 -4
  369. package/themes/otvetDark/cssVars/declarations/noColors.css +413 -0
  370. package/themes/otvetDark/cssVars/declarations/noSizes.css +1 -0
  371. package/themes/otvetDark/cssVars/declarations/onlyMedia.css +3 -1
  372. package/themes/otvetDark/cssVars/declarations/onlyVariables.css +4 -1
  373. package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
  374. package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +463 -0
  375. package/themes/otvetDark/cssVars/theme/fallbacks/index.css +6 -3
  376. package/themes/otvetDark/cssVars/theme/fallbacks/index.less +4 -1
  377. package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +4 -1
  378. package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +5 -2
  379. package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +4 -1
  380. package/themes/otvetDark/cssVars/theme/index.js +25 -1
  381. package/themes/otvetDark/cssVars/theme/index.json +25 -1
  382. package/themes/otvetDark/index.css +6 -3
  383. package/themes/otvetDark/index.js +8 -1
  384. package/themes/otvetDark/index.json +8 -1
  385. package/themes/otvetDark/index.less +4 -1
  386. package/themes/otvetDark/index.pcss +4 -1
  387. package/themes/otvetDark/index.scss +5 -2
  388. package/themes/otvetDark/index.styl +4 -1
  389. package/themes/paradigmBase/cssVars/declarations/index.css +8 -4
  390. package/themes/paradigmBase/cssVars/declarations/noColors.css +448 -0
  391. package/themes/paradigmBase/cssVars/declarations/onlyMedia.css +3 -1
  392. package/themes/paradigmBase/cssVars/declarations/onlyVariables.css +3 -1
  393. package/themes/paradigmBase/cssVars/declarations/onlyVariables.js +2 -2
  394. package/themes/paradigmBase/cssVars/declarations/onlyVariablesLocal.css +478 -0
  395. package/themes/paradigmBase/cssVars/theme/fallbacks/index.css +5 -3
  396. package/themes/paradigmBase/cssVars/theme/fallbacks/index.less +3 -1
  397. package/themes/paradigmBase/cssVars/theme/fallbacks/index.pcss +3 -1
  398. package/themes/paradigmBase/cssVars/theme/fallbacks/index.scss +4 -2
  399. package/themes/paradigmBase/cssVars/theme/fallbacks/index.styl +3 -1
  400. package/themes/paradigmBase/cssVars/theme/index.js +21 -1
  401. package/themes/paradigmBase/cssVars/theme/index.json +21 -1
  402. package/themes/paradigmBase/index.css +5 -3
  403. package/themes/paradigmBase/index.js +7 -1
  404. package/themes/paradigmBase/index.json +7 -1
  405. package/themes/paradigmBase/index.less +3 -1
  406. package/themes/paradigmBase/index.pcss +3 -1
  407. package/themes/paradigmBase/index.scss +4 -2
  408. package/themes/paradigmBase/index.styl +3 -1
  409. package/themes/paradigmBaseDark/cssVars/declarations/index.css +8 -4
  410. package/themes/paradigmBaseDark/cssVars/declarations/noColors.css +448 -0
  411. package/themes/paradigmBaseDark/cssVars/declarations/onlyMedia.css +3 -1
  412. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.css +3 -1
  413. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  414. package/themes/paradigmBaseDark/cssVars/declarations/onlyVariablesLocal.css +478 -0
  415. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.css +5 -3
  416. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.less +3 -1
  417. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.pcss +3 -1
  418. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.scss +4 -2
  419. package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.styl +3 -1
  420. package/themes/paradigmBaseDark/cssVars/theme/index.js +21 -1
  421. package/themes/paradigmBaseDark/cssVars/theme/index.json +21 -1
  422. package/themes/paradigmBaseDark/index.css +5 -3
  423. package/themes/paradigmBaseDark/index.js +7 -1
  424. package/themes/paradigmBaseDark/index.json +7 -1
  425. package/themes/paradigmBaseDark/index.less +3 -1
  426. package/themes/paradigmBaseDark/index.pcss +3 -1
  427. package/themes/paradigmBaseDark/index.scss +4 -2
  428. package/themes/paradigmBaseDark/index.styl +3 -1
  429. package/themes/pharma/cssVars/declarations/index.css +10 -5
  430. package/themes/pharma/cssVars/declarations/noColors.css +638 -0
  431. package/themes/pharma/cssVars/declarations/noSizes.css +1 -0
  432. package/themes/pharma/cssVars/declarations/onlyMedia.css +2 -0
  433. package/themes/pharma/cssVars/declarations/onlyVariables.css +4 -1
  434. package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
  435. package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +628 -0
  436. package/themes/pharma/cssVars/theme/fallbacks/index.css +8 -5
  437. package/themes/pharma/cssVars/theme/fallbacks/index.less +5 -2
  438. package/themes/pharma/cssVars/theme/fallbacks/index.pcss +5 -2
  439. package/themes/pharma/cssVars/theme/fallbacks/index.scss +8 -5
  440. package/themes/pharma/cssVars/theme/fallbacks/index.styl +5 -2
  441. package/themes/pharma/cssVars/theme/index.js +25 -1
  442. package/themes/pharma/cssVars/theme/index.json +25 -1
  443. package/themes/pharma/index.css +8 -5
  444. package/themes/pharma/index.js +8 -1
  445. package/themes/pharma/index.json +8 -1
  446. package/themes/pharma/index.less +5 -2
  447. package/themes/pharma/index.pcss +5 -2
  448. package/themes/pharma/index.scss +8 -5
  449. package/themes/pharma/index.styl +5 -2
  450. package/themes/promo/cssVars/declarations/index.css +9 -4
  451. package/themes/promo/cssVars/declarations/noColors.css +732 -0
  452. package/themes/promo/cssVars/declarations/noSizes.css +1 -0
  453. package/themes/promo/cssVars/declarations/onlyMedia.css +3 -1
  454. package/themes/promo/cssVars/declarations/onlyVariables.css +4 -1
  455. package/themes/promo/cssVars/declarations/onlyVariables.js +2 -2
  456. package/themes/promo/cssVars/declarations/onlyVariablesLocal.css +636 -0
  457. package/themes/promo/cssVars/theme/fallbacks/index.css +6 -3
  458. package/themes/promo/cssVars/theme/fallbacks/index.less +4 -1
  459. package/themes/promo/cssVars/theme/fallbacks/index.pcss +4 -1
  460. package/themes/promo/cssVars/theme/fallbacks/index.scss +5 -2
  461. package/themes/promo/cssVars/theme/fallbacks/index.styl +4 -1
  462. package/themes/promo/cssVars/theme/index.js +25 -1
  463. package/themes/promo/cssVars/theme/index.json +25 -1
  464. package/themes/promo/index.css +6 -3
  465. package/themes/promo/index.js +8 -1
  466. package/themes/promo/index.json +8 -1
  467. package/themes/promo/index.less +4 -1
  468. package/themes/promo/index.pcss +4 -1
  469. package/themes/promo/index.scss +5 -2
  470. package/themes/promo/index.styl +4 -1
  471. package/themes/todo/cssVars/declarations/index.css +9 -4
  472. package/themes/todo/cssVars/declarations/noColors.css +449 -0
  473. package/themes/todo/cssVars/declarations/noSizes.css +1 -0
  474. package/themes/todo/cssVars/declarations/onlyMedia.css +3 -1
  475. package/themes/todo/cssVars/declarations/onlyVariables.css +4 -1
  476. package/themes/todo/cssVars/declarations/onlyVariables.js +2 -2
  477. package/themes/todo/cssVars/declarations/onlyVariablesLocal.css +479 -0
  478. package/themes/todo/cssVars/theme/fallbacks/index.css +6 -3
  479. package/themes/todo/cssVars/theme/fallbacks/index.less +4 -1
  480. package/themes/todo/cssVars/theme/fallbacks/index.pcss +4 -1
  481. package/themes/todo/cssVars/theme/fallbacks/index.scss +5 -2
  482. package/themes/todo/cssVars/theme/fallbacks/index.styl +4 -1
  483. package/themes/todo/cssVars/theme/index.js +25 -1
  484. package/themes/todo/cssVars/theme/index.json +25 -1
  485. package/themes/todo/index.css +6 -3
  486. package/themes/todo/index.js +8 -1
  487. package/themes/todo/index.json +8 -1
  488. package/themes/todo/index.less +4 -1
  489. package/themes/todo/index.pcss +4 -1
  490. package/themes/todo/index.scss +5 -2
  491. package/themes/todo/index.styl +4 -1
  492. package/themes/vkBase/cssVars/declarations/index.css +7 -4
  493. package/themes/vkBase/cssVars/declarations/noColors.css +332 -0
  494. package/themes/vkBase/cssVars/declarations/noSizes.css +1 -0
  495. package/themes/vkBase/cssVars/declarations/onlyVariables.css +5 -2
  496. package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
  497. package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +378 -0
  498. package/themes/vkBase/cssVars/theme/fallbacks/index.css +7 -4
  499. package/themes/vkBase/cssVars/theme/fallbacks/index.less +5 -2
  500. package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +5 -2
  501. package/themes/vkBase/cssVars/theme/fallbacks/index.scss +6 -3
  502. package/themes/vkBase/cssVars/theme/fallbacks/index.styl +5 -2
  503. package/themes/vkBase/cssVars/theme/index.js +26 -2
  504. package/themes/vkBase/cssVars/theme/index.json +26 -2
  505. package/themes/vkBase/index.css +7 -4
  506. package/themes/vkBase/index.js +9 -2
  507. package/themes/vkBase/index.json +9 -2
  508. package/themes/vkBase/index.less +5 -2
  509. package/themes/vkBase/index.pcss +5 -2
  510. package/themes/vkBase/index.scss +6 -3
  511. package/themes/vkBase/index.styl +5 -2
  512. package/themes/vkBaseDark/cssVars/declarations/index.css +7 -4
  513. package/themes/vkBaseDark/cssVars/declarations/noColors.css +332 -0
  514. package/themes/vkBaseDark/cssVars/declarations/noSizes.css +1 -0
  515. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +5 -2
  516. package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
  517. package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
  518. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +7 -4
  519. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +5 -2
  520. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +5 -2
  521. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +6 -3
  522. package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +5 -2
  523. package/themes/vkBaseDark/cssVars/theme/index.js +26 -2
  524. package/themes/vkBaseDark/cssVars/theme/index.json +26 -2
  525. package/themes/vkBaseDark/index.css +7 -4
  526. package/themes/vkBaseDark/index.js +9 -2
  527. package/themes/vkBaseDark/index.json +9 -2
  528. package/themes/vkBaseDark/index.less +5 -2
  529. package/themes/vkBaseDark/index.pcss +5 -2
  530. package/themes/vkBaseDark/index.scss +6 -3
  531. package/themes/vkBaseDark/index.styl +5 -2
  532. package/themes/vkCom/cssVars/declarations/index.css +8 -5
  533. package/themes/vkCom/cssVars/declarations/noColors.css +332 -0
  534. package/themes/vkCom/cssVars/declarations/noSizes.css +1 -0
  535. package/themes/vkCom/cssVars/declarations/onlyVariables.css +6 -3
  536. package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
  537. package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +378 -0
  538. package/themes/vkCom/cssVars/theme/fallbacks/index.css +8 -5
  539. package/themes/vkCom/cssVars/theme/fallbacks/index.less +6 -3
  540. package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +6 -3
  541. package/themes/vkCom/cssVars/theme/fallbacks/index.scss +7 -4
  542. package/themes/vkCom/cssVars/theme/fallbacks/index.styl +6 -3
  543. package/themes/vkCom/cssVars/theme/index.js +27 -3
  544. package/themes/vkCom/cssVars/theme/index.json +27 -3
  545. package/themes/vkCom/index.css +8 -5
  546. package/themes/vkCom/index.js +10 -3
  547. package/themes/vkCom/index.json +10 -3
  548. package/themes/vkCom/index.less +6 -3
  549. package/themes/vkCom/index.pcss +6 -3
  550. package/themes/vkCom/index.scss +7 -4
  551. package/themes/vkCom/index.styl +6 -3
  552. package/themes/vkComDark/cssVars/declarations/index.css +670 -0
  553. package/themes/vkComDark/cssVars/declarations/noColors.css +332 -0
  554. package/themes/vkComDark/cssVars/declarations/noSizes.css +249 -0
  555. package/themes/vkComDark/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
  556. package/themes/vkComDark/cssVars/declarations/onlyColors.css +236 -0
  557. package/themes/vkComDark/cssVars/declarations/onlyColors.d.ts +3 -0
  558. package/themes/vkComDark/cssVars/declarations/onlyColors.js +11 -0
  559. package/themes/vkComDark/cssVars/declarations/onlyVariables.css +378 -0
  560. package/themes/vkComDark/cssVars/declarations/onlyVariables.d.ts +3 -0
  561. package/themes/vkComDark/cssVars/declarations/onlyVariables.js +11 -0
  562. package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
  563. package/themes/vkComDark/cssVars/theme/fallbacks/index.css +567 -0
  564. package/themes/vkComDark/cssVars/theme/fallbacks/index.less +410 -0
  565. package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +411 -0
  566. package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +526 -0
  567. package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +410 -0
  568. package/themes/vkComDark/cssVars/theme/index.d.ts +4 -0
  569. package/themes/vkComDark/cssVars/theme/index.js +2270 -0
  570. package/themes/vkComDark/cssVars/theme/index.json +2267 -0
  571. package/themes/vkComDark/index.css +567 -0
  572. package/themes/vkComDark/index.d.ts +4 -0
  573. package/themes/vkComDark/index.js +670 -0
  574. package/themes/vkComDark/index.json +667 -0
  575. package/themes/vkComDark/index.less +410 -0
  576. package/themes/vkComDark/index.pcss +411 -0
  577. package/themes/vkComDark/index.scss +526 -0
  578. package/themes/vkComDark/index.styl +410 -0
  579. package/themes/vkIOS/cssVars/declarations/index.css +8 -5
  580. package/themes/vkIOS/cssVars/declarations/noColors.css +332 -0
  581. package/themes/vkIOS/cssVars/declarations/noSizes.css +1 -0
  582. package/themes/vkIOS/cssVars/declarations/onlyVariables.css +6 -3
  583. package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
  584. package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +378 -0
  585. package/themes/vkIOS/cssVars/theme/fallbacks/index.css +8 -5
  586. package/themes/vkIOS/cssVars/theme/fallbacks/index.less +6 -3
  587. package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +6 -3
  588. package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +7 -4
  589. package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +6 -3
  590. package/themes/vkIOS/cssVars/theme/index.js +27 -3
  591. package/themes/vkIOS/cssVars/theme/index.json +27 -3
  592. package/themes/vkIOS/index.css +8 -5
  593. package/themes/vkIOS/index.js +9 -2
  594. package/themes/vkIOS/index.json +9 -2
  595. package/themes/vkIOS/index.less +6 -3
  596. package/themes/vkIOS/index.pcss +6 -3
  597. package/themes/vkIOS/index.scss +7 -4
  598. package/themes/vkIOS/index.styl +6 -3
  599. package/themes/vkIOSDark/cssVars/declarations/index.css +670 -0
  600. package/themes/vkIOSDark/cssVars/declarations/noColors.css +332 -0
  601. package/themes/vkIOSDark/cssVars/declarations/noSizes.css +249 -0
  602. package/themes/vkIOSDark/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
  603. package/themes/vkIOSDark/cssVars/declarations/onlyColors.css +236 -0
  604. package/themes/vkIOSDark/cssVars/declarations/onlyColors.d.ts +3 -0
  605. package/themes/vkIOSDark/cssVars/declarations/onlyColors.js +11 -0
  606. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +378 -0
  607. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.d.ts +3 -0
  608. package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +11 -0
  609. package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
  610. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +567 -0
  611. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +410 -0
  612. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +411 -0
  613. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +526 -0
  614. package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +410 -0
  615. package/themes/vkIOSDark/cssVars/theme/index.d.ts +4 -0
  616. package/themes/vkIOSDark/cssVars/theme/index.js +2270 -0
  617. package/themes/vkIOSDark/cssVars/theme/index.json +2267 -0
  618. package/themes/vkIOSDark/index.css +567 -0
  619. package/themes/vkIOSDark/index.d.ts +4 -0
  620. package/themes/vkIOSDark/index.js +670 -0
  621. package/themes/vkIOSDark/index.json +667 -0
  622. package/themes/vkIOSDark/index.less +410 -0
  623. package/themes/vkIOSDark/index.pcss +411 -0
  624. package/themes/vkIOSDark/index.scss +526 -0
  625. package/themes/vkIOSDark/index.styl +410 -0
@@ -2,8 +2,8 @@ import { PixelifyTheme, SpecialTokens, Theme, ThemeCssVarsWide } from '../../int
2
2
  declare type ThemeBuildType = 'root' | 'subtheme' | 'flat' | 'cssVars' | 'cssVarsPseudoRoot';
3
3
  declare function writeJsonFile<T = Theme>(themePath: string, theme: T, _?: ThemeBuildType): void;
4
4
  declare function writeTsFile<T extends SpecialTokens = Theme>(themePath: string, theme: T, type: ThemeBuildType, themeName?: string): void;
5
- declare function writeStyleFiles<PT = PixelifyTheme>(themePath: string, theme: PT): void;
6
- declare function writeCssVarsSourceFile<PT = PixelifyTheme>(themePath: string, theme: PT, cssWarsTheme: any): void;
5
+ declare function writeStyleFiles<PT extends PixelifyTheme = PixelifyTheme>(themePath: string, theme: PT): void;
6
+ declare function writeCssVarsSourceFile<PT extends PixelifyTheme = PixelifyTheme>(themePath: string, theme: PT, cssWarsTheme: any): void;
7
7
  declare function writeCssVarsSourceMediaFile<T = ThemeCssVarsWide>(themePath: string, theme: T): void;
8
8
  declare function writeCssVarsJsUtils<T = Theme>(themePath: string, theme: ThemeCssVarsWide<T>): void;
9
9
  export { writeCssVarsJsUtils, writeCssVarsSourceFile, writeCssVarsSourceMediaFile, writeJsonFile, writeStyleFiles, writeTsFile, };
@@ -70,9 +70,11 @@ function writeCssVarsSourceFile(themePath, theme, cssWarsTheme) {
70
70
  [
71
71
  { mode: 'default', fileName: 'index.css' },
72
72
  { mode: 'onlyVariables', fileName: 'onlyVariables.css' },
73
+ { mode: 'onlyVariablesLocal', fileName: 'onlyVariablesLocal.css' },
73
74
  { mode: 'onlyColors', fileName: 'onlyColors.css' },
74
75
  { mode: 'onlyAdaptiveGroups', fileName: 'onlyAdaptiveGroups.css' },
75
76
  { mode: 'noSizes', fileName: 'noSizes.css' },
77
+ { mode: 'noColors', fileName: 'noColors.css' },
76
78
  ].forEach(function (_a) {
77
79
  var _b;
78
80
  var mode = _a.mode, fileName = _a.fileName;
@@ -2,8 +2,10 @@ import 'css.escape';
2
2
  import { PixelifyTheme } from '../../../interfaces/general';
3
3
  import { Formats } from './helpers/tokenProcessors';
4
4
  export declare const serviceKeys: string[];
5
- export declare type CompileStylesMode = 'default' | 'onlyVariables' | 'onlyColors' | 'withAdaptiveGroups' | 'onlyAdaptiveGroups' | 'noSizes';
5
+ export declare type CompileStylesMode = 'default' | 'onlyVariables' | 'onlyVariablesLocal' | 'onlyColors' | 'withAdaptiveGroups' | 'onlyAdaptiveGroups' | 'noSizes' | 'noColors';
6
+ export declare function getPrefix<PT extends PixelifyTheme>(format: Formats, theme: PT): string;
7
+ export declare function getRootSelector<PT extends PixelifyTheme>(theme: PT, mode: CompileStylesMode): string;
6
8
  /**
7
9
  * Компиллирует строку со стилями (в разных форматах), на основе темы
8
10
  */
9
- export declare const compileStyles: <PT = PixelifyTheme<import("../../../interfaces/general").Theme>>(format: Formats, theme: PT, mode?: CompileStylesMode) => string;
11
+ export declare const compileStyles: <PT extends PixelifyTheme<import("../../../interfaces/general").Theme> = PixelifyTheme<import("../../../interfaces/general").Theme>>(format: Formats, theme: PT, mode?: CompileStylesMode) => string;
@@ -4,28 +4,46 @@ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cook
4
4
  return cooked;
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
- exports.compileStyles = exports.serviceKeys = void 0;
7
+ exports.compileStyles = exports.getRootSelector = exports.getPrefix = exports.serviceKeys = void 0;
8
8
  require("css.escape");
9
9
  var common_tags_1 = require("common-tags");
10
+ var getAllButColors_1 = require("../../helpers/getAllButColors");
10
11
  var getAllButSizes_1 = require("../../helpers/getAllButSizes");
11
12
  var getOnlyColors_1 = require("../../helpers/getOnlyColors");
12
13
  var unCamelcasify_1 = require("../../helpers/unCamelcasify");
13
14
  var tokenProcessors_1 = require("./helpers/tokenProcessors");
14
15
  var tokenRecognition_1 = require("./helpers/tokenRecognition");
15
16
  exports.serviceKeys = ['breakpoints', 'prefix', 'themeType'];
16
- /**
17
- * Компиллирует строку со стилями разных форматах), на основе темы
18
- */
19
- var compileStyles = function (format, theme, mode) {
20
- if (mode === void 0) { mode = 'default'; }
21
- var classicCssType = format === tokenProcessors_1.EStyleTypes.CSS || format === tokenProcessors_1.EStyleTypes.PCSS;
17
+ function isClassicCssType(format) {
18
+ return format === tokenProcessors_1.EStyleTypes.CSS || format === tokenProcessors_1.EStyleTypes.PCSS;
19
+ }
20
+ function getPrefix(format, theme) {
22
21
  var prefix = theme.prefix ? theme.prefix + "-" : '';
23
- if (classicCssType && prefix) {
22
+ if (isClassicCssType(format) && prefix) {
24
23
  prefix += '-';
25
24
  }
26
25
  if (format === tokenProcessors_1.EStyleTypes.CSS && !prefix) {
27
26
  prefix = 'vkui--';
28
27
  }
28
+ return prefix;
29
+ }
30
+ exports.getPrefix = getPrefix;
31
+ function getRootSelector(theme, mode) {
32
+ var _a;
33
+ if (!mode.endsWith('Local')) {
34
+ return ':root';
35
+ }
36
+ return "." + getPrefix(tokenProcessors_1.EStyleTypes.CSS, theme) + ((_a = theme.themeNameBase) !== null && _a !== void 0 ? _a : theme.themeName) + "--" + theme.colorsScheme;
37
+ }
38
+ exports.getRootSelector = getRootSelector;
39
+ /**
40
+ * Компиллирует строку со стилями (в разных форматах), на основе темы
41
+ */
42
+ var compileStyles = function (format, theme, mode) {
43
+ if (mode === void 0) { mode = 'default'; }
44
+ var classicCssType = isClassicCssType(format);
45
+ var prefix = getPrefix(format, theme);
46
+ var rootSelector = getRootSelector(theme, mode);
29
47
  var getDeclaration = tokenProcessors_1.varDeclarations[format];
30
48
  var getVariableStatement = tokenProcessors_1.variablesStatementDeclaration[format];
31
49
  var getCustomMediaDeclaration = tokenProcessors_1.customMediaDeclaration[format];
@@ -39,6 +57,9 @@ var compileStyles = function (format, theme, mode) {
39
57
  case 'noSizes':
40
58
  theme = getAllButSizes_1.getAllButSizes(theme, theme.themeNameBase);
41
59
  break;
60
+ case 'noColors':
61
+ theme = getAllButColors_1.getAllButColors(theme, theme.themeNameBase);
62
+ break;
42
63
  }
43
64
  Object.keys(theme).forEach(function (key) {
44
65
  // пропускаем служебные ключи
@@ -91,9 +112,9 @@ var compileStyles = function (format, theme, mode) {
91
112
  });
92
113
  result = variables;
93
114
  if (classicCssType && variables) {
94
- result = common_tags_1.stripIndent(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t\t:root {\n\t\t", "}\n\t\t"], ["\n\t\t:root {\n\t\t", "}\n\t\t"])), variables.split('\n').join('\n\t\t'));
115
+ result = common_tags_1.stripIndent(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\t\t", " {\n\t\t", "}\n\t\t"], ["\n\t\t", " {\n\t\t", "}\n\t\t"])), rootSelector, variables.split('\n').join('\n\t\t'));
95
116
  }
96
- if (mode === 'onlyVariables') {
117
+ if (mode === 'onlyVariables' || mode === 'onlyVariablesLocal') {
97
118
  return common_tags_1.stripIndent(result);
98
119
  }
99
120
  if (mode === 'onlyAdaptiveGroups') {