@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function getAllButColors(theme: Record<string, any>, themeNameBase?: unknown): any;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getAllButColors = void 0;
|
|
4
|
+
var regexSize = /^color/i;
|
|
5
|
+
function getAllButColors(theme, themeNameBase) {
|
|
6
|
+
return Object.keys(theme).reduce(function (acc, key) {
|
|
7
|
+
var value = theme[key];
|
|
8
|
+
var lookupKey = typeof themeNameBase === 'string' && key.startsWith(themeNameBase)
|
|
9
|
+
? key.slice(themeNameBase.length)
|
|
10
|
+
: key;
|
|
11
|
+
if (!regexSize.test(lookupKey)) {
|
|
12
|
+
acc[key] = value;
|
|
13
|
+
}
|
|
14
|
+
return acc;
|
|
15
|
+
}, {});
|
|
16
|
+
}
|
|
17
|
+
exports.getAllButColors = getAllButColors;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
var getAllButColors_1 = require("./getAllButColors");
|
|
4
|
+
describe('getAllButColors', function () {
|
|
5
|
+
it('should filter out tokens that start with "color"', function () {
|
|
6
|
+
expect(getAllButColors_1.getAllButColors({
|
|
7
|
+
colorBackground: '#FFF',
|
|
8
|
+
sizePaddingBase: 20,
|
|
9
|
+
fontText: {
|
|
10
|
+
fontFamily: 'Comic Sans',
|
|
11
|
+
},
|
|
12
|
+
x10: 5,
|
|
13
|
+
xxxTokenXxx: '8',
|
|
14
|
+
octaviusColorBackground: '#ACA',
|
|
15
|
+
octaviusSizePaddingBase: 8,
|
|
16
|
+
}, 'octavius')).toEqual({
|
|
17
|
+
sizePaddingBase: 20,
|
|
18
|
+
fontText: {
|
|
19
|
+
fontFamily: 'Comic Sans',
|
|
20
|
+
},
|
|
21
|
+
x10: 5,
|
|
22
|
+
xxxTokenXxx: '8',
|
|
23
|
+
octaviusSizePaddingBase: 8,
|
|
24
|
+
});
|
|
25
|
+
});
|
|
26
|
+
});
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Property } from 'csstype';
|
|
1
2
|
import { Animations } from './animations';
|
|
2
3
|
import { ColorDescription, Colors, ColorsDescriptionStruct } from './colors';
|
|
3
4
|
import { Elevation } from './elevation';
|
|
@@ -7,6 +8,7 @@ import { Adaptive } from './tools';
|
|
|
7
8
|
import { NamifyObject } from './tools/cssVars';
|
|
8
9
|
import { StringifyObject } from './tools/utils';
|
|
9
10
|
import { Fonts, TypographyBaseProps } from './typography';
|
|
11
|
+
import ColorScheme = Property.ColorScheme;
|
|
10
12
|
interface AdaptiveInterfaceValues extends Sizes, Fonts {
|
|
11
13
|
}
|
|
12
14
|
declare type AdaptiveTokens = {
|
|
@@ -51,6 +53,8 @@ export interface Theme extends ThemeGeneral, ColorsFinal {
|
|
|
51
53
|
*/
|
|
52
54
|
export declare type PixelifyTheme<T extends Partial<Record<keyof T, any>> = Theme> = StringifyObject<Omit<T, 'breakpoints' | 'themeType'>> & Pick<T, Extract<'breakpoints', keyof T>> & {
|
|
53
55
|
themeType: 'pixelify';
|
|
56
|
+
themeName: string;
|
|
57
|
+
colorScheme: ColorScheme;
|
|
54
58
|
};
|
|
55
59
|
/**
|
|
56
60
|
* Тема, которая каждой переменной даёт name и value в виде названия
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ThemeVkCom as ThemeVkComDark, ThemeVkComCssVars as ThemeVkComDarkCssVars, ThemeVkComDescription as ThemeVkComDarkDescription, } from '../vkCom';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ThemeVkIOS as ThemeVkIOSDark, ThemeVkIOSCssVars as ThemeVkIOSDarkCssVars, ThemeVkIOSDescription as ThemeVkIOSDarkDescription, } from '../vkIOS';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vkontakte/vkui-tokens",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "utils/descriptions.js",
|
|
@@ -234,7 +234,7 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
|
|
|
234
234
|
}, fontTitle3: {
|
|
235
235
|
regular: {
|
|
236
236
|
fontSize: 17,
|
|
237
|
-
lineHeight:
|
|
237
|
+
lineHeight: 22,
|
|
238
238
|
fontFamily: fontFamilyAccent,
|
|
239
239
|
fontWeight: fontWeightAccent3,
|
|
240
240
|
},
|
|
@@ -407,6 +407,16 @@ exports.lightThemeBase = __assign(__assign({ themeName: 'paradigmBase' }, export
|
|
|
407
407
|
}, sizeBadgeXL: {
|
|
408
408
|
regular: 56,
|
|
409
409
|
},
|
|
410
|
+
// Токены компонента Cardscroll
|
|
411
|
+
sizeCardgridPadding: {
|
|
412
|
+
regular: 12,
|
|
413
|
+
}, sizeCardBorderRadius: {
|
|
414
|
+
regular: 16,
|
|
415
|
+
}, sizeCardgridPaddingVertical: {
|
|
416
|
+
regular: 8,
|
|
417
|
+
}, sizeBasePaddingHorizontal: {
|
|
418
|
+
regular: 16,
|
|
419
|
+
},
|
|
410
420
|
// Прочие отступы
|
|
411
421
|
elevation1: '0 2px 0 0 rgba(0, 16, 61, 0.04)', elevation2: '0 4px 32px 0 rgba(0, 16, 61, 0.32)', elevation3: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', elevation4: '0 16px 48px 0 rgba(0, 0, 0, 0.48)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.48, opacityDisableAccessibility: 0.64 });
|
|
412
422
|
var x05 = common_1.helpers.x05, x1 = common_1.helpers.x1, x2 = common_1.helpers.x2, x3 = common_1.helpers.x3, x4 = common_1.helpers.x4, x5 = common_1.helpers.x5, x6 = common_1.helpers.x6, x8 = common_1.helpers.x8, x10 = common_1.helpers.x10;
|
|
@@ -23,10 +23,16 @@ var fontWeightBase3 = 600;
|
|
|
23
23
|
exports.lightColors = {
|
|
24
24
|
colorsScheme: 'light',
|
|
25
25
|
colors: {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
26
|
+
colorBackgroundAccent: '#2688EB',
|
|
27
|
+
colorBackgroundAccentThemed: '#2688EB',
|
|
28
|
+
colorBackgroundAccentAlternative: '#2688EB',
|
|
29
|
+
colorIconAccent: '#2688EB',
|
|
30
|
+
colorTextAccent: '#2688EB',
|
|
31
|
+
colorTextAccentThemed: '#2688EB',
|
|
32
|
+
colorStrokeAccent: '#2688EB',
|
|
33
|
+
colorStrokeAccentThemed: '#2688EB',
|
|
34
|
+
colorStrokeContrast: '#FFFFFF',
|
|
35
|
+
colorActionSheetText: '#3F8AE0',
|
|
30
36
|
colorBackgroundContent: '#FFFFFF',
|
|
31
37
|
colorBackgroundSecondary: '#F5F5F5',
|
|
32
38
|
colorBackgroundSecondaryAlpha: {
|
|
@@ -40,29 +46,12 @@ exports.lightColors = {
|
|
|
40
46
|
colorBackgroundContrastSecondaryAlpha: 'rgba(255, 255, 255, 0.20)',
|
|
41
47
|
colorBackgroundWarning: '#FFF2D6',
|
|
42
48
|
colorBackgroundNegative: '#E64646',
|
|
43
|
-
colorBackgroundModal: '#FFFFFF',
|
|
44
|
-
colorBackgroundPositive: '#4BB34B',
|
|
45
49
|
colorBackgroundNegativeTint: '#FAEBEB',
|
|
46
|
-
// Text
|
|
47
|
-
colorTextAccent: '#3F8AE0',
|
|
48
|
-
colorTextAccentThemed: '#3F8AE0',
|
|
49
50
|
colorTextNegative: '#E64646',
|
|
50
|
-
colorTextLink: '#4986CC',
|
|
51
|
-
colorTextLinkThemed: '#4986CC',
|
|
52
|
-
colorTextMuted: '#2C2D2E',
|
|
53
|
-
colorTextPrimary: '#000000',
|
|
54
|
-
colorTextPrimaryInvariably: '#000000',
|
|
55
|
-
colorTextSecondary: '#818C99',
|
|
56
|
-
colorTextSubhead: '#6D7885',
|
|
57
|
-
colorTextTertiary: '#99A2AD',
|
|
58
|
-
colorTextLinkVisited: '#4986CC',
|
|
59
|
-
colorTextContrast: '#FFFFFF',
|
|
60
|
-
colorTextContrastThemed: '#FFFFFF',
|
|
61
|
-
colorLinkContrast: '#FFFFFF',
|
|
62
|
-
colorTextPositive: '#4BB34B',
|
|
63
|
-
// Icons
|
|
64
|
-
colorIconAccent: '#3F8AE0',
|
|
65
51
|
colorIconNegative: '#E64646',
|
|
52
|
+
colorStrokeNegative: '#E64646',
|
|
53
|
+
colorHeaderBackground: '#FFFFFF',
|
|
54
|
+
colorPanelHeaderIcon: '#2688EB',
|
|
66
55
|
colorIconPrimary: '#2C2D2E',
|
|
67
56
|
colorIconPrimaryInvariably: '#2C2D2E',
|
|
68
57
|
colorIconMedium: '#818C99',
|
|
@@ -71,21 +60,28 @@ exports.lightColors = {
|
|
|
71
60
|
colorIconSecondaryAlpha: 'rgba(0, 0, 0, 0.36)',
|
|
72
61
|
colorIconTertiary: '#B8C1CC',
|
|
73
62
|
colorIconTertiaryAlpha: 'rgba(0, 0, 0, 0.24)',
|
|
74
|
-
colorIconContrast: '#FFFFFF',
|
|
75
|
-
colorIconContrastThemed: '#FFFFFF',
|
|
76
|
-
colorIconPositive: '#4BB34B',
|
|
77
|
-
// Stroke
|
|
78
|
-
colorStrokeAccent: '#3F8AE0',
|
|
79
|
-
colorStrokeAccentThemed: '#3F8AE0',
|
|
80
|
-
colorStrokeContrast: '#FFFFFF',
|
|
81
|
-
colorStrokeNegative: '#E64646',
|
|
82
63
|
colorImageBorderAlpha: 'rgba(0, 0, 0, 0.08)',
|
|
64
|
+
colorWriteBarInputBackground: '#F2F3F5',
|
|
65
|
+
colorWriteBarInputBorderAlpha: 'rgba(0, 0, 0, 0.08)',
|
|
66
|
+
colorTrackBackground: '#E1E3E6',
|
|
67
|
+
colorTrackBuffer: '#A0BFE4',
|
|
68
|
+
colorBackgroundModal: '#FFFFFF',
|
|
69
|
+
colorImagePlaceholderAlpha: 'rgba(0, 28, 61, 0.08)',
|
|
70
|
+
colorImagePlaceholder: '#F2F3F5',
|
|
71
|
+
colorSearchFieldBackground: '#EBEDF0',
|
|
83
72
|
colorFieldBorderAlpha: 'rgba(0, 0, 0, 0.12)',
|
|
84
73
|
colorSeparatorPrimaryAlpha: 'rgba(0, 0, 0, 0.12)',
|
|
85
74
|
colorSeparatorSecondary: '#E1E3E6',
|
|
86
75
|
colorSeparatorPrimary: '#D7D8D9',
|
|
87
|
-
|
|
88
|
-
|
|
76
|
+
colorTextLink: '#2D81E0',
|
|
77
|
+
colorTextLinkThemed: '#4986CC',
|
|
78
|
+
colorTextMuted: '#2C2D2E',
|
|
79
|
+
colorTextPrimary: '#000000',
|
|
80
|
+
colorTextPrimaryInvariably: '#000000',
|
|
81
|
+
colorTextSecondary: '#818C99',
|
|
82
|
+
colorTextSubhead: '#6D7885',
|
|
83
|
+
colorTextTertiary: '#99A2AD',
|
|
84
|
+
colorWriteBarIcon: '#3F8AE0',
|
|
89
85
|
colorAccentBlue: '#3F8AE0',
|
|
90
86
|
colorAccentGray: '#A3ADB8',
|
|
91
87
|
colorAccentRed: '#FF3347',
|
|
@@ -93,21 +89,19 @@ exports.lightColors = {
|
|
|
93
89
|
colorAccentOrange: '#FFA000',
|
|
94
90
|
colorAccentPurple: '#735CE6',
|
|
95
91
|
colorAccentViolet: '#792EC0',
|
|
96
|
-
colorAccentSecondary: '#3F8AE0',
|
|
97
|
-
// Other
|
|
98
|
-
colorActionSheetText: '#3F8AE0',
|
|
99
|
-
colorHeaderBackground: '#FFFFFF',
|
|
100
|
-
colorPanelHeaderIcon: '#3F8AE0',
|
|
101
|
-
colorWriteBarInputBackground: '#F2F3F5',
|
|
102
|
-
colorWriteBarInputBorderAlpha: 'rgba(0, 0, 0, 0.08)',
|
|
103
|
-
colorTrackBackground: '#E1E3E6',
|
|
104
|
-
colorTrackBuffer: '#A0BFE4',
|
|
105
|
-
colorImagePlaceholderAlpha: 'rgba(0, 28, 61, 0.08)',
|
|
106
|
-
colorImagePlaceholder: '#F2F3F5',
|
|
107
|
-
colorSearchFieldBackground: '#EBEDF0',
|
|
108
|
-
colorWriteBarIcon: '#3F8AE0',
|
|
109
92
|
colorSkeletonFrom: '#F5F5F5',
|
|
110
93
|
colorSkeletonTo: '#E1E3E6',
|
|
94
|
+
colorAccentSecondary: '#3F8AE0',
|
|
95
|
+
colorTextLinkVisited: '#4986CC',
|
|
96
|
+
colorTextContrast: '#FFFFFF',
|
|
97
|
+
colorTextContrastThemed: '#FFFFFF',
|
|
98
|
+
colorIconContrast: '#FFFFFF',
|
|
99
|
+
colorIconContrastThemed: '#FFFFFF',
|
|
100
|
+
colorLinkContrast: '#FFFFFF',
|
|
101
|
+
colorTextPositive: '#4BB34B',
|
|
102
|
+
colorBackgroundPositive: '#4BB34B',
|
|
103
|
+
colorIconPositive: '#4BB34B',
|
|
104
|
+
colorStrokePositive: '#4BB34B',
|
|
111
105
|
colorAvatarOverlay: 'rgba(129, 140, 153, 0.48)',
|
|
112
106
|
colorOverlayPrimary: 'rgba(0, 0, 0, 0.4)',
|
|
113
107
|
colorTransparent: 'transparent',
|
|
@@ -116,10 +110,16 @@ exports.lightColors = {
|
|
|
116
110
|
exports.darkColors = {
|
|
117
111
|
colorsScheme: 'dark',
|
|
118
112
|
colors: {
|
|
119
|
-
|
|
120
|
-
colorBackgroundAccent: '#71AAEB',
|
|
113
|
+
colorBackgroundAccent: '#529EF4',
|
|
121
114
|
colorBackgroundAccentThemed: '#FFFFFF',
|
|
122
|
-
colorBackgroundAccentAlternative: '#
|
|
115
|
+
colorBackgroundAccentAlternative: '#529EF4',
|
|
116
|
+
colorIconAccent: '#529EF4',
|
|
117
|
+
colorTextAccent: '#529EF4',
|
|
118
|
+
colorTextAccentThemed: '#FFFFFF',
|
|
119
|
+
colorStrokeAccent: '#529EF4',
|
|
120
|
+
colorStrokeAccentThemed: '#FFFFFF',
|
|
121
|
+
colorStrokeContrast: '#FFFFFF',
|
|
122
|
+
colorActionSheetText: '#529EF4',
|
|
123
123
|
colorBackgroundContent: '#19191A',
|
|
124
124
|
colorBackgroundSecondary: '#232324',
|
|
125
125
|
colorBackgroundSecondaryAlpha: {
|
|
@@ -133,29 +133,12 @@ exports.darkColors = {
|
|
|
133
133
|
colorBackgroundContrastSecondaryAlpha: 'rgba(255, 255, 255, 0.20)',
|
|
134
134
|
colorBackgroundWarning: '#6C4A00',
|
|
135
135
|
colorBackgroundNegative: '#E64646',
|
|
136
|
-
|
|
137
|
-
colorBackgroundPositive: '#4BB34B',
|
|
138
|
-
colorBackgroundNegativeTint: '#522e2e',
|
|
139
|
-
// Text
|
|
140
|
-
colorTextAccent: '#71AAEB',
|
|
141
|
-
colorTextAccentThemed: '#FFFFFF',
|
|
136
|
+
colorBackgroundNegativeTint: '#522E2E',
|
|
142
137
|
colorTextNegative: '#E64646',
|
|
143
|
-
colorTextLink: '#71AAEB',
|
|
144
|
-
colorTextLinkThemed: '#FFFFFF',
|
|
145
|
-
colorTextMuted: '#E1E3E6',
|
|
146
|
-
colorTextPrimary: '#E1E3E6',
|
|
147
|
-
colorTextPrimaryInvariably: '#000000',
|
|
148
|
-
colorTextSecondary: '#76787A',
|
|
149
|
-
colorTextSubhead: '#C1C3C6',
|
|
150
|
-
colorTextTertiary: '#636567',
|
|
151
|
-
colorTextLinkVisited: '#4986CC',
|
|
152
|
-
colorTextContrast: '#FFFFFF',
|
|
153
|
-
colorTextContrastThemed: '#000000',
|
|
154
|
-
colorLinkContrast: '#FFFFFF',
|
|
155
|
-
colorTextPositive: '#4BB34B',
|
|
156
|
-
// Icons
|
|
157
|
-
colorIconAccent: '#71AAEB',
|
|
158
138
|
colorIconNegative: '#E64646',
|
|
139
|
+
colorStrokeNegative: '#E64646',
|
|
140
|
+
colorHeaderBackground: '#19191A',
|
|
141
|
+
colorPanelHeaderIcon: '#71AAEB',
|
|
159
142
|
colorIconPrimary: '#E1E3E6',
|
|
160
143
|
colorIconPrimaryInvariably: '#2C2D2E',
|
|
161
144
|
colorIconMedium: '#B0B1B6',
|
|
@@ -164,22 +147,29 @@ exports.darkColors = {
|
|
|
164
147
|
colorIconSecondaryAlpha: 'rgba(0, 0, 0, 0.43)',
|
|
165
148
|
colorIconTertiary: '#5D5F61',
|
|
166
149
|
colorIconTertiaryAlpha: 'rgba(255, 255, 255, 0.3)',
|
|
167
|
-
colorIconContrast: '#FFFFFF',
|
|
168
|
-
colorIconContrastThemed: '#000000',
|
|
169
|
-
colorIconPositive: '#4BB34B',
|
|
170
|
-
// Stroke
|
|
171
|
-
colorStrokeAccent: '#71AAEB',
|
|
172
|
-
colorStrokeAccentThemed: '#FFFFFF',
|
|
173
|
-
colorStrokeContrast: '#FFFFFF',
|
|
174
|
-
colorStrokeNegative: '#E64646',
|
|
175
150
|
colorImageBorderAlpha: 'rgba(255, 255, 255, 0.08)',
|
|
151
|
+
colorWriteBarInputBackground: '#232324',
|
|
152
|
+
colorWriteBarInputBorderAlpha: 'rgba(255, 255, 255, 0.8)',
|
|
153
|
+
colorTrackBackground: '#202021',
|
|
154
|
+
colorTrackBuffer: '#405772',
|
|
155
|
+
colorBackgroundModal: '#2D2D2E',
|
|
156
|
+
colorImagePlaceholderAlpha: 'rgba(241, 247, 255, 0.08)',
|
|
157
|
+
colorImagePlaceholder: '#2A2B2C',
|
|
158
|
+
colorSearchFieldBackground: '#232324',
|
|
176
159
|
colorFieldBorderAlpha: 'rgba(255, 255, 255, 0.12)',
|
|
177
160
|
colorSeparatorPrimaryAlpha: 'rgba(0, 0, 0, 0.4)',
|
|
178
161
|
colorSeparatorSecondary: '#141415',
|
|
179
162
|
colorSeparatorPrimary: '#0F0F10',
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
163
|
+
colorTextLink: '#529EF4',
|
|
164
|
+
colorTextLinkThemed: '#FFFFFF',
|
|
165
|
+
colorTextMuted: '#E1E3E6',
|
|
166
|
+
colorTextPrimary: '#E1E3E6',
|
|
167
|
+
colorTextPrimaryInvariably: '#000000',
|
|
168
|
+
colorTextSecondary: '#76787A',
|
|
169
|
+
colorTextSubhead: '#C1C3C6',
|
|
170
|
+
colorTextTertiary: '#636567',
|
|
171
|
+
colorWriteBarIcon: '#529EF4',
|
|
172
|
+
colorAccentBlue: '#529EF4',
|
|
183
173
|
// цвета ниже нужно поменять
|
|
184
174
|
// не успел сделать к релизу тёмной версии vk почты
|
|
185
175
|
colorAccentGray: '#A3ADB8',
|
|
@@ -188,27 +178,25 @@ exports.darkColors = {
|
|
|
188
178
|
colorAccentOrange: '#FFA000',
|
|
189
179
|
colorAccentPurple: '#735CE6',
|
|
190
180
|
colorAccentViolet: '#792EC0',
|
|
191
|
-
colorAccentSecondary: '#3F8AE0',
|
|
192
|
-
// Other
|
|
193
|
-
colorActionSheetText: '#71AAEB',
|
|
194
|
-
colorHeaderBackground: '#19191A',
|
|
195
|
-
colorPanelHeaderIcon: '#71AAEB',
|
|
196
|
-
colorWriteBarInputBackground: '#232324',
|
|
197
|
-
colorWriteBarInputBorderAlpha: 'rgba(255, 255, 255, 0.8)',
|
|
198
|
-
colorTrackBackground: '#202021',
|
|
199
|
-
colorTrackBuffer: '#405772',
|
|
200
|
-
colorImagePlaceholderAlpha: 'rgba(241, 247, 255, 0.08)',
|
|
201
|
-
colorImagePlaceholder: '#2A2B2C',
|
|
202
|
-
colorSearchFieldBackground: '#232324',
|
|
203
|
-
colorWriteBarIcon: '#76787A',
|
|
204
181
|
colorSkeletonFrom: '#F5F5F5',
|
|
205
182
|
colorSkeletonTo: '#E1E3E6',
|
|
183
|
+
colorAccentSecondary: '#3F8AE0',
|
|
184
|
+
colorTextLinkVisited: '#4986CC',
|
|
185
|
+
colorTextContrast: '#FFFFFF',
|
|
186
|
+
colorTextContrastThemed: '#000000',
|
|
187
|
+
colorIconContrast: '#FFFFFF',
|
|
188
|
+
colorIconContrastThemed: '#000000',
|
|
189
|
+
colorLinkContrast: '#FFFFFF',
|
|
190
|
+
colorTextPositive: '#4BB34B',
|
|
191
|
+
colorBackgroundPositive: '#4BB34B',
|
|
192
|
+
colorIconPositive: '#4BB34B',
|
|
193
|
+
colorStrokePositive: '#4BB34B',
|
|
206
194
|
colorAvatarOverlay: 'rgba(129, 140, 153, 0.48)',
|
|
207
195
|
colorOverlayPrimary: 'rgba(0, 0, 0, 0.4)',
|
|
208
196
|
colorTransparent: 'transparent',
|
|
209
197
|
},
|
|
210
198
|
};
|
|
211
|
-
exports.lightTheme = __assign(__assign({ themeName: 'vkBase' }, exports.lightColors), {
|
|
199
|
+
exports.lightTheme = __assign(__assign({ themeName: 'vkBase', themeNameBase: 'vkBase' }, exports.lightColors), {
|
|
212
200
|
// Типографика
|
|
213
201
|
fontFamilyAccent: fontFamilyAccent,
|
|
214
202
|
fontFamilyBase: fontFamilyBase,
|
|
@@ -236,7 +224,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase' }, exports.lightCol
|
|
|
236
224
|
}, fontTitle3: {
|
|
237
225
|
regular: {
|
|
238
226
|
fontSize: 17,
|
|
239
|
-
lineHeight:
|
|
227
|
+
lineHeight: 22,
|
|
240
228
|
letterSpacing: '-0.22px',
|
|
241
229
|
fontFamily: fontFamilyAccent,
|
|
242
230
|
fontWeight: fontWeightAccent3,
|
|
@@ -370,7 +358,7 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase' }, exports.lightCol
|
|
|
370
358
|
compact: 32,
|
|
371
359
|
}, sizeButtonSmallHeight: {
|
|
372
360
|
regular: 30,
|
|
373
|
-
compact:
|
|
361
|
+
compact: 28,
|
|
374
362
|
}, sizeCheckbox: {
|
|
375
363
|
regular: 16,
|
|
376
364
|
}, sizeArrow: {
|
|
@@ -414,6 +402,16 @@ exports.lightTheme = __assign(__assign({ themeName: 'vkBase' }, exports.lightCol
|
|
|
414
402
|
}, sizeBadgeXL: {
|
|
415
403
|
regular: 56,
|
|
416
404
|
},
|
|
405
|
+
// Токены компонента Cardscroll
|
|
406
|
+
sizeCardgridPadding: {
|
|
407
|
+
regular: 8,
|
|
408
|
+
}, sizeCardBorderRadius: {
|
|
409
|
+
regular: 8,
|
|
410
|
+
}, sizeCardgridPaddingVertical: {
|
|
411
|
+
regular: 8,
|
|
412
|
+
}, sizeBasePaddingHorizontal: {
|
|
413
|
+
regular: 16,
|
|
414
|
+
},
|
|
417
415
|
// Прочие отступы
|
|
418
416
|
elevation1: '0px 0px 2px rgba(0, 0, 0, 0.03), 0px 2px 2px rgba(0, 0, 0, 0.06)', elevation2: '0px 0px 2px rgba(0, 0, 0, 0.04), 0px 4px 4px rgba(0, 0, 0, 0.08)', elevation3: '0px 0px 4px rgba(0, 0, 0, 0.08), 0px 8px 8px rgba(0, 0, 0, 0.16)', elevation4: '0px 0px 8px rgba(0, 0, 0, 0.12), 0px 16px 16px rgba(0, 0, 0, 0.16)', animationDurationL: '0.4s', animationDurationM: '0.2s', animationDurationS: '0.1s', animationEasingDefault: 'cubic-bezier(0.3, 0.3, 0.5, 1)', opacityDisable: 0.4, opacityDisableAccessibility: 0.64 });
|
|
419
417
|
exports.darkTheme = __assign(__assign(__assign({}, exports.lightTheme), exports.darkColors), { themeName: 'vkBaseDark', colorsScheme: 'dark',
|
|
@@ -119,6 +119,10 @@
|
|
|
119
119
|
--vkui--size_badge_m--regular: 24px;
|
|
120
120
|
--vkui--size_badge_l--regular: 44px;
|
|
121
121
|
--vkui--size_badge_x_l--regular: 56px;
|
|
122
|
+
--vkui--size_cardgrid_padding--regular: 12px;
|
|
123
|
+
--vkui--size_card_border_radius--regular: 16px;
|
|
124
|
+
--vkui--size_cardgrid_padding_vertical--regular: 8px;
|
|
125
|
+
--vkui--size_base_padding_horizontal--regular: 16px;
|
|
122
126
|
--vkui--elevation1: none;
|
|
123
127
|
--vkui--elevation2: none;
|
|
124
128
|
--vkui--elevation3: 0px 4px 32px rgba(0, 16, 61, 0.32);
|
|
@@ -233,6 +237,7 @@
|
|
|
233
237
|
--vkui--tone_value_focus: 0.08;
|
|
234
238
|
--vkui--type_border_button: solid;
|
|
235
239
|
--vkui--type_border_position: inset;
|
|
240
|
+
--vkui--theme_name_base: 'calendar';
|
|
236
241
|
--vkui--font_event_m--font_size--compact: 17px;
|
|
237
242
|
--vkui--font_event_m--line_height--compact: 24px;
|
|
238
243
|
--vkui--font_event_m--font_weight--compact: 500;
|
|
@@ -1060,6 +1065,10 @@
|
|
|
1060
1065
|
--vkui--size_badge_m: 24px;
|
|
1061
1066
|
--vkui--size_badge_l: 44px;
|
|
1062
1067
|
--vkui--size_badge_x_l: 56px;
|
|
1068
|
+
--vkui--size_cardgrid_padding: 12px;
|
|
1069
|
+
--vkui--size_card_border_radius: 16px;
|
|
1070
|
+
--vkui--size_cardgrid_padding_vertical: 8px;
|
|
1071
|
+
--vkui--size_base_padding_horizontal: 16px;
|
|
1063
1072
|
--vkui--font_h0--font_size: 32px;
|
|
1064
1073
|
--vkui--font_h0--line_height: 40px;
|
|
1065
1074
|
--vkui--font_h0--font_weight: 500;
|