@vkontakte/vkui-tokens 4.0.0 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +108 -42
- package/build/compilers/index.d.ts +2 -2
- package/build/compilers/index.js +2 -0
- package/build/compilers/styles/compileStyles.d.ts +4 -2
- package/build/compilers/styles/compileStyles.js +31 -10
- package/build/compilers/styles/compileStyles.test.js +265 -196
- package/build/helpers/getAllButColors.d.ts +1 -0
- package/build/helpers/getAllButColors.js +17 -0
- package/build/helpers/getAllButColors.test.d.ts +1 -0
- package/build/helpers/getAllButColors.test.js +26 -0
- package/interfaces/general/geometry/index.d.ts +4 -0
- package/interfaces/general/index.d.ts +4 -0
- package/interfaces/themes/vkComDark/index.d.ts +1 -0
- package/interfaces/themes/vkComDark/index.js +2 -0
- package/interfaces/themes/vkIOSDark/index.d.ts +1 -0
- package/interfaces/themes/vkIOSDark/index.js +2 -0
- package/package.json +1 -1
- package/themeDescriptions/base/paradigm.js +11 -1
- package/themeDescriptions/base/vk.js +96 -98
- package/themes/calendar/cssVars/declarations/index.css +9 -0
- package/themes/calendar/cssVars/declarations/noColors.css +574 -0
- package/themes/calendar/cssVars/declarations/noSizes.css +1 -0
- package/themes/calendar/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/calendar/cssVars/declarations/onlyVariables.css +5 -0
- package/themes/calendar/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/calendar/cssVars/declarations/onlyVariablesLocal.css +520 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.css +5 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.less +5 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.pcss +5 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.scss +5 -0
- package/themes/calendar/cssVars/theme/fallbacks/index.styl +5 -0
- package/themes/calendar/cssVars/theme/index.js +44 -0
- package/themes/calendar/cssVars/theme/index.json +44 -0
- package/themes/calendar/index.css +5 -0
- package/themes/calendar/index.js +13 -0
- package/themes/calendar/index.json +13 -0
- package/themes/calendar/index.less +5 -0
- package/themes/calendar/index.pcss +5 -0
- package/themes/calendar/index.scss +5 -0
- package/themes/calendar/index.styl +5 -0
- package/themes/calendarDark/cssVars/declarations/index.css +9 -0
- package/themes/calendarDark/cssVars/declarations/noColors.css +574 -0
- package/themes/calendarDark/cssVars/declarations/noSizes.css +1 -0
- package/themes/calendarDark/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/calendarDark/cssVars/declarations/onlyVariables.css +5 -0
- package/themes/calendarDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/calendarDark/cssVars/declarations/onlyVariablesLocal.css +520 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.css +5 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.less +5 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.pcss +5 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.scss +5 -0
- package/themes/calendarDark/cssVars/theme/fallbacks/index.styl +5 -0
- package/themes/calendarDark/cssVars/theme/index.js +44 -0
- package/themes/calendarDark/cssVars/theme/index.json +44 -0
- package/themes/calendarDark/index.css +5 -0
- package/themes/calendarDark/index.js +13 -0
- package/themes/calendarDark/index.json +13 -0
- package/themes/calendarDark/index.less +5 -0
- package/themes/calendarDark/index.pcss +5 -0
- package/themes/calendarDark/index.scss +5 -0
- package/themes/calendarDark/index.styl +5 -0
- package/themes/calls/cssVars/declarations/index.css +13 -4
- package/themes/calls/cssVars/declarations/noColors.css +427 -0
- package/themes/calls/cssVars/declarations/noSizes.css +1 -0
- package/themes/calls/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/calls/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/calls/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/calls/cssVars/declarations/onlyVariablesLocal.css +477 -0
- package/themes/calls/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/calls/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/calls/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/calls/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/calls/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/calls/cssVars/theme/index.js +45 -1
- package/themes/calls/cssVars/theme/index.json +45 -1
- package/themes/calls/index.css +8 -3
- package/themes/calls/index.js +14 -1
- package/themes/calls/index.json +14 -1
- package/themes/calls/index.less +6 -1
- package/themes/calls/index.pcss +6 -1
- package/themes/calls/index.scss +7 -2
- package/themes/calls/index.styl +6 -1
- package/themes/cloud/cssVars/declarations/index.css +9 -0
- package/themes/cloud/cssVars/declarations/noColors.css +510 -0
- package/themes/cloud/cssVars/declarations/noSizes.css +1 -0
- package/themes/cloud/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/cloud/cssVars/declarations/onlyVariables.css +5 -0
- package/themes/cloud/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/cloud/cssVars/declarations/onlyVariablesLocal.css +500 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.css +5 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.less +5 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.pcss +5 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.scss +5 -0
- package/themes/cloud/cssVars/theme/fallbacks/index.styl +5 -0
- package/themes/cloud/cssVars/theme/index.js +44 -0
- package/themes/cloud/cssVars/theme/index.json +44 -0
- package/themes/cloud/index.css +5 -0
- package/themes/cloud/index.js +13 -0
- package/themes/cloud/index.json +13 -0
- package/themes/cloud/index.less +5 -0
- package/themes/cloud/index.pcss +5 -0
- package/themes/cloud/index.scss +5 -0
- package/themes/cloud/index.styl +5 -0
- package/themes/home/cssVars/declarations/index.css +13 -4
- package/themes/home/cssVars/declarations/noColors.css +452 -0
- package/themes/home/cssVars/declarations/noSizes.css +1 -3
- package/themes/home/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/home/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/home/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/home/cssVars/declarations/onlyVariablesLocal.css +497 -0
- package/themes/home/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/home/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/home/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/home/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/home/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/home/cssVars/theme/index.js +45 -1
- package/themes/home/cssVars/theme/index.json +45 -1
- package/themes/home/index.css +8 -3
- package/themes/home/index.js +14 -1
- package/themes/home/index.json +14 -1
- package/themes/home/index.less +6 -1
- package/themes/home/index.pcss +6 -1
- package/themes/home/index.scss +7 -2
- package/themes/home/index.styl +6 -1
- package/themes/homeDark/cssVars/declarations/index.css +12 -4
- package/themes/homeDark/cssVars/declarations/noColors.css +466 -0
- package/themes/homeDark/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/homeDark/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/homeDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/homeDark/cssVars/declarations/onlyVariablesLocal.css +496 -0
- package/themes/homeDark/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/homeDark/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/homeDark/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/homeDark/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/homeDark/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/homeDark/cssVars/theme/index.js +41 -1
- package/themes/homeDark/cssVars/theme/index.json +41 -1
- package/themes/homeDark/index.css +7 -3
- package/themes/homeDark/index.js +13 -1
- package/themes/homeDark/index.json +13 -1
- package/themes/homeDark/index.less +5 -1
- package/themes/homeDark/index.pcss +5 -1
- package/themes/homeDark/index.scss +6 -2
- package/themes/homeDark/index.styl +5 -1
- package/themes/media/cssVars/declarations/index.css +14 -5
- package/themes/media/cssVars/declarations/noColors.css +638 -0
- package/themes/media/cssVars/declarations/noSizes.css +1 -0
- package/themes/media/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/media/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/media/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/media/cssVars/declarations/onlyVariablesLocal.css +625 -0
- package/themes/media/cssVars/theme/fallbacks/index.css +10 -5
- package/themes/media/cssVars/theme/fallbacks/index.less +7 -2
- package/themes/media/cssVars/theme/fallbacks/index.pcss +7 -2
- package/themes/media/cssVars/theme/fallbacks/index.scss +10 -5
- package/themes/media/cssVars/theme/fallbacks/index.styl +7 -2
- package/themes/media/cssVars/theme/index.js +45 -1
- package/themes/media/cssVars/theme/index.json +45 -1
- package/themes/media/index.css +10 -5
- package/themes/media/index.js +14 -1
- package/themes/media/index.json +14 -1
- package/themes/media/index.less +7 -2
- package/themes/media/index.pcss +7 -2
- package/themes/media/index.scss +10 -5
- package/themes/media/index.styl +7 -2
- package/themes/mediaDark/cssVars/declarations/index.css +14 -5
- package/themes/mediaDark/cssVars/declarations/noColors.css +638 -0
- package/themes/mediaDark/cssVars/declarations/noSizes.css +1 -0
- package/themes/mediaDark/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/mediaDark/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/mediaDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/mediaDark/cssVars/declarations/onlyVariablesLocal.css +625 -0
- package/themes/mediaDark/cssVars/theme/fallbacks/index.css +10 -5
- package/themes/mediaDark/cssVars/theme/fallbacks/index.less +7 -2
- package/themes/mediaDark/cssVars/theme/fallbacks/index.pcss +7 -2
- package/themes/mediaDark/cssVars/theme/fallbacks/index.scss +10 -5
- package/themes/mediaDark/cssVars/theme/fallbacks/index.styl +7 -2
- package/themes/mediaDark/cssVars/theme/index.js +45 -1
- package/themes/mediaDark/cssVars/theme/index.json +45 -1
- package/themes/mediaDark/index.css +10 -5
- package/themes/mediaDark/index.js +14 -1
- package/themes/mediaDark/index.json +14 -1
- package/themes/mediaDark/index.less +7 -2
- package/themes/mediaDark/index.pcss +7 -2
- package/themes/mediaDark/index.scss +10 -5
- package/themes/mediaDark/index.styl +7 -2
- package/themes/mycom/cssVars/declarations/index.css +14 -5
- package/themes/mycom/cssVars/declarations/noColors.css +637 -0
- package/themes/mycom/cssVars/declarations/noSizes.css +1 -0
- package/themes/mycom/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/mycom/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/mycom/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/mycom/cssVars/declarations/onlyVariablesLocal.css +627 -0
- package/themes/mycom/cssVars/theme/fallbacks/index.css +10 -5
- package/themes/mycom/cssVars/theme/fallbacks/index.less +7 -2
- package/themes/mycom/cssVars/theme/fallbacks/index.pcss +7 -2
- package/themes/mycom/cssVars/theme/fallbacks/index.scss +10 -5
- package/themes/mycom/cssVars/theme/fallbacks/index.styl +7 -2
- package/themes/mycom/cssVars/theme/index.js +45 -1
- package/themes/mycom/cssVars/theme/index.json +45 -1
- package/themes/mycom/index.css +10 -5
- package/themes/mycom/index.js +14 -1
- package/themes/mycom/index.json +14 -1
- package/themes/mycom/index.less +7 -2
- package/themes/mycom/index.pcss +7 -2
- package/themes/mycom/index.scss +10 -5
- package/themes/mycom/index.styl +7 -2
- package/themes/octavius/cssVars/declarations/index.css +12 -4
- package/themes/octavius/cssVars/declarations/noColors.css +474 -0
- package/themes/octavius/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/octavius/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/octavius/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octavius/cssVars/declarations/onlyVariablesLocal.css +841 -0
- package/themes/octavius/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/octavius/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/octavius/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/octavius/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/octavius/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/octavius/cssVars/theme/index.js +41 -1
- package/themes/octavius/cssVars/theme/index.json +41 -1
- package/themes/octavius/index.css +7 -3
- package/themes/octavius/index.js +13 -1
- package/themes/octavius/index.json +13 -1
- package/themes/octavius/index.less +5 -1
- package/themes/octavius/index.pcss +5 -1
- package/themes/octavius/index.scss +6 -2
- package/themes/octavius/index.styl +5 -1
- package/themes/octaviusCompact/cssVars/declarations/index.css +12 -4
- package/themes/octaviusCompact/cssVars/declarations/noColors.css +475 -0
- package/themes/octaviusCompact/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/octaviusCompact/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusCompact/cssVars/declarations/onlyVariablesLocal.css +842 -0
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/octaviusCompact/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/octaviusCompact/cssVars/theme/index.js +41 -1
- package/themes/octaviusCompact/cssVars/theme/index.json +41 -1
- package/themes/octaviusCompact/index.css +7 -3
- package/themes/octaviusCompact/index.js +13 -1
- package/themes/octaviusCompact/index.json +13 -1
- package/themes/octaviusCompact/index.less +5 -1
- package/themes/octaviusCompact/index.pcss +5 -1
- package/themes/octaviusCompact/index.scss +6 -2
- package/themes/octaviusCompact/index.styl +5 -1
- package/themes/octaviusCompactDark/cssVars/declarations/index.css +12 -4
- package/themes/octaviusCompactDark/cssVars/declarations/noColors.css +475 -0
- package/themes/octaviusCompactDark/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusCompactDark/cssVars/declarations/onlyVariablesLocal.css +842 -0
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/octaviusCompactDark/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/octaviusCompactDark/cssVars/theme/index.js +41 -1
- package/themes/octaviusCompactDark/cssVars/theme/index.json +41 -1
- package/themes/octaviusCompactDark/index.css +7 -3
- package/themes/octaviusCompactDark/index.js +13 -1
- package/themes/octaviusCompactDark/index.json +13 -1
- package/themes/octaviusCompactDark/index.less +5 -1
- package/themes/octaviusCompactDark/index.pcss +5 -1
- package/themes/octaviusCompactDark/index.scss +6 -2
- package/themes/octaviusCompactDark/index.styl +5 -1
- package/themes/octaviusDark/cssVars/declarations/index.css +12 -4
- package/themes/octaviusDark/cssVars/declarations/noColors.css +474 -0
- package/themes/octaviusDark/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/octaviusDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusDark/cssVars/declarations/onlyVariablesLocal.css +841 -0
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/octaviusDark/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/octaviusDark/cssVars/theme/index.js +41 -1
- package/themes/octaviusDark/cssVars/theme/index.json +41 -1
- package/themes/octaviusDark/index.css +7 -3
- package/themes/octaviusDark/index.js +13 -1
- package/themes/octaviusDark/index.json +13 -1
- package/themes/octaviusDark/index.less +5 -1
- package/themes/octaviusDark/index.pcss +5 -1
- package/themes/octaviusDark/index.scss +6 -2
- package/themes/octaviusDark/index.styl +5 -1
- package/themes/octaviusVK/cssVars/declarations/index.css +59 -51
- package/themes/octaviusVK/cssVars/declarations/noColors.css +519 -0
- package/themes/octaviusVK/cssVars/declarations/noSizes.css +51 -51
- package/themes/octaviusVK/cssVars/declarations/onlyColors.css +51 -51
- package/themes/octaviusVK/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusVK/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.css +55 -51
- package/themes/octaviusVK/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusVK/cssVars/declarations/onlyVariablesLocal.css +854 -0
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.css +55 -51
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.less +55 -51
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.pcss +55 -51
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.scss +55 -51
- package/themes/octaviusVK/cssVars/theme/fallbacks/index.styl +55 -51
- package/themes/octaviusVK/cssVars/theme/index.js +91 -51
- package/themes/octaviusVK/cssVars/theme/index.json +91 -51
- package/themes/octaviusVK/index.css +55 -51
- package/themes/octaviusVK/index.js +63 -51
- package/themes/octaviusVK/index.json +63 -51
- package/themes/octaviusVK/index.less +55 -51
- package/themes/octaviusVK/index.pcss +55 -51
- package/themes/octaviusVK/index.scss +55 -51
- package/themes/octaviusVK/index.styl +55 -51
- package/themes/octaviusVKDark/cssVars/declarations/index.css +51 -43
- package/themes/octaviusVKDark/cssVars/declarations/noColors.css +519 -0
- package/themes/octaviusVKDark/cssVars/declarations/noSizes.css +43 -43
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.css +43 -43
- package/themes/octaviusVKDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/octaviusVKDark/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.css +47 -43
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusVKDark/cssVars/declarations/onlyVariablesLocal.css +854 -0
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.css +47 -43
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.less +47 -43
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.pcss +47 -43
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.scss +47 -43
- package/themes/octaviusVKDark/cssVars/theme/fallbacks/index.styl +47 -43
- package/themes/octaviusVKDark/cssVars/theme/index.js +83 -43
- package/themes/octaviusVKDark/cssVars/theme/index.json +83 -43
- package/themes/octaviusVKDark/index.css +47 -43
- package/themes/octaviusVKDark/index.js +55 -43
- package/themes/octaviusVKDark/index.json +55 -43
- package/themes/octaviusVKDark/index.less +47 -43
- package/themes/octaviusVKDark/index.pcss +47 -43
- package/themes/octaviusVKDark/index.scss +47 -43
- package/themes/octaviusVKDark/index.styl +47 -43
- package/themes/octaviusWhite/cssVars/declarations/index.css +12 -4
- package/themes/octaviusWhite/cssVars/declarations/noColors.css +474 -0
- package/themes/octaviusWhite/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/octaviusWhite/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/octaviusWhite/cssVars/declarations/onlyVariablesLocal.css +841 -0
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/octaviusWhite/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/octaviusWhite/cssVars/theme/index.js +41 -1
- package/themes/octaviusWhite/cssVars/theme/index.json +41 -1
- package/themes/octaviusWhite/index.css +7 -3
- package/themes/octaviusWhite/index.js +13 -1
- package/themes/octaviusWhite/index.json +13 -1
- package/themes/octaviusWhite/index.less +5 -1
- package/themes/octaviusWhite/index.pcss +5 -1
- package/themes/octaviusWhite/index.scss +6 -2
- package/themes/octaviusWhite/index.styl +5 -1
- package/themes/otvet/cssVars/declarations/index.css +13 -4
- package/themes/otvet/cssVars/declarations/noColors.css +413 -0
- package/themes/otvet/cssVars/declarations/noSizes.css +1 -0
- package/themes/otvet/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/otvet/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/otvet/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/otvet/cssVars/declarations/onlyVariablesLocal.css +463 -0
- package/themes/otvet/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/otvet/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/otvet/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/otvet/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/otvet/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/otvet/cssVars/theme/index.js +45 -1
- package/themes/otvet/cssVars/theme/index.json +45 -1
- package/themes/otvet/index.css +8 -3
- package/themes/otvet/index.js +14 -1
- package/themes/otvet/index.json +14 -1
- package/themes/otvet/index.less +6 -1
- package/themes/otvet/index.pcss +6 -1
- package/themes/otvet/index.scss +7 -2
- package/themes/otvet/index.styl +6 -1
- package/themes/otvetDark/cssVars/declarations/index.css +13 -4
- package/themes/otvetDark/cssVars/declarations/noColors.css +413 -0
- package/themes/otvetDark/cssVars/declarations/noSizes.css +1 -0
- package/themes/otvetDark/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/otvetDark/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/otvetDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/otvetDark/cssVars/declarations/onlyVariablesLocal.css +463 -0
- package/themes/otvetDark/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/otvetDark/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/otvetDark/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/otvetDark/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/otvetDark/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/otvetDark/cssVars/theme/index.js +45 -1
- package/themes/otvetDark/cssVars/theme/index.json +45 -1
- package/themes/otvetDark/index.css +8 -3
- package/themes/otvetDark/index.js +14 -1
- package/themes/otvetDark/index.json +14 -1
- package/themes/otvetDark/index.less +6 -1
- package/themes/otvetDark/index.pcss +6 -1
- package/themes/otvetDark/index.scss +7 -2
- package/themes/otvetDark/index.styl +6 -1
- package/themes/paradigmBase/cssVars/declarations/index.css +12 -4
- package/themes/paradigmBase/cssVars/declarations/noColors.css +448 -0
- package/themes/paradigmBase/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/paradigmBase/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/paradigmBase/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/paradigmBase/cssVars/declarations/onlyVariablesLocal.css +478 -0
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/paradigmBase/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/paradigmBase/cssVars/theme/index.js +41 -1
- package/themes/paradigmBase/cssVars/theme/index.json +41 -1
- package/themes/paradigmBase/index.css +7 -3
- package/themes/paradigmBase/index.js +13 -1
- package/themes/paradigmBase/index.json +13 -1
- package/themes/paradigmBase/index.less +5 -1
- package/themes/paradigmBase/index.pcss +5 -1
- package/themes/paradigmBase/index.scss +6 -2
- package/themes/paradigmBase/index.styl +5 -1
- package/themes/paradigmBaseDark/cssVars/declarations/index.css +12 -4
- package/themes/paradigmBaseDark/cssVars/declarations/noColors.css +448 -0
- package/themes/paradigmBaseDark/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.css +5 -1
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/paradigmBaseDark/cssVars/declarations/onlyVariablesLocal.css +478 -0
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.css +7 -3
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.less +5 -1
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.pcss +5 -1
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.scss +6 -2
- package/themes/paradigmBaseDark/cssVars/theme/fallbacks/index.styl +5 -1
- package/themes/paradigmBaseDark/cssVars/theme/index.js +41 -1
- package/themes/paradigmBaseDark/cssVars/theme/index.json +41 -1
- package/themes/paradigmBaseDark/index.css +7 -3
- package/themes/paradigmBaseDark/index.js +13 -1
- package/themes/paradigmBaseDark/index.json +13 -1
- package/themes/paradigmBaseDark/index.less +5 -1
- package/themes/paradigmBaseDark/index.pcss +5 -1
- package/themes/paradigmBaseDark/index.scss +6 -2
- package/themes/paradigmBaseDark/index.styl +5 -1
- package/themes/pharma/cssVars/declarations/index.css +14 -5
- package/themes/pharma/cssVars/declarations/noColors.css +638 -0
- package/themes/pharma/cssVars/declarations/noSizes.css +1 -0
- package/themes/pharma/cssVars/declarations/onlyMedia.css +4 -0
- package/themes/pharma/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/pharma/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/pharma/cssVars/declarations/onlyVariablesLocal.css +628 -0
- package/themes/pharma/cssVars/theme/fallbacks/index.css +10 -5
- package/themes/pharma/cssVars/theme/fallbacks/index.less +7 -2
- package/themes/pharma/cssVars/theme/fallbacks/index.pcss +7 -2
- package/themes/pharma/cssVars/theme/fallbacks/index.scss +10 -5
- package/themes/pharma/cssVars/theme/fallbacks/index.styl +7 -2
- package/themes/pharma/cssVars/theme/index.js +45 -1
- package/themes/pharma/cssVars/theme/index.json +45 -1
- package/themes/pharma/index.css +10 -5
- package/themes/pharma/index.js +14 -1
- package/themes/pharma/index.json +14 -1
- package/themes/pharma/index.less +7 -2
- package/themes/pharma/index.pcss +7 -2
- package/themes/pharma/index.scss +10 -5
- package/themes/pharma/index.styl +7 -2
- package/themes/promo/cssVars/declarations/index.css +13 -4
- package/themes/promo/cssVars/declarations/noColors.css +732 -0
- package/themes/promo/cssVars/declarations/noSizes.css +1 -0
- package/themes/promo/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/promo/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/promo/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/promo/cssVars/declarations/onlyVariablesLocal.css +636 -0
- package/themes/promo/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/promo/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/promo/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/promo/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/promo/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/promo/cssVars/theme/index.js +45 -1
- package/themes/promo/cssVars/theme/index.json +45 -1
- package/themes/promo/index.css +8 -3
- package/themes/promo/index.js +14 -1
- package/themes/promo/index.json +14 -1
- package/themes/promo/index.less +6 -1
- package/themes/promo/index.pcss +6 -1
- package/themes/promo/index.scss +7 -2
- package/themes/promo/index.styl +6 -1
- package/themes/todo/cssVars/declarations/index.css +13 -4
- package/themes/todo/cssVars/declarations/noColors.css +449 -0
- package/themes/todo/cssVars/declarations/noSizes.css +1 -0
- package/themes/todo/cssVars/declarations/onlyMedia.css +5 -1
- package/themes/todo/cssVars/declarations/onlyVariables.css +6 -1
- package/themes/todo/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/todo/cssVars/declarations/onlyVariablesLocal.css +479 -0
- package/themes/todo/cssVars/theme/fallbacks/index.css +8 -3
- package/themes/todo/cssVars/theme/fallbacks/index.less +6 -1
- package/themes/todo/cssVars/theme/fallbacks/index.pcss +6 -1
- package/themes/todo/cssVars/theme/fallbacks/index.scss +7 -2
- package/themes/todo/cssVars/theme/fallbacks/index.styl +6 -1
- package/themes/todo/cssVars/theme/index.js +45 -1
- package/themes/todo/cssVars/theme/index.json +45 -1
- package/themes/todo/index.css +8 -3
- package/themes/todo/index.js +14 -1
- package/themes/todo/index.json +14 -1
- package/themes/todo/index.less +6 -1
- package/themes/todo/index.pcss +6 -1
- package/themes/todo/index.scss +7 -2
- package/themes/todo/index.styl +6 -1
- package/themes/vkBase/cssVars/declarations/index.css +132 -127
- package/themes/vkBase/cssVars/declarations/noColors.css +332 -0
- package/themes/vkBase/cssVars/declarations/noSizes.css +124 -123
- package/themes/vkBase/cssVars/declarations/onlyColors.css +123 -123
- package/themes/vkBase/cssVars/declarations/onlyColors.js +2 -2
- package/themes/vkBase/cssVars/declarations/onlyVariables.css +130 -125
- package/themes/vkBase/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkBase/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkBase/cssVars/theme/fallbacks/index.css +132 -127
- package/themes/vkBase/cssVars/theme/fallbacks/index.less +130 -125
- package/themes/vkBase/cssVars/theme/fallbacks/index.pcss +130 -125
- package/themes/vkBase/cssVars/theme/fallbacks/index.scss +131 -126
- package/themes/vkBase/cssVars/theme/fallbacks/index.styl +130 -125
- package/themes/vkBase/cssVars/theme/index.js +483 -439
- package/themes/vkBase/cssVars/theme/index.json +483 -439
- package/themes/vkBase/index.css +132 -127
- package/themes/vkBase/index.js +194 -181
- package/themes/vkBase/index.json +194 -181
- package/themes/vkBase/index.less +130 -125
- package/themes/vkBase/index.pcss +130 -125
- package/themes/vkBase/index.scss +131 -126
- package/themes/vkBase/index.styl +130 -125
- package/themes/vkBaseDark/cssVars/declarations/index.css +133 -128
- package/themes/vkBaseDark/cssVars/declarations/noColors.css +332 -0
- package/themes/vkBaseDark/cssVars/declarations/noSizes.css +125 -124
- package/themes/vkBaseDark/cssVars/declarations/onlyColors.css +124 -124
- package/themes/vkBaseDark/cssVars/declarations/onlyColors.js +2 -2
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.css +131 -126
- package/themes/vkBaseDark/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkBaseDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.css +133 -128
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.less +131 -126
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.pcss +131 -126
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.scss +132 -127
- package/themes/vkBaseDark/cssVars/theme/fallbacks/index.styl +131 -126
- package/themes/vkBaseDark/cssVars/theme/index.js +496 -452
- package/themes/vkBaseDark/cssVars/theme/index.json +496 -452
- package/themes/vkBaseDark/index.css +133 -128
- package/themes/vkBaseDark/index.js +204 -191
- package/themes/vkBaseDark/index.json +204 -191
- package/themes/vkBaseDark/index.less +131 -126
- package/themes/vkBaseDark/index.pcss +131 -126
- package/themes/vkBaseDark/index.scss +132 -127
- package/themes/vkBaseDark/index.styl +131 -126
- package/themes/vkCom/cssVars/declarations/index.css +133 -128
- package/themes/vkCom/cssVars/declarations/noColors.css +332 -0
- package/themes/vkCom/cssVars/declarations/noSizes.css +124 -123
- package/themes/vkCom/cssVars/declarations/onlyColors.css +123 -123
- package/themes/vkCom/cssVars/declarations/onlyColors.js +2 -2
- package/themes/vkCom/cssVars/declarations/onlyVariables.css +131 -126
- package/themes/vkCom/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkCom/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkCom/cssVars/theme/fallbacks/index.css +133 -128
- package/themes/vkCom/cssVars/theme/fallbacks/index.less +131 -126
- package/themes/vkCom/cssVars/theme/fallbacks/index.pcss +131 -126
- package/themes/vkCom/cssVars/theme/fallbacks/index.scss +132 -127
- package/themes/vkCom/cssVars/theme/fallbacks/index.styl +131 -126
- package/themes/vkCom/cssVars/theme/index.js +484 -440
- package/themes/vkCom/cssVars/theme/index.json +484 -440
- package/themes/vkCom/index.css +133 -128
- package/themes/vkCom/index.js +195 -182
- package/themes/vkCom/index.json +195 -182
- package/themes/vkCom/index.less +131 -126
- package/themes/vkCom/index.pcss +131 -126
- package/themes/vkCom/index.scss +132 -127
- package/themes/vkCom/index.styl +131 -126
- package/themes/vkComDark/cssVars/declarations/index.css +670 -0
- package/themes/vkComDark/cssVars/declarations/noColors.css +332 -0
- package/themes/vkComDark/cssVars/declarations/noSizes.css +249 -0
- package/themes/vkComDark/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkComDark/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkComDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkComDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkComDark/cssVars/declarations/onlyVariables.css +378 -0
- package/themes/vkComDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkComDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkComDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.css +567 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.less +410 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.pcss +411 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.scss +526 -0
- package/themes/vkComDark/cssVars/theme/fallbacks/index.styl +410 -0
- package/themes/vkComDark/cssVars/theme/index.d.ts +4 -0
- package/themes/vkComDark/cssVars/theme/index.js +2270 -0
- package/themes/vkComDark/cssVars/theme/index.json +2267 -0
- package/themes/vkComDark/index.css +567 -0
- package/themes/vkComDark/index.d.ts +4 -0
- package/themes/vkComDark/index.js +670 -0
- package/themes/vkComDark/index.json +667 -0
- package/themes/vkComDark/index.less +410 -0
- package/themes/vkComDark/index.pcss +411 -0
- package/themes/vkComDark/index.scss +526 -0
- package/themes/vkComDark/index.styl +410 -0
- package/themes/vkIOS/cssVars/declarations/index.css +132 -127
- package/themes/vkIOS/cssVars/declarations/noColors.css +332 -0
- package/themes/vkIOS/cssVars/declarations/noSizes.css +124 -123
- package/themes/vkIOS/cssVars/declarations/onlyColors.css +123 -123
- package/themes/vkIOS/cssVars/declarations/onlyColors.js +2 -2
- package/themes/vkIOS/cssVars/declarations/onlyVariables.css +130 -125
- package/themes/vkIOS/cssVars/declarations/onlyVariables.js +2 -2
- package/themes/vkIOS/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkIOS/cssVars/theme/fallbacks/index.css +132 -127
- package/themes/vkIOS/cssVars/theme/fallbacks/index.less +130 -125
- package/themes/vkIOS/cssVars/theme/fallbacks/index.pcss +130 -125
- package/themes/vkIOS/cssVars/theme/fallbacks/index.scss +131 -126
- package/themes/vkIOS/cssVars/theme/fallbacks/index.styl +130 -125
- package/themes/vkIOS/cssVars/theme/index.js +483 -439
- package/themes/vkIOS/cssVars/theme/index.json +483 -439
- package/themes/vkIOS/index.css +132 -127
- package/themes/vkIOS/index.js +194 -181
- package/themes/vkIOS/index.json +194 -181
- package/themes/vkIOS/index.less +130 -125
- package/themes/vkIOS/index.pcss +130 -125
- package/themes/vkIOS/index.scss +131 -126
- package/themes/vkIOS/index.styl +130 -125
- package/themes/vkIOSDark/cssVars/declarations/index.css +670 -0
- package/themes/vkIOSDark/cssVars/declarations/noColors.css +332 -0
- package/themes/vkIOSDark/cssVars/declarations/noSizes.css +249 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyAdaptiveGroups.css +102 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyColors.css +236 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyColors.d.ts +3 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyColors.js +11 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyVariables.css +378 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyVariables.d.ts +3 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyVariables.js +11 -0
- package/themes/vkIOSDark/cssVars/declarations/onlyVariablesLocal.css +378 -0
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.css +567 -0
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.less +410 -0
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.pcss +411 -0
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.scss +526 -0
- package/themes/vkIOSDark/cssVars/theme/fallbacks/index.styl +410 -0
- package/themes/vkIOSDark/cssVars/theme/index.d.ts +4 -0
- package/themes/vkIOSDark/cssVars/theme/index.js +2270 -0
- package/themes/vkIOSDark/cssVars/theme/index.json +2267 -0
- package/themes/vkIOSDark/index.css +567 -0
- package/themes/vkIOSDark/index.d.ts +4 -0
- package/themes/vkIOSDark/index.js +670 -0
- package/themes/vkIOSDark/index.json +667 -0
- package/themes/vkIOSDark/index.less +410 -0
- package/themes/vkIOSDark/index.pcss +411 -0
- package/themes/vkIOSDark/index.scss +526 -0
- package/themes/vkIOSDark/index.styl +410 -0
- package/CHANGELOG.md +0 -139
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
@size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
55
55
|
@size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
56
56
|
@size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
57
|
+
@size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
58
|
+
@size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
59
|
+
@size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
60
|
+
@size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
57
61
|
@elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
58
62
|
@elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
59
63
|
@elevation3: var(--vkui--elevation3, 0 16px 48px 0 rgba(0, 0, 0, 0.48));
|
|
@@ -156,6 +160,7 @@
|
|
|
156
160
|
@tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
157
161
|
@type-border-button: var(--vkui--type_border_button, solid);
|
|
158
162
|
@type-border-position: var(--vkui--type_border_position, inset);
|
|
163
|
+
@theme-name-base: 'var\(--vkui--theme_name_base\,\ promo\)';
|
|
159
164
|
@size-control-button-small-width-min--regular: var(--vkui--size_control_button_small_width_min--regular, 160px);
|
|
160
165
|
@font-weight-bold: var(--vkui--font_weight_bold, 500);
|
|
161
166
|
@font-weight-medium: var(--vkui--font_weight_medium, 400);
|
|
@@ -537,7 +542,7 @@
|
|
|
537
542
|
}
|
|
538
543
|
.font-title3--regular {
|
|
539
544
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
540
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
545
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
541
546
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
542
547
|
font-weight: var(--vkui--font_title3--font_weight--regular, 500);
|
|
543
548
|
}
|
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
--size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
56
56
|
--size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
57
57
|
--size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
58
|
+
--size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
59
|
+
--size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
60
|
+
--size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
61
|
+
--size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
58
62
|
--elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
59
63
|
--elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
60
64
|
--elevation3: var(--vkui--elevation3, 0 16px 48px 0 rgba(0, 0, 0, 0.48));
|
|
@@ -157,6 +161,7 @@
|
|
|
157
161
|
--tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
158
162
|
--type-border-button: var(--vkui--type_border_button, solid);
|
|
159
163
|
--type-border-position: var(--vkui--type_border_position, inset);
|
|
164
|
+
--theme-name-base: 'var\(--vkui--theme_name_base\,\ promo\)';
|
|
160
165
|
--size-control-button-small-width-min--regular: var(--vkui--size_control_button_small_width_min--regular, 160px);
|
|
161
166
|
--font-weight-bold: var(--vkui--font_weight_bold, 500);
|
|
162
167
|
--font-weight-medium: var(--vkui--font_weight_medium, 400);
|
|
@@ -538,7 +543,7 @@
|
|
|
538
543
|
}
|
|
539
544
|
%font-title3--regular {
|
|
540
545
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
541
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
546
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
542
547
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
543
548
|
font-weight: var(--vkui--font_title3--font_weight--regular, 500);
|
|
544
549
|
}
|
|
@@ -54,6 +54,10 @@ $size-badge-s--regular: var(--vkui--size_badge_s--regular, 16px);
|
|
|
54
54
|
$size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
55
55
|
$size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
56
56
|
$size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
57
|
+
$size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
58
|
+
$size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
59
|
+
$size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
60
|
+
$size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
57
61
|
$elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
58
62
|
$elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
59
63
|
$elevation3: var(--vkui--elevation3, 0 16px 48px 0 rgba(0, 0, 0, 0.48));
|
|
@@ -156,6 +160,7 @@ $tone-value-active: var(--vkui--tone_value_active, 0.08);
|
|
|
156
160
|
$tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
157
161
|
$type-border-button: var(--vkui--type_border_button, solid);
|
|
158
162
|
$type-border-position: var(--vkui--type_border_position, inset);
|
|
163
|
+
$theme-name-base: 'var\(--vkui--theme_name_base\,\ promo\)';
|
|
159
164
|
$size-control-button-small-width-min--regular: var(--vkui--size_control_button_small_width_min--regular, 160px);
|
|
160
165
|
$font-weight-bold: var(--vkui--font_weight_bold, 500);
|
|
161
166
|
$font-weight-medium: var(--vkui--font_weight_medium, 400);
|
|
@@ -669,13 +674,13 @@ $font-title2--regular--map: (
|
|
|
669
674
|
);
|
|
670
675
|
@mixin font-title3--regular() {
|
|
671
676
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
672
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
677
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
673
678
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
674
679
|
font-weight: var(--vkui--font_title3--font_weight--regular, 500);
|
|
675
680
|
}
|
|
676
681
|
$font-title3--regular--map: (
|
|
677
682
|
'fontSize': "var(--vkui--font_title3--font_size--regular, 17px)",
|
|
678
|
-
'lineHeight': "var(--vkui--font_title3--line_height--regular,
|
|
683
|
+
'lineHeight': "var(--vkui--font_title3--line_height--regular, 22px)",
|
|
679
684
|
'fontFamily': "var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif)",
|
|
680
685
|
'fontWeight': "var(--vkui--font_title3--font_weight--regular, 500)",
|
|
681
686
|
);
|
|
@@ -54,6 +54,10 @@ $size-badge-s--regular = var(--vkui--size_badge_s--regular, 16px);
|
|
|
54
54
|
$size-badge-m--regular = var(--vkui--size_badge_m--regular, 24px);
|
|
55
55
|
$size-badge-l--regular = var(--vkui--size_badge_l--regular, 44px);
|
|
56
56
|
$size-badge-x-l--regular = var(--vkui--size_badge_x_l--regular, 56px);
|
|
57
|
+
$size-cardgrid-padding--regular = var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
58
|
+
$size-card-border-radius--regular = var(--vkui--size_card_border_radius--regular, 16px);
|
|
59
|
+
$size-cardgrid-padding-vertical--regular = var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
60
|
+
$size-base-padding-horizontal--regular = var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
57
61
|
$elevation1 = var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
58
62
|
$elevation2 = var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
59
63
|
$elevation3 = var(--vkui--elevation3, 0 16px 48px 0 rgba(0, 0, 0, 0.48));
|
|
@@ -156,6 +160,7 @@ $tone-value-active = var(--vkui--tone_value_active, 0.08);
|
|
|
156
160
|
$tone-value-focus = var(--vkui--tone_value_focus, 0.08);
|
|
157
161
|
$type-border-button = var(--vkui--type_border_button, solid);
|
|
158
162
|
$type-border-position = var(--vkui--type_border_position, inset);
|
|
163
|
+
$theme-name-base = 'var\(--vkui--theme_name_base\,\ promo\)';
|
|
159
164
|
$size-control-button-small-width-min--regular = var(--vkui--size_control_button_small_width_min--regular, 160px);
|
|
160
165
|
$font-weight-bold = var(--vkui--font_weight_bold, 500);
|
|
161
166
|
$font-weight-medium = var(--vkui--font_weight_medium, 400);
|
|
@@ -537,7 +542,7 @@ font-title2--regular() {
|
|
|
537
542
|
}
|
|
538
543
|
font-title3--regular() {
|
|
539
544
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
540
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
545
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
541
546
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
542
547
|
font-weight: var(--vkui--font_title3--font_weight--regular, 500);
|
|
543
548
|
}
|
|
@@ -229,7 +229,7 @@ var theme = {
|
|
|
229
229
|
},
|
|
230
230
|
"lineHeight": {
|
|
231
231
|
"name": "--vkui--font_title3--line_height--regular",
|
|
232
|
-
"value": "var(--vkui--font_title3--line_height--regular,
|
|
232
|
+
"value": "var(--vkui--font_title3--line_height--regular, 22px)"
|
|
233
233
|
},
|
|
234
234
|
"fontFamily": {
|
|
235
235
|
"name": "--vkui--font_title3--font_family--regular",
|
|
@@ -1093,6 +1093,46 @@ var theme = {
|
|
|
1093
1093
|
"value": "var(--vkui--size_badge_x_l--regular, 56px)"
|
|
1094
1094
|
}
|
|
1095
1095
|
},
|
|
1096
|
+
"sizeCardgridPadding": {
|
|
1097
|
+
"auto": {
|
|
1098
|
+
"name": "--vkui--size_cardgrid_padding",
|
|
1099
|
+
"value": "var(--vkui--size_cardgrid_padding)"
|
|
1100
|
+
},
|
|
1101
|
+
"regular": {
|
|
1102
|
+
"name": "--vkui--size_cardgrid_padding--regular",
|
|
1103
|
+
"value": "var(--vkui--size_cardgrid_padding--regular, 12px)"
|
|
1104
|
+
}
|
|
1105
|
+
},
|
|
1106
|
+
"sizeCardBorderRadius": {
|
|
1107
|
+
"auto": {
|
|
1108
|
+
"name": "--vkui--size_card_border_radius",
|
|
1109
|
+
"value": "var(--vkui--size_card_border_radius)"
|
|
1110
|
+
},
|
|
1111
|
+
"regular": {
|
|
1112
|
+
"name": "--vkui--size_card_border_radius--regular",
|
|
1113
|
+
"value": "var(--vkui--size_card_border_radius--regular, 16px)"
|
|
1114
|
+
}
|
|
1115
|
+
},
|
|
1116
|
+
"sizeCardgridPaddingVertical": {
|
|
1117
|
+
"auto": {
|
|
1118
|
+
"name": "--vkui--size_cardgrid_padding_vertical",
|
|
1119
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical)"
|
|
1120
|
+
},
|
|
1121
|
+
"regular": {
|
|
1122
|
+
"name": "--vkui--size_cardgrid_padding_vertical--regular",
|
|
1123
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical--regular, 8px)"
|
|
1124
|
+
}
|
|
1125
|
+
},
|
|
1126
|
+
"sizeBasePaddingHorizontal": {
|
|
1127
|
+
"auto": {
|
|
1128
|
+
"name": "--vkui--size_base_padding_horizontal",
|
|
1129
|
+
"value": "var(--vkui--size_base_padding_horizontal)"
|
|
1130
|
+
},
|
|
1131
|
+
"regular": {
|
|
1132
|
+
"name": "--vkui--size_base_padding_horizontal--regular",
|
|
1133
|
+
"value": "var(--vkui--size_base_padding_horizontal--regular, 16px)"
|
|
1134
|
+
}
|
|
1135
|
+
},
|
|
1096
1136
|
"elevation1": {
|
|
1097
1137
|
"name": "--vkui--elevation1",
|
|
1098
1138
|
"value": "var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04))"
|
|
@@ -2143,6 +2183,10 @@ var theme = {
|
|
|
2143
2183
|
"name": "--vkui--type_border_position",
|
|
2144
2184
|
"value": "var(--vkui--type_border_position, inset)"
|
|
2145
2185
|
},
|
|
2186
|
+
"themeNameBase": {
|
|
2187
|
+
"name": "--vkui--theme_name_base",
|
|
2188
|
+
"value": "var(--vkui--theme_name_base, promo)"
|
|
2189
|
+
},
|
|
2146
2190
|
"sizeControlButtonSmallWidthMin": {
|
|
2147
2191
|
"auto": {
|
|
2148
2192
|
"name": "--vkui--size_control_button_small_width_min",
|
|
@@ -227,7 +227,7 @@
|
|
|
227
227
|
},
|
|
228
228
|
"lineHeight": {
|
|
229
229
|
"name": "--vkui--font_title3--line_height--regular",
|
|
230
|
-
"value": "var(--vkui--font_title3--line_height--regular,
|
|
230
|
+
"value": "var(--vkui--font_title3--line_height--regular, 22px)"
|
|
231
231
|
},
|
|
232
232
|
"fontFamily": {
|
|
233
233
|
"name": "--vkui--font_title3--font_family--regular",
|
|
@@ -1091,6 +1091,46 @@
|
|
|
1091
1091
|
"value": "var(--vkui--size_badge_x_l--regular, 56px)"
|
|
1092
1092
|
}
|
|
1093
1093
|
},
|
|
1094
|
+
"sizeCardgridPadding": {
|
|
1095
|
+
"auto": {
|
|
1096
|
+
"name": "--vkui--size_cardgrid_padding",
|
|
1097
|
+
"value": "var(--vkui--size_cardgrid_padding)"
|
|
1098
|
+
},
|
|
1099
|
+
"regular": {
|
|
1100
|
+
"name": "--vkui--size_cardgrid_padding--regular",
|
|
1101
|
+
"value": "var(--vkui--size_cardgrid_padding--regular, 12px)"
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
"sizeCardBorderRadius": {
|
|
1105
|
+
"auto": {
|
|
1106
|
+
"name": "--vkui--size_card_border_radius",
|
|
1107
|
+
"value": "var(--vkui--size_card_border_radius)"
|
|
1108
|
+
},
|
|
1109
|
+
"regular": {
|
|
1110
|
+
"name": "--vkui--size_card_border_radius--regular",
|
|
1111
|
+
"value": "var(--vkui--size_card_border_radius--regular, 16px)"
|
|
1112
|
+
}
|
|
1113
|
+
},
|
|
1114
|
+
"sizeCardgridPaddingVertical": {
|
|
1115
|
+
"auto": {
|
|
1116
|
+
"name": "--vkui--size_cardgrid_padding_vertical",
|
|
1117
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical)"
|
|
1118
|
+
},
|
|
1119
|
+
"regular": {
|
|
1120
|
+
"name": "--vkui--size_cardgrid_padding_vertical--regular",
|
|
1121
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical--regular, 8px)"
|
|
1122
|
+
}
|
|
1123
|
+
},
|
|
1124
|
+
"sizeBasePaddingHorizontal": {
|
|
1125
|
+
"auto": {
|
|
1126
|
+
"name": "--vkui--size_base_padding_horizontal",
|
|
1127
|
+
"value": "var(--vkui--size_base_padding_horizontal)"
|
|
1128
|
+
},
|
|
1129
|
+
"regular": {
|
|
1130
|
+
"name": "--vkui--size_base_padding_horizontal--regular",
|
|
1131
|
+
"value": "var(--vkui--size_base_padding_horizontal--regular, 16px)"
|
|
1132
|
+
}
|
|
1133
|
+
},
|
|
1094
1134
|
"elevation1": {
|
|
1095
1135
|
"name": "--vkui--elevation1",
|
|
1096
1136
|
"value": "var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04))"
|
|
@@ -2141,6 +2181,10 @@
|
|
|
2141
2181
|
"name": "--vkui--type_border_position",
|
|
2142
2182
|
"value": "var(--vkui--type_border_position, inset)"
|
|
2143
2183
|
},
|
|
2184
|
+
"themeNameBase": {
|
|
2185
|
+
"name": "--vkui--theme_name_base",
|
|
2186
|
+
"value": "var(--vkui--theme_name_base, promo)"
|
|
2187
|
+
},
|
|
2144
2188
|
"sizeControlButtonSmallWidthMin": {
|
|
2145
2189
|
"auto": {
|
|
2146
2190
|
"name": "--vkui--size_control_button_small_width_min",
|
package/themes/promo/index.css
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
--vkui--font_title2--font_family--regular: MailSans, Helvetica, Arial, sans-serif;
|
|
38
38
|
--vkui--font_title2--font_weight--regular: 500;
|
|
39
39
|
--vkui--font_title3--font_size--regular: 17px;
|
|
40
|
-
--vkui--font_title3--line_height--regular:
|
|
40
|
+
--vkui--font_title3--line_height--regular: 22px;
|
|
41
41
|
--vkui--font_title3--font_family--regular: MailSans, Helvetica, Arial, sans-serif;
|
|
42
42
|
--vkui--font_title3--font_weight--regular: 500;
|
|
43
43
|
--vkui--font_headline--font_size--regular: 15px;
|
|
@@ -137,6 +137,10 @@
|
|
|
137
137
|
--vkui--size_badge_m--regular: 24px;
|
|
138
138
|
--vkui--size_badge_l--regular: 44px;
|
|
139
139
|
--vkui--size_badge_x_l--regular: 56px;
|
|
140
|
+
--vkui--size_cardgrid_padding--regular: 12px;
|
|
141
|
+
--vkui--size_card_border_radius--regular: 16px;
|
|
142
|
+
--vkui--size_cardgrid_padding_vertical--regular: 8px;
|
|
143
|
+
--vkui--size_base_padding_horizontal--regular: 16px;
|
|
140
144
|
--vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
141
145
|
--vkui--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
142
146
|
--vkui--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -293,6 +297,7 @@
|
|
|
293
297
|
--vkui--tone_value_focus: 0.08;
|
|
294
298
|
--vkui--type_border_button: solid;
|
|
295
299
|
--vkui--type_border_position: inset;
|
|
300
|
+
--vkui--theme_name_base: 'promo';
|
|
296
301
|
--vkui--size_control_button_small_width_min--regular: 160px;
|
|
297
302
|
--vkui--font_weight_bold: 500;
|
|
298
303
|
--vkui--font_weight_medium: 400;
|
|
@@ -703,8 +708,8 @@
|
|
|
703
708
|
.vkui--font_title3--regular {
|
|
704
709
|
font-size: 17px;
|
|
705
710
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
706
|
-
line-height:
|
|
707
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
711
|
+
line-height: 22px;
|
|
712
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
708
713
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
709
714
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
710
715
|
font-weight: 500;
|
package/themes/promo/index.js
CHANGED
|
@@ -59,7 +59,7 @@ var theme = {
|
|
|
59
59
|
"fontTitle3": {
|
|
60
60
|
"regular": {
|
|
61
61
|
"fontSize": 17,
|
|
62
|
-
"lineHeight":
|
|
62
|
+
"lineHeight": 22,
|
|
63
63
|
"fontFamily": "MailSans, Helvetica, Arial, sans-serif",
|
|
64
64
|
"fontWeight": 500
|
|
65
65
|
}
|
|
@@ -271,6 +271,18 @@ var theme = {
|
|
|
271
271
|
"sizeBadgeXL": {
|
|
272
272
|
"regular": 56
|
|
273
273
|
},
|
|
274
|
+
"sizeCardgridPadding": {
|
|
275
|
+
"regular": 12
|
|
276
|
+
},
|
|
277
|
+
"sizeCardBorderRadius": {
|
|
278
|
+
"regular": 16
|
|
279
|
+
},
|
|
280
|
+
"sizeCardgridPaddingVertical": {
|
|
281
|
+
"regular": 8
|
|
282
|
+
},
|
|
283
|
+
"sizeBasePaddingHorizontal": {
|
|
284
|
+
"regular": 16
|
|
285
|
+
},
|
|
274
286
|
"elevation1": "0 2px 0 0 rgba(0, 16, 61, 0.04)",
|
|
275
287
|
"elevation2": "0 4px 32px 0 rgba(0, 16, 61, 0.32)",
|
|
276
288
|
"elevation3": "0 16px 48px 0 rgba(0, 0, 0, 0.48)",
|
|
@@ -591,6 +603,7 @@ var theme = {
|
|
|
591
603
|
"toneValueFocus": 0.08,
|
|
592
604
|
"typeBorderButton": "solid",
|
|
593
605
|
"typeBorderPosition": "inset",
|
|
606
|
+
"themeNameBase": "promo",
|
|
594
607
|
"sizeControlButtonSmallWidthMin": {
|
|
595
608
|
"regular": 160
|
|
596
609
|
},
|
package/themes/promo/index.json
CHANGED
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
"fontTitle3": {
|
|
58
58
|
"regular": {
|
|
59
59
|
"fontSize": 17,
|
|
60
|
-
"lineHeight":
|
|
60
|
+
"lineHeight": 22,
|
|
61
61
|
"fontFamily": "MailSans, Helvetica, Arial, sans-serif",
|
|
62
62
|
"fontWeight": 500
|
|
63
63
|
}
|
|
@@ -269,6 +269,18 @@
|
|
|
269
269
|
"sizeBadgeXL": {
|
|
270
270
|
"regular": 56
|
|
271
271
|
},
|
|
272
|
+
"sizeCardgridPadding": {
|
|
273
|
+
"regular": 12
|
|
274
|
+
},
|
|
275
|
+
"sizeCardBorderRadius": {
|
|
276
|
+
"regular": 16
|
|
277
|
+
},
|
|
278
|
+
"sizeCardgridPaddingVertical": {
|
|
279
|
+
"regular": 8
|
|
280
|
+
},
|
|
281
|
+
"sizeBasePaddingHorizontal": {
|
|
282
|
+
"regular": 16
|
|
283
|
+
},
|
|
272
284
|
"elevation1": "0 2px 0 0 rgba(0, 16, 61, 0.04)",
|
|
273
285
|
"elevation2": "0 4px 32px 0 rgba(0, 16, 61, 0.32)",
|
|
274
286
|
"elevation3": "0 16px 48px 0 rgba(0, 0, 0, 0.48)",
|
|
@@ -589,6 +601,7 @@
|
|
|
589
601
|
"toneValueFocus": 0.08,
|
|
590
602
|
"typeBorderButton": "solid",
|
|
591
603
|
"typeBorderPosition": "inset",
|
|
604
|
+
"themeNameBase": "promo",
|
|
592
605
|
"sizeControlButtonSmallWidthMin": {
|
|
593
606
|
"regular": 160
|
|
594
607
|
},
|
package/themes/promo/index.less
CHANGED
|
@@ -54,6 +54,10 @@
|
|
|
54
54
|
@size-badge-m--regular: 24px;
|
|
55
55
|
@size-badge-l--regular: 44px;
|
|
56
56
|
@size-badge-x-l--regular: 56px;
|
|
57
|
+
@size-cardgrid-padding--regular: 12px;
|
|
58
|
+
@size-card-border-radius--regular: 16px;
|
|
59
|
+
@size-cardgrid-padding-vertical--regular: 8px;
|
|
60
|
+
@size-base-padding-horizontal--regular: 16px;
|
|
57
61
|
@elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
58
62
|
@elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
59
63
|
@elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -156,6 +160,7 @@
|
|
|
156
160
|
@tone-value-focus: 0.08;
|
|
157
161
|
@type-border-button: solid;
|
|
158
162
|
@type-border-position: inset;
|
|
163
|
+
@theme-name-base: 'promo';
|
|
159
164
|
@size-control-button-small-width-min--regular: 160px;
|
|
160
165
|
@font-weight-bold: 500;
|
|
161
166
|
@font-weight-medium: 400;
|
|
@@ -537,7 +542,7 @@
|
|
|
537
542
|
}
|
|
538
543
|
.font-title3--regular {
|
|
539
544
|
font-size: 17px;
|
|
540
|
-
line-height:
|
|
545
|
+
line-height: 22px;
|
|
541
546
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
542
547
|
font-weight: 500;
|
|
543
548
|
}
|
package/themes/promo/index.pcss
CHANGED
|
@@ -55,6 +55,10 @@
|
|
|
55
55
|
--size-badge-m--regular: 24px;
|
|
56
56
|
--size-badge-l--regular: 44px;
|
|
57
57
|
--size-badge-x-l--regular: 56px;
|
|
58
|
+
--size-cardgrid-padding--regular: 12px;
|
|
59
|
+
--size-card-border-radius--regular: 16px;
|
|
60
|
+
--size-cardgrid-padding-vertical--regular: 8px;
|
|
61
|
+
--size-base-padding-horizontal--regular: 16px;
|
|
58
62
|
--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
59
63
|
--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
60
64
|
--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -157,6 +161,7 @@
|
|
|
157
161
|
--tone-value-focus: 0.08;
|
|
158
162
|
--type-border-button: solid;
|
|
159
163
|
--type-border-position: inset;
|
|
164
|
+
--theme-name-base: 'promo';
|
|
160
165
|
--size-control-button-small-width-min--regular: 160px;
|
|
161
166
|
--font-weight-bold: 500;
|
|
162
167
|
--font-weight-medium: 400;
|
|
@@ -538,7 +543,7 @@
|
|
|
538
543
|
}
|
|
539
544
|
%font-title3--regular {
|
|
540
545
|
font-size: 17px;
|
|
541
|
-
line-height:
|
|
546
|
+
line-height: 22px;
|
|
542
547
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
543
548
|
font-weight: 500;
|
|
544
549
|
}
|
package/themes/promo/index.scss
CHANGED
|
@@ -54,6 +54,10 @@ $size-badge-s--regular: 16px;
|
|
|
54
54
|
$size-badge-m--regular: 24px;
|
|
55
55
|
$size-badge-l--regular: 44px;
|
|
56
56
|
$size-badge-x-l--regular: 56px;
|
|
57
|
+
$size-cardgrid-padding--regular: 12px;
|
|
58
|
+
$size-card-border-radius--regular: 16px;
|
|
59
|
+
$size-cardgrid-padding-vertical--regular: 8px;
|
|
60
|
+
$size-base-padding-horizontal--regular: 16px;
|
|
57
61
|
$elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
58
62
|
$elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
59
63
|
$elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -156,6 +160,7 @@ $tone-value-active: 0.08;
|
|
|
156
160
|
$tone-value-focus: 0.08;
|
|
157
161
|
$type-border-button: solid;
|
|
158
162
|
$type-border-position: inset;
|
|
163
|
+
$theme-name-base: 'promo';
|
|
159
164
|
$size-control-button-small-width-min--regular: 160px;
|
|
160
165
|
$font-weight-bold: 500;
|
|
161
166
|
$font-weight-medium: 400;
|
|
@@ -669,13 +674,13 @@ $font-title2--regular--map: (
|
|
|
669
674
|
);
|
|
670
675
|
@mixin font-title3--regular() {
|
|
671
676
|
font-size: 17px;
|
|
672
|
-
line-height:
|
|
677
|
+
line-height: 22px;
|
|
673
678
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
674
679
|
font-weight: 500;
|
|
675
680
|
}
|
|
676
681
|
$font-title3--regular--map: (
|
|
677
682
|
'fontSize': 17px,
|
|
678
|
-
'lineHeight':
|
|
683
|
+
'lineHeight': 22px,
|
|
679
684
|
'fontFamily': "MailSans, Helvetica, Arial, sans-serif",
|
|
680
685
|
'fontWeight': 500,
|
|
681
686
|
);
|
package/themes/promo/index.styl
CHANGED
|
@@ -54,6 +54,10 @@ $size-badge-s--regular = 16px;
|
|
|
54
54
|
$size-badge-m--regular = 24px;
|
|
55
55
|
$size-badge-l--regular = 44px;
|
|
56
56
|
$size-badge-x-l--regular = 56px;
|
|
57
|
+
$size-cardgrid-padding--regular = 12px;
|
|
58
|
+
$size-card-border-radius--regular = 16px;
|
|
59
|
+
$size-cardgrid-padding-vertical--regular = 8px;
|
|
60
|
+
$size-base-padding-horizontal--regular = 16px;
|
|
57
61
|
$elevation1 = 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
58
62
|
$elevation2 = 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
59
63
|
$elevation3 = 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -156,6 +160,7 @@ $tone-value-active = 0.08;
|
|
|
156
160
|
$tone-value-focus = 0.08;
|
|
157
161
|
$type-border-button = solid;
|
|
158
162
|
$type-border-position = inset;
|
|
163
|
+
$theme-name-base = 'promo';
|
|
159
164
|
$size-control-button-small-width-min--regular = 160px;
|
|
160
165
|
$font-weight-bold = 500;
|
|
161
166
|
$font-weight-medium = 400;
|
|
@@ -537,7 +542,7 @@ font-title2--regular() {
|
|
|
537
542
|
}
|
|
538
543
|
font-title3--regular() {
|
|
539
544
|
font-size: 17px;
|
|
540
|
-
line-height:
|
|
545
|
+
line-height: 22px;
|
|
541
546
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
542
547
|
font-weight: 500;
|
|
543
548
|
}
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
--vkui--font_title2--font_family--regular: MailSans, Helvetica, Arial, sans-serif;
|
|
18
18
|
--vkui--font_title2--font_weight--regular: 500;
|
|
19
19
|
--vkui--font_title3--font_size--regular: 17px;
|
|
20
|
-
--vkui--font_title3--line_height--regular:
|
|
20
|
+
--vkui--font_title3--line_height--regular: 22px;
|
|
21
21
|
--vkui--font_title3--font_family--regular: MailSans, Helvetica, Arial, sans-serif;
|
|
22
22
|
--vkui--font_title3--font_weight--regular: 500;
|
|
23
23
|
--vkui--font_headline--font_size--regular: 15px;
|
|
@@ -113,6 +113,10 @@
|
|
|
113
113
|
--vkui--size_badge_m--regular: 24px;
|
|
114
114
|
--vkui--size_badge_l--regular: 44px;
|
|
115
115
|
--vkui--size_badge_x_l--regular: 56px;
|
|
116
|
+
--vkui--size_cardgrid_padding--regular: 12px;
|
|
117
|
+
--vkui--size_card_border_radius--regular: 16px;
|
|
118
|
+
--vkui--size_cardgrid_padding_vertical--regular: 8px;
|
|
119
|
+
--vkui--size_base_padding_horizontal--regular: 16px;
|
|
116
120
|
--vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
117
121
|
--vkui--elevation2: 0 2px 0 0 rgba(0,16,61, 0.04);
|
|
118
122
|
--vkui--elevation3: 0 4px 32px rgba(0, 16, 61, 0.24);
|
|
@@ -224,6 +228,7 @@
|
|
|
224
228
|
--vkui--tone_value_focus: 0.08;
|
|
225
229
|
--vkui--type_border_button: solid;
|
|
226
230
|
--vkui--type_border_position: inset;
|
|
231
|
+
--vkui--theme_name_base: 'todo';
|
|
227
232
|
--vkui--colors_scheme: light;
|
|
228
233
|
--vkui--color_background_accent: #005FF9;
|
|
229
234
|
--vkui--color_background_accent--hover: #005CF1;
|
|
@@ -508,8 +513,8 @@
|
|
|
508
513
|
.vkui--font_title3--regular {
|
|
509
514
|
font-size: 17px;
|
|
510
515
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
511
|
-
line-height:
|
|
512
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
516
|
+
line-height: 22px;
|
|
517
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
513
518
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
514
519
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
515
520
|
font-weight: 500;
|
|
@@ -810,7 +815,7 @@
|
|
|
810
815
|
--vkui--font_title2--font_family: MailSans, Helvetica, Arial, sans-serif;
|
|
811
816
|
--vkui--font_title2--font_weight: 500;
|
|
812
817
|
--vkui--font_title3--font_size: 17px;
|
|
813
|
-
--vkui--font_title3--line_height:
|
|
818
|
+
--vkui--font_title3--line_height: 22px;
|
|
814
819
|
--vkui--font_title3--font_family: MailSans, Helvetica, Arial, sans-serif;
|
|
815
820
|
--vkui--font_title3--font_weight: 500;
|
|
816
821
|
--vkui--font_headline--font_size: 15px;
|
|
@@ -898,6 +903,10 @@
|
|
|
898
903
|
--vkui--size_badge_m: 24px;
|
|
899
904
|
--vkui--size_badge_l: 44px;
|
|
900
905
|
--vkui--size_badge_x_l: 56px;
|
|
906
|
+
--vkui--size_cardgrid_padding: 12px;
|
|
907
|
+
--vkui--size_card_border_radius: 16px;
|
|
908
|
+
--vkui--size_cardgrid_padding_vertical: 8px;
|
|
909
|
+
--vkui--size_base_padding_horizontal: 16px;
|
|
901
910
|
--vkui--font_h0--font_size: var(--vkui--font_h0--font_size--regular);
|
|
902
911
|
--vkui--font_h0--line_height: var(--vkui--font_h0--line_height--regular);
|
|
903
912
|
--vkui--font_h0--font_family: var(--vkui--font_h0--font_family--regular);
|