@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
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
@size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
45
45
|
@size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
46
46
|
@size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
47
|
+
@size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
48
|
+
@size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
49
|
+
@size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
50
|
+
@size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
47
51
|
@elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
48
52
|
@elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
49
53
|
@elevation3: var(--vkui--elevation3, 0 4px 20px 0 rgba(0,0,0,.16));
|
|
@@ -142,6 +146,7 @@
|
|
|
142
146
|
@tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
143
147
|
@type-border-button: var(--vkui--type_border_button, solid);
|
|
144
148
|
@type-border-position: var(--vkui--type_border_position, inset);
|
|
149
|
+
@theme-name-base: 'var\(--vkui--theme_name_base\,\ mycom\)';
|
|
145
150
|
@font-family-article: var(--vkui--font_family_article, Georgia, serif);
|
|
146
151
|
@font-weight-article1: var(--vkui--font_weight_article1, 400);
|
|
147
152
|
@font-weight-article2: var(--vkui--font_weight_article2, 700);
|
|
@@ -521,13 +526,13 @@
|
|
|
521
526
|
}
|
|
522
527
|
.font-title3--regular {
|
|
523
528
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
524
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
529
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
525
530
|
font-family: var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif);
|
|
526
531
|
font-weight: var(--vkui--font_title3--font_weight--regular, 600);
|
|
527
532
|
}
|
|
528
533
|
.font-title3--compact {
|
|
529
534
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
530
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
535
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
531
536
|
font-family: var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif);
|
|
532
537
|
font-weight: var(--vkui--font_title3--font_weight--compact, 600);
|
|
533
538
|
}
|
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
--size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
46
46
|
--size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
47
47
|
--size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
48
|
+
--size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
49
|
+
--size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
50
|
+
--size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
51
|
+
--size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
48
52
|
--elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
49
53
|
--elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
50
54
|
--elevation3: var(--vkui--elevation3, 0 4px 20px 0 rgba(0,0,0,.16));
|
|
@@ -143,6 +147,7 @@
|
|
|
143
147
|
--tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
144
148
|
--type-border-button: var(--vkui--type_border_button, solid);
|
|
145
149
|
--type-border-position: var(--vkui--type_border_position, inset);
|
|
150
|
+
--theme-name-base: 'var\(--vkui--theme_name_base\,\ mycom\)';
|
|
146
151
|
--font-family-article: var(--vkui--font_family_article, Georgia, serif);
|
|
147
152
|
--font-weight-article1: var(--vkui--font_weight_article1, 400);
|
|
148
153
|
--font-weight-article2: var(--vkui--font_weight_article2, 700);
|
|
@@ -522,13 +527,13 @@
|
|
|
522
527
|
}
|
|
523
528
|
%font-title3--regular {
|
|
524
529
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
525
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
530
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
526
531
|
font-family: var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif);
|
|
527
532
|
font-weight: var(--vkui--font_title3--font_weight--regular, 600);
|
|
528
533
|
}
|
|
529
534
|
%font-title3--compact {
|
|
530
535
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
531
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
536
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
532
537
|
font-family: var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif);
|
|
533
538
|
font-weight: var(--vkui--font_title3--font_weight--compact, 600);
|
|
534
539
|
}
|
|
@@ -44,6 +44,10 @@ $size-badge-s--regular: var(--vkui--size_badge_s--regular, 16px);
|
|
|
44
44
|
$size-badge-m--regular: var(--vkui--size_badge_m--regular, 24px);
|
|
45
45
|
$size-badge-l--regular: var(--vkui--size_badge_l--regular, 44px);
|
|
46
46
|
$size-badge-x-l--regular: var(--vkui--size_badge_x_l--regular, 56px);
|
|
47
|
+
$size-cardgrid-padding--regular: var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
48
|
+
$size-card-border-radius--regular: var(--vkui--size_card_border_radius--regular, 16px);
|
|
49
|
+
$size-cardgrid-padding-vertical--regular: var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
50
|
+
$size-base-padding-horizontal--regular: var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
47
51
|
$elevation1: var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
48
52
|
$elevation2: var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
49
53
|
$elevation3: var(--vkui--elevation3, 0 4px 20px 0 rgba(0,0,0,.16));
|
|
@@ -142,6 +146,7 @@ $tone-value-active: var(--vkui--tone_value_active, 0.08);
|
|
|
142
146
|
$tone-value-focus: var(--vkui--tone_value_focus, 0.08);
|
|
143
147
|
$type-border-button: var(--vkui--type_border_button, solid);
|
|
144
148
|
$type-border-position: var(--vkui--type_border_position, inset);
|
|
149
|
+
$theme-name-base: 'var\(--vkui--theme_name_base\,\ mycom\)';
|
|
145
150
|
$font-family-article: var(--vkui--font_family_article, Georgia, serif);
|
|
146
151
|
$font-weight-article1: var(--vkui--font_weight_article1, 400);
|
|
147
152
|
$font-weight-article2: var(--vkui--font_weight_article2, 700);
|
|
@@ -557,31 +562,31 @@ $font-title2--compact--map: (
|
|
|
557
562
|
);
|
|
558
563
|
@mixin font-title3--regular() {
|
|
559
564
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
560
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
565
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
561
566
|
font-family: var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif);
|
|
562
567
|
font-weight: var(--vkui--font_title3--font_weight--regular, 600);
|
|
563
568
|
}
|
|
564
569
|
$font-title3--regular--map: (
|
|
565
570
|
'fontSize': "var(--vkui--font_title3--font_size--regular, 17px)",
|
|
566
|
-
'lineHeight': "var(--vkui--font_title3--line_height--regular,
|
|
571
|
+
'lineHeight': "var(--vkui--font_title3--line_height--regular, 22px)",
|
|
567
572
|
'fontFamily': "var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif)",
|
|
568
573
|
'fontWeight': "var(--vkui--font_title3--font_weight--regular, 600)",
|
|
569
574
|
);
|
|
570
575
|
@mixin font-title3--compact() {
|
|
571
576
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
572
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
577
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
573
578
|
font-family: var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif);
|
|
574
579
|
font-weight: var(--vkui--font_title3--font_weight--compact, 600);
|
|
575
580
|
}
|
|
576
581
|
$font-title3--regular--map: (
|
|
577
582
|
'fontSize': "var(--vkui--font_title3--font_size--regular, 17px)",
|
|
578
|
-
'lineHeight': "var(--vkui--font_title3--line_height--regular,
|
|
583
|
+
'lineHeight': "var(--vkui--font_title3--line_height--regular, 22px)",
|
|
579
584
|
'fontFamily': "var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif)",
|
|
580
585
|
'fontWeight': "var(--vkui--font_title3--font_weight--regular, 600)",
|
|
581
586
|
);
|
|
582
587
|
$font-title3--compact--map: (
|
|
583
588
|
'fontSize': "var(--vkui--font_title3--font_size--regular, 17px)",
|
|
584
|
-
'lineHeight': "var(--vkui--font_title3--line_height--regular,
|
|
589
|
+
'lineHeight': "var(--vkui--font_title3--line_height--regular, 22px)",
|
|
585
590
|
'fontFamily': "var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif)",
|
|
586
591
|
'fontWeight': "var(--vkui--font_title3--font_weight--compact, 600)",
|
|
587
592
|
);
|
|
@@ -44,6 +44,10 @@ $size-badge-s--regular = var(--vkui--size_badge_s--regular, 16px);
|
|
|
44
44
|
$size-badge-m--regular = var(--vkui--size_badge_m--regular, 24px);
|
|
45
45
|
$size-badge-l--regular = var(--vkui--size_badge_l--regular, 44px);
|
|
46
46
|
$size-badge-x-l--regular = var(--vkui--size_badge_x_l--regular, 56px);
|
|
47
|
+
$size-cardgrid-padding--regular = var(--vkui--size_cardgrid_padding--regular, 12px);
|
|
48
|
+
$size-card-border-radius--regular = var(--vkui--size_card_border_radius--regular, 16px);
|
|
49
|
+
$size-cardgrid-padding-vertical--regular = var(--vkui--size_cardgrid_padding_vertical--regular, 8px);
|
|
50
|
+
$size-base-padding-horizontal--regular = var(--vkui--size_base_padding_horizontal--regular, 16px);
|
|
47
51
|
$elevation1 = var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04));
|
|
48
52
|
$elevation2 = var(--vkui--elevation2, 0 4px 32px 0 rgba(0, 16, 61, 0.32));
|
|
49
53
|
$elevation3 = var(--vkui--elevation3, 0 4px 20px 0 rgba(0,0,0,.16));
|
|
@@ -142,6 +146,7 @@ $tone-value-active = var(--vkui--tone_value_active, 0.08);
|
|
|
142
146
|
$tone-value-focus = var(--vkui--tone_value_focus, 0.08);
|
|
143
147
|
$type-border-button = var(--vkui--type_border_button, solid);
|
|
144
148
|
$type-border-position = var(--vkui--type_border_position, inset);
|
|
149
|
+
$theme-name-base = 'var\(--vkui--theme_name_base\,\ mycom\)';
|
|
145
150
|
$font-family-article = var(--vkui--font_family_article, Georgia, serif);
|
|
146
151
|
$font-weight-article1 = var(--vkui--font_weight_article1, 400);
|
|
147
152
|
$font-weight-article2 = var(--vkui--font_weight_article2, 700);
|
|
@@ -521,13 +526,13 @@ font-title2--compact() {
|
|
|
521
526
|
}
|
|
522
527
|
font-title3--regular() {
|
|
523
528
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
524
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
529
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
525
530
|
font-family: var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif);
|
|
526
531
|
font-weight: var(--vkui--font_title3--font_weight--regular, 600);
|
|
527
532
|
}
|
|
528
533
|
font-title3--compact() {
|
|
529
534
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
530
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
535
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
531
536
|
font-family: var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif);
|
|
532
537
|
font-weight: var(--vkui--font_title3--font_weight--compact, 600);
|
|
533
538
|
}
|
|
@@ -159,7 +159,7 @@ var theme = {
|
|
|
159
159
|
},
|
|
160
160
|
"lineHeight": {
|
|
161
161
|
"name": "--vkui--font_title3--line_height--regular",
|
|
162
|
-
"value": "var(--vkui--font_title3--line_height--regular,
|
|
162
|
+
"value": "var(--vkui--font_title3--line_height--regular, 22px)"
|
|
163
163
|
},
|
|
164
164
|
"fontFamily": {
|
|
165
165
|
"name": "--vkui--font_title3--font_family--regular",
|
|
@@ -1019,6 +1019,46 @@ var theme = {
|
|
|
1019
1019
|
"value": "var(--vkui--size_badge_x_l--regular, 56px)"
|
|
1020
1020
|
}
|
|
1021
1021
|
},
|
|
1022
|
+
"sizeCardgridPadding": {
|
|
1023
|
+
"auto": {
|
|
1024
|
+
"name": "--vkui--size_cardgrid_padding",
|
|
1025
|
+
"value": "var(--vkui--size_cardgrid_padding)"
|
|
1026
|
+
},
|
|
1027
|
+
"regular": {
|
|
1028
|
+
"name": "--vkui--size_cardgrid_padding--regular",
|
|
1029
|
+
"value": "var(--vkui--size_cardgrid_padding--regular, 12px)"
|
|
1030
|
+
}
|
|
1031
|
+
},
|
|
1032
|
+
"sizeCardBorderRadius": {
|
|
1033
|
+
"auto": {
|
|
1034
|
+
"name": "--vkui--size_card_border_radius",
|
|
1035
|
+
"value": "var(--vkui--size_card_border_radius)"
|
|
1036
|
+
},
|
|
1037
|
+
"regular": {
|
|
1038
|
+
"name": "--vkui--size_card_border_radius--regular",
|
|
1039
|
+
"value": "var(--vkui--size_card_border_radius--regular, 16px)"
|
|
1040
|
+
}
|
|
1041
|
+
},
|
|
1042
|
+
"sizeCardgridPaddingVertical": {
|
|
1043
|
+
"auto": {
|
|
1044
|
+
"name": "--vkui--size_cardgrid_padding_vertical",
|
|
1045
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical)"
|
|
1046
|
+
},
|
|
1047
|
+
"regular": {
|
|
1048
|
+
"name": "--vkui--size_cardgrid_padding_vertical--regular",
|
|
1049
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical--regular, 8px)"
|
|
1050
|
+
}
|
|
1051
|
+
},
|
|
1052
|
+
"sizeBasePaddingHorizontal": {
|
|
1053
|
+
"auto": {
|
|
1054
|
+
"name": "--vkui--size_base_padding_horizontal",
|
|
1055
|
+
"value": "var(--vkui--size_base_padding_horizontal)"
|
|
1056
|
+
},
|
|
1057
|
+
"regular": {
|
|
1058
|
+
"name": "--vkui--size_base_padding_horizontal--regular",
|
|
1059
|
+
"value": "var(--vkui--size_base_padding_horizontal--regular, 16px)"
|
|
1060
|
+
}
|
|
1061
|
+
},
|
|
1022
1062
|
"elevation1": {
|
|
1023
1063
|
"name": "--vkui--elevation1",
|
|
1024
1064
|
"value": "var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04))"
|
|
@@ -1909,6 +1949,10 @@ var theme = {
|
|
|
1909
1949
|
"name": "--vkui--type_border_position",
|
|
1910
1950
|
"value": "var(--vkui--type_border_position, inset)"
|
|
1911
1951
|
},
|
|
1952
|
+
"themeNameBase": {
|
|
1953
|
+
"name": "--vkui--theme_name_base",
|
|
1954
|
+
"value": "var(--vkui--theme_name_base, mycom)"
|
|
1955
|
+
},
|
|
1912
1956
|
"fontFamilyArticle": {
|
|
1913
1957
|
"name": "--vkui--font_family_article",
|
|
1914
1958
|
"value": "var(--vkui--font_family_article, Georgia, serif)"
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
},
|
|
158
158
|
"lineHeight": {
|
|
159
159
|
"name": "--vkui--font_title3--line_height--regular",
|
|
160
|
-
"value": "var(--vkui--font_title3--line_height--regular,
|
|
160
|
+
"value": "var(--vkui--font_title3--line_height--regular, 22px)"
|
|
161
161
|
},
|
|
162
162
|
"fontFamily": {
|
|
163
163
|
"name": "--vkui--font_title3--font_family--regular",
|
|
@@ -1017,6 +1017,46 @@
|
|
|
1017
1017
|
"value": "var(--vkui--size_badge_x_l--regular, 56px)"
|
|
1018
1018
|
}
|
|
1019
1019
|
},
|
|
1020
|
+
"sizeCardgridPadding": {
|
|
1021
|
+
"auto": {
|
|
1022
|
+
"name": "--vkui--size_cardgrid_padding",
|
|
1023
|
+
"value": "var(--vkui--size_cardgrid_padding)"
|
|
1024
|
+
},
|
|
1025
|
+
"regular": {
|
|
1026
|
+
"name": "--vkui--size_cardgrid_padding--regular",
|
|
1027
|
+
"value": "var(--vkui--size_cardgrid_padding--regular, 12px)"
|
|
1028
|
+
}
|
|
1029
|
+
},
|
|
1030
|
+
"sizeCardBorderRadius": {
|
|
1031
|
+
"auto": {
|
|
1032
|
+
"name": "--vkui--size_card_border_radius",
|
|
1033
|
+
"value": "var(--vkui--size_card_border_radius)"
|
|
1034
|
+
},
|
|
1035
|
+
"regular": {
|
|
1036
|
+
"name": "--vkui--size_card_border_radius--regular",
|
|
1037
|
+
"value": "var(--vkui--size_card_border_radius--regular, 16px)"
|
|
1038
|
+
}
|
|
1039
|
+
},
|
|
1040
|
+
"sizeCardgridPaddingVertical": {
|
|
1041
|
+
"auto": {
|
|
1042
|
+
"name": "--vkui--size_cardgrid_padding_vertical",
|
|
1043
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical)"
|
|
1044
|
+
},
|
|
1045
|
+
"regular": {
|
|
1046
|
+
"name": "--vkui--size_cardgrid_padding_vertical--regular",
|
|
1047
|
+
"value": "var(--vkui--size_cardgrid_padding_vertical--regular, 8px)"
|
|
1048
|
+
}
|
|
1049
|
+
},
|
|
1050
|
+
"sizeBasePaddingHorizontal": {
|
|
1051
|
+
"auto": {
|
|
1052
|
+
"name": "--vkui--size_base_padding_horizontal",
|
|
1053
|
+
"value": "var(--vkui--size_base_padding_horizontal)"
|
|
1054
|
+
},
|
|
1055
|
+
"regular": {
|
|
1056
|
+
"name": "--vkui--size_base_padding_horizontal--regular",
|
|
1057
|
+
"value": "var(--vkui--size_base_padding_horizontal--regular, 16px)"
|
|
1058
|
+
}
|
|
1059
|
+
},
|
|
1020
1060
|
"elevation1": {
|
|
1021
1061
|
"name": "--vkui--elevation1",
|
|
1022
1062
|
"value": "var(--vkui--elevation1, 0 2px 0 0 rgba(0, 16, 61, 0.04))"
|
|
@@ -1907,6 +1947,10 @@
|
|
|
1907
1947
|
"name": "--vkui--type_border_position",
|
|
1908
1948
|
"value": "var(--vkui--type_border_position, inset)"
|
|
1909
1949
|
},
|
|
1950
|
+
"themeNameBase": {
|
|
1951
|
+
"name": "--vkui--theme_name_base",
|
|
1952
|
+
"value": "var(--vkui--theme_name_base, mycom)"
|
|
1953
|
+
},
|
|
1910
1954
|
"fontFamilyArticle": {
|
|
1911
1955
|
"name": "--vkui--font_family_article",
|
|
1912
1956
|
"value": "var(--vkui--font_family_article, Georgia, serif)"
|
package/themes/mycom/index.css
CHANGED
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
--vkui--font_title2--font_family--compact: Proxima Nova, Arial, sans-serif;
|
|
22
22
|
--vkui--font_title2--font_weight--compact: 600;
|
|
23
23
|
--vkui--font_title3--font_size--regular: 17px;
|
|
24
|
-
--vkui--font_title3--line_height--regular:
|
|
24
|
+
--vkui--font_title3--line_height--regular: 22px;
|
|
25
25
|
--vkui--font_title3--font_family--regular: Proxima Nova, Arial, sans-serif;
|
|
26
26
|
--vkui--font_title3--font_weight--regular: 600;
|
|
27
27
|
--vkui--font_title3--font_family--compact: Proxima Nova, Arial, sans-serif;
|
|
@@ -117,6 +117,10 @@
|
|
|
117
117
|
--vkui--size_badge_m--regular: 24px;
|
|
118
118
|
--vkui--size_badge_l--regular: 44px;
|
|
119
119
|
--vkui--size_badge_x_l--regular: 56px;
|
|
120
|
+
--vkui--size_cardgrid_padding--regular: 12px;
|
|
121
|
+
--vkui--size_card_border_radius--regular: 16px;
|
|
122
|
+
--vkui--size_cardgrid_padding_vertical--regular: 8px;
|
|
123
|
+
--vkui--size_base_padding_horizontal--regular: 16px;
|
|
120
124
|
--vkui--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
121
125
|
--vkui--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
122
126
|
--vkui--elevation3: 0 4px 20px 0 rgba(0,0,0,.16);
|
|
@@ -239,6 +243,7 @@
|
|
|
239
243
|
--vkui--tone_value_focus: 0.08;
|
|
240
244
|
--vkui--type_border_button: solid;
|
|
241
245
|
--vkui--type_border_position: inset;
|
|
246
|
+
--vkui--theme_name_base: 'mycom';
|
|
242
247
|
--vkui--font_family_article: Georgia, serif;
|
|
243
248
|
--vkui--font_weight_article1: 400;
|
|
244
249
|
--vkui--font_weight_article2: 700;
|
|
@@ -664,8 +669,8 @@
|
|
|
664
669
|
.vkui--font_title3--regular {
|
|
665
670
|
font-size: 17px;
|
|
666
671
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
667
|
-
line-height:
|
|
668
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
672
|
+
line-height: 22px;
|
|
673
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
669
674
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
670
675
|
font-family: var(--vkui--font_title3--font_family--regular, Proxima Nova, Arial, sans-serif);
|
|
671
676
|
font-weight: 600;
|
|
@@ -674,8 +679,8 @@
|
|
|
674
679
|
.vkui--font_title3--compact {
|
|
675
680
|
font-size: 17px;
|
|
676
681
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
677
|
-
line-height:
|
|
678
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
682
|
+
line-height: 22px;
|
|
683
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
679
684
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
680
685
|
font-family: var(--vkui--font_title3--font_family--compact, Proxima Nova, Arial, sans-serif);
|
|
681
686
|
font-weight: 600;
|
package/themes/mycom/index.js
CHANGED
|
@@ -37,7 +37,7 @@ var theme = {
|
|
|
37
37
|
"fontTitle3": {
|
|
38
38
|
"regular": {
|
|
39
39
|
"fontSize": 17,
|
|
40
|
-
"lineHeight":
|
|
40
|
+
"lineHeight": 22,
|
|
41
41
|
"fontFamily": "Proxima Nova, Arial, sans-serif",
|
|
42
42
|
"fontWeight": 600
|
|
43
43
|
},
|
|
@@ -249,6 +249,18 @@ var theme = {
|
|
|
249
249
|
"sizeBadgeXL": {
|
|
250
250
|
"regular": 56
|
|
251
251
|
},
|
|
252
|
+
"sizeCardgridPadding": {
|
|
253
|
+
"regular": 12
|
|
254
|
+
},
|
|
255
|
+
"sizeCardBorderRadius": {
|
|
256
|
+
"regular": 16
|
|
257
|
+
},
|
|
258
|
+
"sizeCardgridPaddingVertical": {
|
|
259
|
+
"regular": 8
|
|
260
|
+
},
|
|
261
|
+
"sizeBasePaddingHorizontal": {
|
|
262
|
+
"regular": 16
|
|
263
|
+
},
|
|
252
264
|
"elevation1": "0 2px 0 0 rgba(0, 16, 61, 0.04)",
|
|
253
265
|
"elevation2": "0 4px 32px 0 rgba(0, 16, 61, 0.32)",
|
|
254
266
|
"elevation3": "0 4px 20px 0 rgba(0,0,0,.16)",
|
|
@@ -511,6 +523,7 @@ var theme = {
|
|
|
511
523
|
"toneValueFocus": 0.08,
|
|
512
524
|
"typeBorderButton": "solid",
|
|
513
525
|
"typeBorderPosition": "inset",
|
|
526
|
+
"themeNameBase": "mycom",
|
|
514
527
|
"fontFamilyArticle": "Georgia, serif",
|
|
515
528
|
"fontWeightArticle1": 400,
|
|
516
529
|
"fontWeightArticle2": 700,
|
package/themes/mycom/index.json
CHANGED
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"fontTitle3": {
|
|
36
36
|
"regular": {
|
|
37
37
|
"fontSize": 17,
|
|
38
|
-
"lineHeight":
|
|
38
|
+
"lineHeight": 22,
|
|
39
39
|
"fontFamily": "Proxima Nova, Arial, sans-serif",
|
|
40
40
|
"fontWeight": 600
|
|
41
41
|
},
|
|
@@ -247,6 +247,18 @@
|
|
|
247
247
|
"sizeBadgeXL": {
|
|
248
248
|
"regular": 56
|
|
249
249
|
},
|
|
250
|
+
"sizeCardgridPadding": {
|
|
251
|
+
"regular": 12
|
|
252
|
+
},
|
|
253
|
+
"sizeCardBorderRadius": {
|
|
254
|
+
"regular": 16
|
|
255
|
+
},
|
|
256
|
+
"sizeCardgridPaddingVertical": {
|
|
257
|
+
"regular": 8
|
|
258
|
+
},
|
|
259
|
+
"sizeBasePaddingHorizontal": {
|
|
260
|
+
"regular": 16
|
|
261
|
+
},
|
|
250
262
|
"elevation1": "0 2px 0 0 rgba(0, 16, 61, 0.04)",
|
|
251
263
|
"elevation2": "0 4px 32px 0 rgba(0, 16, 61, 0.32)",
|
|
252
264
|
"elevation3": "0 4px 20px 0 rgba(0,0,0,.16)",
|
|
@@ -509,6 +521,7 @@
|
|
|
509
521
|
"toneValueFocus": 0.08,
|
|
510
522
|
"typeBorderButton": "solid",
|
|
511
523
|
"typeBorderPosition": "inset",
|
|
524
|
+
"themeNameBase": "mycom",
|
|
512
525
|
"fontFamilyArticle": "Georgia, serif",
|
|
513
526
|
"fontWeightArticle1": 400,
|
|
514
527
|
"fontWeightArticle2": 700,
|
package/themes/mycom/index.less
CHANGED
|
@@ -44,6 +44,10 @@
|
|
|
44
44
|
@size-badge-m--regular: 24px;
|
|
45
45
|
@size-badge-l--regular: 44px;
|
|
46
46
|
@size-badge-x-l--regular: 56px;
|
|
47
|
+
@size-cardgrid-padding--regular: 12px;
|
|
48
|
+
@size-card-border-radius--regular: 16px;
|
|
49
|
+
@size-cardgrid-padding-vertical--regular: 8px;
|
|
50
|
+
@size-base-padding-horizontal--regular: 16px;
|
|
47
51
|
@elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
48
52
|
@elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
49
53
|
@elevation3: 0 4px 20px 0 rgba(0,0,0,.16);
|
|
@@ -142,6 +146,7 @@
|
|
|
142
146
|
@tone-value-focus: 0.08;
|
|
143
147
|
@type-border-button: solid;
|
|
144
148
|
@type-border-position: inset;
|
|
149
|
+
@theme-name-base: 'mycom';
|
|
145
150
|
@font-family-article: Georgia, serif;
|
|
146
151
|
@font-weight-article1: 400;
|
|
147
152
|
@font-weight-article2: 700;
|
|
@@ -521,13 +526,13 @@
|
|
|
521
526
|
}
|
|
522
527
|
.font-title3--regular {
|
|
523
528
|
font-size: 17px;
|
|
524
|
-
line-height:
|
|
529
|
+
line-height: 22px;
|
|
525
530
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
526
531
|
font-weight: 600;
|
|
527
532
|
}
|
|
528
533
|
.font-title3--compact {
|
|
529
534
|
font-size: 17px;
|
|
530
|
-
line-height:
|
|
535
|
+
line-height: 22px;
|
|
531
536
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
532
537
|
font-weight: 600;
|
|
533
538
|
}
|
package/themes/mycom/index.pcss
CHANGED
|
@@ -45,6 +45,10 @@
|
|
|
45
45
|
--size-badge-m--regular: 24px;
|
|
46
46
|
--size-badge-l--regular: 44px;
|
|
47
47
|
--size-badge-x-l--regular: 56px;
|
|
48
|
+
--size-cardgrid-padding--regular: 12px;
|
|
49
|
+
--size-card-border-radius--regular: 16px;
|
|
50
|
+
--size-cardgrid-padding-vertical--regular: 8px;
|
|
51
|
+
--size-base-padding-horizontal--regular: 16px;
|
|
48
52
|
--elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
49
53
|
--elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
50
54
|
--elevation3: 0 4px 20px 0 rgba(0,0,0,.16);
|
|
@@ -143,6 +147,7 @@
|
|
|
143
147
|
--tone-value-focus: 0.08;
|
|
144
148
|
--type-border-button: solid;
|
|
145
149
|
--type-border-position: inset;
|
|
150
|
+
--theme-name-base: 'mycom';
|
|
146
151
|
--font-family-article: Georgia, serif;
|
|
147
152
|
--font-weight-article1: 400;
|
|
148
153
|
--font-weight-article2: 700;
|
|
@@ -522,13 +527,13 @@
|
|
|
522
527
|
}
|
|
523
528
|
%font-title3--regular {
|
|
524
529
|
font-size: 17px;
|
|
525
|
-
line-height:
|
|
530
|
+
line-height: 22px;
|
|
526
531
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
527
532
|
font-weight: 600;
|
|
528
533
|
}
|
|
529
534
|
%font-title3--compact {
|
|
530
535
|
font-size: 17px;
|
|
531
|
-
line-height:
|
|
536
|
+
line-height: 22px;
|
|
532
537
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
533
538
|
font-weight: 600;
|
|
534
539
|
}
|
package/themes/mycom/index.scss
CHANGED
|
@@ -44,6 +44,10 @@ $size-badge-s--regular: 16px;
|
|
|
44
44
|
$size-badge-m--regular: 24px;
|
|
45
45
|
$size-badge-l--regular: 44px;
|
|
46
46
|
$size-badge-x-l--regular: 56px;
|
|
47
|
+
$size-cardgrid-padding--regular: 12px;
|
|
48
|
+
$size-card-border-radius--regular: 16px;
|
|
49
|
+
$size-cardgrid-padding-vertical--regular: 8px;
|
|
50
|
+
$size-base-padding-horizontal--regular: 16px;
|
|
47
51
|
$elevation1: 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
48
52
|
$elevation2: 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
49
53
|
$elevation3: 0 4px 20px 0 rgba(0,0,0,.16);
|
|
@@ -142,6 +146,7 @@ $tone-value-active: 0.08;
|
|
|
142
146
|
$tone-value-focus: 0.08;
|
|
143
147
|
$type-border-button: solid;
|
|
144
148
|
$type-border-position: inset;
|
|
149
|
+
$theme-name-base: 'mycom';
|
|
145
150
|
$font-family-article: Georgia, serif;
|
|
146
151
|
$font-weight-article1: 400;
|
|
147
152
|
$font-weight-article2: 700;
|
|
@@ -557,31 +562,31 @@ $font-title2--compact--map: (
|
|
|
557
562
|
);
|
|
558
563
|
@mixin font-title3--regular() {
|
|
559
564
|
font-size: 17px;
|
|
560
|
-
line-height:
|
|
565
|
+
line-height: 22px;
|
|
561
566
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
562
567
|
font-weight: 600;
|
|
563
568
|
}
|
|
564
569
|
$font-title3--regular--map: (
|
|
565
570
|
'fontSize': 17px,
|
|
566
|
-
'lineHeight':
|
|
571
|
+
'lineHeight': 22px,
|
|
567
572
|
'fontFamily': "Proxima Nova, Arial, sans-serif",
|
|
568
573
|
'fontWeight': 600,
|
|
569
574
|
);
|
|
570
575
|
@mixin font-title3--compact() {
|
|
571
576
|
font-size: 17px;
|
|
572
|
-
line-height:
|
|
577
|
+
line-height: 22px;
|
|
573
578
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
574
579
|
font-weight: 600;
|
|
575
580
|
}
|
|
576
581
|
$font-title3--regular--map: (
|
|
577
582
|
'fontSize': 17px,
|
|
578
|
-
'lineHeight':
|
|
583
|
+
'lineHeight': 22px,
|
|
579
584
|
'fontFamily': "Proxima Nova, Arial, sans-serif",
|
|
580
585
|
'fontWeight': 600,
|
|
581
586
|
);
|
|
582
587
|
$font-title3--compact--map: (
|
|
583
588
|
'fontSize': 17px,
|
|
584
|
-
'lineHeight':
|
|
589
|
+
'lineHeight': 22px,
|
|
585
590
|
'fontFamily': "Proxima Nova, Arial, sans-serif",
|
|
586
591
|
'fontWeight': 600,
|
|
587
592
|
);
|
package/themes/mycom/index.styl
CHANGED
|
@@ -44,6 +44,10 @@ $size-badge-s--regular = 16px;
|
|
|
44
44
|
$size-badge-m--regular = 24px;
|
|
45
45
|
$size-badge-l--regular = 44px;
|
|
46
46
|
$size-badge-x-l--regular = 56px;
|
|
47
|
+
$size-cardgrid-padding--regular = 12px;
|
|
48
|
+
$size-card-border-radius--regular = 16px;
|
|
49
|
+
$size-cardgrid-padding-vertical--regular = 8px;
|
|
50
|
+
$size-base-padding-horizontal--regular = 16px;
|
|
47
51
|
$elevation1 = 0 2px 0 0 rgba(0, 16, 61, 0.04);
|
|
48
52
|
$elevation2 = 0 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
49
53
|
$elevation3 = 0 4px 20px 0 rgba(0,0,0,.16);
|
|
@@ -142,6 +146,7 @@ $tone-value-active = 0.08;
|
|
|
142
146
|
$tone-value-focus = 0.08;
|
|
143
147
|
$type-border-button = solid;
|
|
144
148
|
$type-border-position = inset;
|
|
149
|
+
$theme-name-base = 'mycom';
|
|
145
150
|
$font-family-article = Georgia, serif;
|
|
146
151
|
$font-weight-article1 = 400;
|
|
147
152
|
$font-weight-article2 = 700;
|
|
@@ -521,13 +526,13 @@ font-title2--compact() {
|
|
|
521
526
|
}
|
|
522
527
|
font-title3--regular() {
|
|
523
528
|
font-size: 17px;
|
|
524
|
-
line-height:
|
|
529
|
+
line-height: 22px;
|
|
525
530
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
526
531
|
font-weight: 600;
|
|
527
532
|
}
|
|
528
533
|
font-title3--compact() {
|
|
529
534
|
font-size: 17px;
|
|
530
|
-
line-height:
|
|
535
|
+
line-height: 22px;
|
|
531
536
|
font-family: Proxima Nova, Arial, sans-serif;
|
|
532
537
|
font-weight: 600;
|
|
533
538
|
}
|
|
@@ -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 4px 32px 0 rgba(0, 16, 61, 0.32);
|
|
118
122
|
--vkui--elevation3: 0 16px 48px 0 rgba(0, 0, 0, 0.48);
|
|
@@ -871,8 +875,8 @@
|
|
|
871
875
|
.vkui--font_title3--regular {
|
|
872
876
|
font-size: 17px;
|
|
873
877
|
font-size: var(--vkui--font_title3--font_size--regular, 17px);
|
|
874
|
-
line-height:
|
|
875
|
-
line-height: var(--vkui--font_title3--line_height--regular,
|
|
878
|
+
line-height: 22px;
|
|
879
|
+
line-height: var(--vkui--font_title3--line_height--regular, 22px);
|
|
876
880
|
font-family: MailSans, Helvetica, Arial, sans-serif;
|
|
877
881
|
font-family: var(--vkui--font_title3--font_family--regular, MailSans, Helvetica, Arial, sans-serif);
|
|
878
882
|
font-weight: 500;
|
|
@@ -1173,7 +1177,7 @@
|
|
|
1173
1177
|
--vkui--font_title2--font_family: MailSans, Helvetica, Arial, sans-serif;
|
|
1174
1178
|
--vkui--font_title2--font_weight: 500;
|
|
1175
1179
|
--vkui--font_title3--font_size: 17px;
|
|
1176
|
-
--vkui--font_title3--line_height:
|
|
1180
|
+
--vkui--font_title3--line_height: 22px;
|
|
1177
1181
|
--vkui--font_title3--font_family: MailSans, Helvetica, Arial, sans-serif;
|
|
1178
1182
|
--vkui--font_title3--font_weight: 500;
|
|
1179
1183
|
--vkui--font_headline--font_size: 15px;
|
|
@@ -1261,6 +1265,10 @@
|
|
|
1261
1265
|
--vkui--size_badge_m: 24px;
|
|
1262
1266
|
--vkui--size_badge_l: 44px;
|
|
1263
1267
|
--vkui--size_badge_x_l: 56px;
|
|
1268
|
+
--vkui--size_cardgrid_padding: 12px;
|
|
1269
|
+
--vkui--size_card_border_radius: 16px;
|
|
1270
|
+
--vkui--size_cardgrid_padding_vertical: 8px;
|
|
1271
|
+
--vkui--size_base_padding_horizontal: 16px;
|
|
1264
1272
|
--vkui--font_h0--font_size: var(--vkui--font_h0--font_size--regular);
|
|
1265
1273
|
--vkui--font_h0--line_height: var(--vkui--font_h0--line_height--regular);
|
|
1266
1274
|
--vkui--font_h0--font_family: var(--vkui--font_h0--font_family--regular);
|