diff --git a/docs/docs.d.ts b/docs/docs.d.ts index 976923f62..573880f37 100644 --- a/docs/docs.d.ts +++ b/docs/docs.d.ts @@ -2,3 +2,9 @@ declare module '*.svg' { const content: any; export default content; } + +declare module '*.md' { + const content: any; + export default content; +} + diff --git a/docs/src/App.tsx b/docs/src/App.tsx index 8ed21fbb7..d18b3ec08 100644 --- a/docs/src/App.tsx +++ b/docs/src/App.tsx @@ -2,13 +2,63 @@ import '@vkontakte/vkui/dist/vkui.css'; import './styles/index.css'; import React, { FC } from 'react'; +import { + createBrowserRouter, + RouterProvider, + } from "react-router-dom"; import Main from '@/components/layouts/Main'; import Tokens from '@/pages/Tokens'; +import { Articles } from './pages/Articles'; + +import articleNewTheme from "./articles/NewTheme.md"; +import articleTokenHelpers from "./articles/TokenHelpers.md"; + +const articles = [ + { + title: "Темы", + }, + { + slug: "new-theme", + title: "Создание новой темы для проекта", + contents: articleNewTheme, + }, + { + title: "Токены", + }, + { + slug: "token-helpers", + title: "Хелпер-функции", + contents: articleTokenHelpers, + }, +]; + +const router = createBrowserRouter([ + { + path: "/", + element: , + }, + { + path: "/articles", + element: + }, + ...articles + .filter((article) => !!article.slug) + .map((article) => ( + { + path: `/articles/${article.slug}`, + element: + } + )), +]); + +router.subscribe(() => { + window.scrollTo(0, 0); +}); const App: FC = () => (
- +
); diff --git a/docs/articles/new-theme/INDEX.md b/docs/src/articles/NewTheme.md similarity index 96% rename from docs/articles/new-theme/INDEX.md rename to docs/src/articles/NewTheme.md index cb81e45d5..c542dc25e 100644 --- a/docs/articles/new-theme/INDEX.md +++ b/docs/src/articles/NewTheme.md @@ -1,4 +1,4 @@ -# Создание новой темы для вашего проекта +# Создание новой темы для проекта Если вы хотите использовать токены VKUI не только в связке с основной библиотекой, но и в произвольной вёрстке, у вас может возникнуть потребность расширения стандартного набора. @@ -14,7 +14,7 @@ Прежде, чем заводить свою тему, вам нужно ответить для себя на следующий вопрос: -_Какая из базовых тем будет являться основной для вашего проекта?_ +### Какая из базовых тем будет являться основной для вашего проекта? Выбор базовой темы влияет на внешний вид вашего проекта в тех местах, которые вы не поправите в своей теме. diff --git a/docs/src/articles/TokenHelpers.md b/docs/src/articles/TokenHelpers.md new file mode 100644 index 000000000..7bf468a7d --- /dev/null +++ b/docs/src/articles/TokenHelpers.md @@ -0,0 +1,211 @@ +# Хелпер-функции для токенов +Значения токенов бывают разные. Большинство токенов можно выразить либо числом (размеры), либо строкой (цвета, шрифты и прочее). + +Но иногда для правильной записи значений базовых типов недостаточно. Бывавет так, что в значении токена нужно сослаться +на другой токен, или сгенерировать значение токена по набору правил. + +Для этих целей в пакете `@vkontakte/vkui-tokens` предусмотрены **функции-хелперы**. Они выполняются на этапе +сборки темы и позволяют управлять тем, какие значения попадут в итоговые файлы. + +  + +## `alias` +Функция выполняет подстановку значения другого токена. + +Будьте осторожны с указанием токенов, которые сами являются ссылками. +Неправильно указанный токен может привезти к переполнению стека и крешу сборки! + +### Интерфейс +```typescript +function alias(token: string): TokenFunction; +``` + +### Параметры +* **token** — Имя токена. Можно использовать токены из текущей темы либо из всех тем, от которой наследуется текущая. + +### Пример +Исходный файл темы: + +```typescript +import { ParadigmThemeDescription } from '@/interfaces/namespaces/paradigm'; +import { lightTheme } from '@/themeDescriptions/base/paradigm'; +import { alias } from '@/build/helpers/tokenHelpers'; + +export const myCustomTheme: ParadigmThemeDescription = { + ...lightTheme, + sizeArrow: alias('sizeArrowPromo'), + sizeArrowPromo: { + regular: 8, + }, +}; +``` + +Итоговый файл с темой: + +```css +:root { + /* ... */ + --vkui--size_arrow--regular: 8px; + --vkui--size_arrow_promo--regular: 8px; + /* ... */ +} +``` + +  + +## `namedAlias` +Функция создаёт именованый алиас — runtime-ссылку на другой токен темы выполняет подстановку +fallback-значения этого токена. + +Будьте осторожны с указанием токенов, которые сами являются ссылками. +Неправильно указанный токен может привезти к переполнению стека и крешу сборки! + +### Интерфейс +```typescript +function namedAlias(token: string): NamedTokenFunction +``` + +### Параметры +* **token** — Имя токена. Можно использовать токены из текущей темы либо из всех тем, от которой наследуется текущая. + +### Пример +Исходный файл темы: + +```typescript +import { ParadigmThemeDescription } from '@/interfaces/namespaces/paradigm'; +import { lightTheme } from '@/themeDescriptions/base/paradigm'; +import { namedAlias } from '@/build/helpers/tokenHelpers'; + +export const myCustomTheme: ParadigmThemeDescription = { + ...lightTheme, + sizeArrow: namedAlias('sizeArrowPromo'), + sizeArrowPromo: { + regular: 8, + }, +}; +``` + +Итоговый файл с темой: + +```css +:root { + /* ... */ + --vkui--size_arrow--regular: var(--vkui--size_arrow_promo--regular, 8px); + --vkui--size_arrow_promo--regular: 8px; + /* ... */ +} +``` + +  + +## `staticRef` +Функция создаёт runtime-ссылку на другой токен темы. + +### Интерфейс +```typescript +function staticRef(value: Token): T; +``` + +### Параметры +* **token** — Имя токена. Можно использовать любые токены, которые находятся в контексте страницы. + +### Пример +Исходный файл темы: + +```typescript +import { ParadigmThemeDescription } from '@/interfaces/namespaces/paradigm'; +import { lightTheme } from '@/themeDescriptions/base/paradigm'; +import { staticRef } from '@/build/helpers/tokenHelpers'; + +export const myCustomTheme: ParadigmThemeDescription = { + ...lightTheme, + sizeArrow: staticRef('sizeArrowPromo'), + sizeArrowPromo: { + regular: 8, + }, +}; +``` + +Итоговый файл с темой: + +```css +:root { + /* ... */ + --vkui--size_arrow--regular: var(--vkui--size_arrow_promo--regular); + --vkui--size_arrow_promo--regular: 8px; + /* ... */ +} +``` + +  + +## `gradient` +Функция создаёт градиент из одного или нескольких цветов. + +Если передан один цвет, система сборки сгенериурет градиент из указанного цвета в прозрачный. При этом +градиент будет построен по точкам, указанным в файле `opacityMap.json`. + +Если передано два и более цветов, будет сгенерирован градиент между этими цветами с равномерной расстановкой точек. + +### Интерфейс +```typescript +export function gradient ( + ...stops: (Property.Color | NamedTokenFunction)[] +): TokenFunction; +``` + +### Параметры +* **stops** — Список точек градиента. Можно использовать цвета в строковом формате (rgba, hex) и именованые + алиасы, созданные с помощью хелпера `namedAlias`. + +### Пример +Исходный файл темы: + +```typescript +import { ParadigmThemeDescription } from '@/interfaces/namespaces/paradigm'; +import { lightTheme } from '@/themeDescriptions/base/paradigm'; +import { gradient, namedAlias } from '@/build/helpers/tokenHelpers'; + +export const myCustomTheme: ParadigmThemeDescription = { + ...lightTheme, + colorIconPrimary: 'rgba(64, 64, 64, 1)', + gradient: gradient(namedAlias('colorIconPrimary'), 'rgba(32, 32, 32, 1)'), +}; +``` + +Итоговый файл с темой: + +```css +:root { + /* ... */ + --vkui--color_icon_primary: rgba(64, 64, 64, 1); + --vkui--gradient: var(--vkui--color_icon_primary, rgba(64, 64, 64, 1)) 0%, rgba(32, 32, 32, 1) 100%; + /* ... */ +} +``` + +```json +{ + "gradient": { + "gradient": [ + { + "color": "rgba(64, 64, 64, 1)", + "token": "colorIconPrimary", + "step": 0, + "alpha": 1 + }, + { + "color": "rgba(32, 32, 32, 1)", + "token": "colorIconPrimary", + "step": 1, + "alpha": 1 + } + ] + }, + "other": { + "colorIconPrimary": { + "normal": "rgba(64, 64, 64, 1)" + } + } +} +``` \ No newline at end of file diff --git a/docs/src/components/layouts/shared/AsideMenu/AsideMenu.tsx b/docs/src/components/layouts/shared/AsideMenu/AsideMenu.tsx new file mode 100644 index 000000000..eeb32d7c7 --- /dev/null +++ b/docs/src/components/layouts/shared/AsideMenu/AsideMenu.tsx @@ -0,0 +1,48 @@ +import { Card, Spacing, Title } from '@vkontakte/vkui'; +import * as React from 'react'; +import { Link } from 'react-router-dom'; + +export interface AsideMenuItem { + slug?: string; + title: string; +} + +export interface AsideMenuProps { + items?: AsideMenuItem[]; +} + +const defaultItems: AsideMenuItem[] = []; + +export function AsideMenu(props: AsideMenuProps) { + const items = props.items ?? defaultItems; + + return ( + + ); +} diff --git a/docs/src/components/pages/Tokens/TokensHeader.tsx b/docs/src/components/pages/Tokens/TokensHeader.tsx index 176087fa4..b5bd24766 100644 --- a/docs/src/components/pages/Tokens/TokensHeader.tsx +++ b/docs/src/components/pages/Tokens/TokensHeader.tsx @@ -1,5 +1,6 @@ -import { Icon16Linked } from '@vkontakte/icons'; +import { Icon16Linked, Icon16HelpOutline } from '@vkontakte/icons'; import { Link, Title, useAdaptivityWithJSMediaQueries } from '@vkontakte/vkui'; +import { Link as RouterLink } from 'react-router-dom'; import clsx from 'clsx'; import React, { FC } from 'react'; @@ -42,6 +43,14 @@ const TokensHeader: FC = () => { {version.text} +
+ + + + Документация + + +
diff --git a/docs/src/highlight/codeWidget.ts b/docs/src/highlight/codeWidget.ts new file mode 100644 index 000000000..9247e72f9 --- /dev/null +++ b/docs/src/highlight/codeWidget.ts @@ -0,0 +1,116 @@ +import { highlightConfig } from "./config"; + +function forEachCodeBlock(parent: HTMLElement, callback: (codeBlock: HTMLElement, language: string) => void) { + const codeBlocks = Array.from(parent.querySelectorAll(highlightConfig().codeSelector)); + + codeBlocks.forEach((codeBlock) => { + if (!(codeBlock instanceof HTMLElement)) { + return; + } + + const langClassName = Array.from(codeBlock.classList).find((className) => className.startsWith('language-')); + + if (langClassName) { + const language = langClassName.slice('language-'.length); + callback(codeBlock, language); + } + }); +} + +function switchLanguage(parent: HTMLElement, language: string) { + const allLanguageEls = Array.from(parent.querySelectorAll('[data-language]')); + + allLanguageEls.forEach((element) => { + if (element.getAttribute('data-language') === language) { + element.classList.add('code-tab-selected'); + } else { + element.classList.remove('code-tab-selected'); + } + }); +} + +function findDomParent(element: HTMLElement, selector: string, maxDepth = 5): HTMLElement | undefined { + let current: HTMLElement | null = element; + let count = 0; + + while (current && !current.matches(selector) && count < maxDepth) { + current = current.parentElement; + count++; + } + + if (current && !current.matches(selector) || !current) { + return undefined; + } + + return current; +} + +function handleTogglerClick(event: MouseEvent) { + if (!(event.target instanceof HTMLElement)) { + return; + } + + const language = event.target.getAttribute('data-language'); + + if (!language) { + return; + } + + const codeWidgetRoot = findDomParent(event.target, '.code-widget'); + + if (codeWidgetRoot) { + switchLanguage(codeWidgetRoot, language); + } +} + +/** + * Создаёт блок с переключателем нескольких языков и подсветкой синтаксиса + */ +export function createCodeWidget(...elements: HTMLElement[]) { + if (!elements.length || !elements[0].parentElement) { + return; + } + + const parentDiv = document.createElement('DIV'); + parentDiv.classList.add('code-widget'); + + elements[0].parentElement.replaceChild(parentDiv, elements[0]); + + for (const element of elements) { + parentDiv.appendChild(element); + } + + const languageToggler = document.createElement('DIV'); + parentDiv.insertBefore(languageToggler, parentDiv.firstChild); + + let firstLanguage: string | undefined; + + forEachCodeBlock(parentDiv, (codeBlock, language) => { + if (!firstLanguage) { + firstLanguage = language; + } + + codeBlock.setAttribute('data-language', language); + + const codeParent = codeBlock.parentElement; + + if (!codeParent) { + return; + } + + codeParent.classList.add('code-tab'); + + const languageButton = document.createElement('button'); + languageButton.innerText = language; + languageButton.classList.add('code-tab_button'); + languageButton.setAttribute('data-language', language); + + languageToggler.appendChild(languageButton); + }); + + languageToggler.addEventListener('click', handleTogglerClick); + + if (firstLanguage) { + switchLanguage(parentDiv, firstLanguage); + } +} \ No newline at end of file diff --git a/docs/src/highlight/config.ts b/docs/src/highlight/config.ts new file mode 100644 index 000000000..4533e6968 --- /dev/null +++ b/docs/src/highlight/config.ts @@ -0,0 +1,22 @@ +import 'highlight.js/styles/github.css'; + +import typescript from 'highlight.js/lib/languages/typescript'; +import css from 'highlight.js/lib/languages/css'; +import json from 'highlight.js/lib/languages/json'; + +interface HighlightLanguage { + name: string; + lib: (...args: any) => any; +} + +const languages: HighlightLanguage[] = [ + { name: 'typescript', lib: typescript }, + { name: 'json', lib: json }, + { name: 'css', lib: css }, +] + +const codeSelector = languages.map((language) => `code.language-${language.name}`).join(', '); + +export function highlightConfig() { + return { languages, codeSelector } as const; +} diff --git a/docs/src/highlight/highlight.ts b/docs/src/highlight/highlight.ts new file mode 100644 index 000000000..52dd90f0b --- /dev/null +++ b/docs/src/highlight/highlight.ts @@ -0,0 +1,62 @@ +import hljs from 'highlight.js/lib/core'; + +import { highlightConfig } from './config'; +import { createCodeWidget } from './codeWidget'; + +let hljsInitialized = false; + +function findChildIndex(element: HTMLElement): number { + // Вызывается в цикле, поэтому не копируем элементы из NodeList в массив + for (let i = 0; i < element.parentElement.children.length; i++) { + if (element.parentElement.children[i] === element) { + return i; + } + } + + return -1; +} + +/** + * Подсвечивает синтаксис во всех блков кода в переданном элементе + * Если в исходнике встречаются несколько подряд идущих блоков кода на разных языках, они объединяются в виджет + * с табами (см. файл codeWidget.ts) + */ +export function highlightCodeInElement(element: HTMLElement) { + if (!hljsInitialized) { + highlightConfig().languages.forEach((language) => hljs.registerLanguage(language.name, language.lib)); + hljsInitialized = true; + } + + const codeBlocks = Array.from(element.querySelectorAll(highlightConfig().codeSelector)); + + for (const codeBlock of codeBlocks) { + if (!(codeBlock instanceof HTMLElement)) { + continue; + } + + const codeParent = codeBlock.parentElement; + const codeParentIndex = findChildIndex(codeParent); + + codeBlock.innerHTML = hljs.highlightAuto(codeBlock.innerText).value; + + const prevCodeParent = codeParent.parentElement.children[codeParentIndex - 1] as HTMLElement; + + if (!prevCodeParent) { + break; + } + + const prevCodeBlock = prevCodeParent.querySelector(highlightConfig().codeSelector); + + if (prevCodeBlock instanceof HTMLElement) { + createCodeWidget(prevCodeParent, codeParent); + } + } + + const links = Array.from(element.querySelectorAll("a[href]")); + + for (const link of links) { + link.setAttribute("target", "_blank"); + } +} + + diff --git a/docs/src/pages/Articles.tsx b/docs/src/pages/Articles.tsx new file mode 100644 index 000000000..de75de50c --- /dev/null +++ b/docs/src/pages/Articles.tsx @@ -0,0 +1,39 @@ +import * as React from 'react'; +import 'highlight.js/styles/github.css'; + +import { AsideMenu, AsideMenuItem } from '@/components/layouts/shared/AsideMenu/AsideMenu'; +import { Spacing, useAdaptivityWithJSMediaQueries } from '@vkontakte/vkui'; +import { highlightCodeInElement } from '@/highlight/highlight'; + +export interface ArticlesProps { + items?: AsideMenuItem[]; + contentsHtml?: string; +} + +export function Articles(props: ArticlesProps) { + let articleContent = props.contentsHtml ?? ''; + const ref = React.useRef(undefined); + + const { viewWidth } = useAdaptivityWithJSMediaQueries(); + const isMobile = viewWidth <= 3; + + React.useEffect(() => { + highlightCodeInElement(ref.current); + }, [ref.current, articleContent]); + + return ( +
+ + + {isMobile && ( + + )} + +
+
+ ); +} diff --git a/docs/src/styles/articles.css b/docs/src/styles/articles.css new file mode 100644 index 000000000..7d4b777d1 --- /dev/null +++ b/docs/src/styles/articles.css @@ -0,0 +1,137 @@ + +.articles { + display: grid; + grid-template-columns: 300px 1fr; + gap: 48px; + + color: var(--vkui--color_text_primary); + + font-size: var(--vkui--font_text--font_size--regular); + line-height: var(--vkui--font_text--line_height--regular); + font-family: var(--vkui--font_text--font_family--regular); + font-weight: var(--vkui--font_text--font_weight--regular); +} + +.articles__mobile { + display: block; +} + +.aside-menu_card { + height: auto; + padding: var(--vkui--size_base_padding_horizontal--regular); + margin-top: 4px; + position: sticky; + top: 72px; +} + +.aside-menu_title { + text-align: center; +} + +.aside-menu-item { + margin-left: 20px; +} + +.articles-container { + max-width: calc(1144px - 300px - 48px); +} + +.articles__mobile .articles-container { + max-width: unset; +} + +.articles-container p { + font-size: var(--vkui--font_paragraph--font_size--regular); + line-height: var(--vkui--font_paragraph--line_height--regular); + font-family: var(--vkui--font_paragraph--font_family--regular); + font-weight: var(--vkui--font_paragraph--font_weight--regular); +} + +.articles-container h1 { + font-size: var(--vkui--font_title1--font_size--regular); + line-height: var(--vkui--font_title1--line_height--regular); + font-family: var(--vkui--font_title1--font_family--regular); + font-weight: var(--vkui--font_title1--font_weight--regular); +} + +.articles-container h2 { + font-size: var(--vkui--font_title2--font_size--regular); + line-height: var(--vkui--font_title2--line_height--regular); + font-family: var(--vkui--font_title2--font_family--regular); + font-weight: var(--vkui--font_title2--font_weight--regular); +} + +.articles-container h3 { + font-size: var(--vkui--font_title3--font_size--regular); + line-height: var(--vkui--font_title3--line_height--regular); + font-family: var(--vkui--font_title3--font_family--regular); + font-weight: var(--vkui--font_title3--font_weight--regular); +} + +.articles-container h3 { + font-size: var(--vkui--font_title3--font_size--regular); + line-height: var(--vkui--font_title3--line_height--regular); + font-family: var(--vkui--font_title3--font_family--regular); + font-weight: var(--vkui--font_title3--font_weight--regular); +} + +.articles a, .articles a:visited { + color: var(--vkui--color_text_link); + text-decoration: none; +} + +.articles a:hover { + color: var(--vkui--color_text_link--hover); + text-decoration: underline; +} + +.articles a:active { + color: var(--vkui--color_text_link--active); + text-decoration: underline; +} + +.articles-container code { + background-color: var(--vkui--color_background_secondary); + border-radius: var(--vkui--size_border_radius--regular); + padding: 4px; +} + +.articles-container pre code { + display: block; + padding: var(--vkui--size_base_padding_horizontal--regular) var(--vkui--size_base_padding_vertical--regular); + margin: var(--vkui--size_label_horizontal_margin--regular) 0; + overflow: auto; +} + +.code-tab [data-language] { + display: none; +} + +.code-tab [data-language].code-tab-selected { + display: block; +} + +.code-tab_button { + background: none; + border: 0 none; + cursor: pointer; + + color: var(--vkui--color_text_secondary); + + font-size: var(--vkui--font_text--font_size--regular); + line-height: var(--vkui--font_text--line_height--regular); + font-family: var(--vkui--font_text--font_family--regular); + font-weight: var(--vkui--font_text--font_weight--regular); +} + +.code-tab_button:hover { + color: var(--vkui--color_text_secondary--hover); +} + +.code-tab_button:active { + color: var(--vkui--color_text_secondary--active); +} + +.code-tab_button.code-tab-selected { + color: var(--vkui--color_text_primary); +} diff --git a/docs/src/styles/index.css b/docs/src/styles/index.css index 67f2a9970..788a562e9 100644 --- a/docs/src/styles/index.css +++ b/docs/src/styles/index.css @@ -1,5 +1,6 @@ @import 'flex.css'; @import 'space.css'; +@import 'articles.css'; .container { max-width: 1144px; diff --git a/docs/webpack/webpack.client.js b/docs/webpack/webpack.client.mjs similarity index 73% rename from docs/webpack/webpack.client.js rename to docs/webpack/webpack.client.mjs index 21d5ed62c..7fc5e6b41 100644 --- a/docs/webpack/webpack.client.js +++ b/docs/webpack/webpack.client.mjs @@ -1,12 +1,16 @@ -const path = require('path'); -const HtmlWebpackPlugin = require('html-webpack-plugin'); -const WebpackNotifierPlugin = require('webpack-notifier'); -const TerserPlugin = require('terser-webpack-plugin'); -const { CleanWebpackPlugin } = require('clean-webpack-plugin'); -const CopyWebpackPlugin = require('copy-webpack-plugin'); -const webpackConfig = require('./webpack.config'); +import path from 'path'; +import { fileURLToPath } from 'node:url'; + +import HtmlWebpackPlugin from 'html-webpack-plugin'; +import WebpackNotifierPlugin from 'webpack-notifier'; +import TerserPlugin from 'terser-webpack-plugin'; +import { CleanWebpackPlugin } from 'clean-webpack-plugin'; +import CopyWebpackPlugin from 'copy-webpack-plugin'; +import webpackConfig from './webpack.config.mjs'; + +export default function (env, argv) { + const __dirname = path.dirname(fileURLToPath(import.meta.url)); -module.exports = function (env, argv) { const watchMode = argv.liveReload || false; const modeEnv = argv.mode || 'development'; const isProd = modeEnv === 'production'; @@ -44,10 +48,10 @@ module.exports = function (env, argv) { output: { path: path.resolve(__dirname, '../dist'), filename: watchMode ? 'assets/[name].[hash].js' : 'assets/[name].[chunkhash].js', - publicPath: 'auto', + publicPath: '/', }, module: { - rules: [config.modules.ts, config.modules.css, config.modules.svg], + rules: [config.modules.ts, config.modules.css, config.modules.svg, config.modules.md], }, plugins: [ new CleanWebpackPlugin({ diff --git a/docs/webpack/webpack.config.js b/docs/webpack/webpack.config.mjs similarity index 58% rename from docs/webpack/webpack.config.js rename to docs/webpack/webpack.config.mjs index dbc8d438e..ec27f9110 100644 --- a/docs/webpack/webpack.config.js +++ b/docs/webpack/webpack.config.mjs @@ -1,6 +1,10 @@ -const path = require('path'); +import path from 'path'; +import RemarkHTML from 'remark-html'; +import { fileURLToPath } from 'node:url'; + +export default function () { + const __dirname = path.dirname(fileURLToPath(import.meta.url)); -module.exports = function () { const modules = { ts: { test: /\.ts(x?)$/, @@ -32,6 +36,22 @@ module.exports = function () { }, ], }, + md: { + test: /\.md$/, + use: [ + { + loader: 'html-loader', + }, + { + loader: 'remark-loader', + options: { + remarkOptions: { + plugins: [RemarkHTML], + }, + }, + }, + ], + }, }; const resolve = { diff --git a/package.json b/package.json index d7be05e40..be5cd5aba 100644 --- a/package.json +++ b/package.json @@ -25,8 +25,8 @@ "clear:dist": "find dist -regex '.*[^d]\\.ts' -delete", "open:coverage": "open .coverage/index.html", "styleguide": "sh ./tasks/styleguide.sh", - "docs:dev": "cd docs/webpack && webpack-dev-server --config webpack.client.js --mode development", - "docs:build": "cd docs/webpack && webpack --config webpack.client.js --mode production", + "docs:dev": "cd docs/webpack && webpack-dev-server --config webpack.client.mjs --mode development", + "docs:build": "cd docs/webpack && webpack --config webpack.client.mjs --mode production", "docs:prepare-data": "ts-node tasks/docs/prepareTokensData.ts", "pre-commit": "lint-staged" }, @@ -51,7 +51,7 @@ "@types/fs-extra": "11.0.4", "@types/lodash": "4.17.7", "@types/node": "18.11.10", - "@types/react": "18.3.5", + "@types/react": "18.3.3", "@types/react-dom": "18.3.0", "@vkontakte/appearance": "https://github.com/VKCOM/Appearance#v10.2.0", "@vkontakte/icons": "2.124.0", @@ -81,6 +81,8 @@ "eslint-plugin-sonarjs": "0.24.0", "eslint-plugin-unicorn": "51.0.1", "fs-extra": "11.2.0", + "highlight.js": "11.10.0", + "html-loader": "5.1.0", "html-webpack-plugin": "5.6.0", "husky": "9.1.4", "jest": "29.7.0", @@ -90,9 +92,14 @@ "prettier": "3.3.2", "react": "18.3.1", "react-dom": "18.3.1", + "react-router-dom": "6.26.2", + "remark": "15.0.1", + "remark-html": "16.0.1", + "remark-loader": "6.0.0", "rimraf": "5.0.7", "style-loader": "4.0.0", "terser-webpack-plugin": "5.3.10", + "tree-sitter": "0.21.1", "ts-jest": "29.2.4", "ts-loader": "9.5.1", "ts-morph": "20.0.0", @@ -111,5 +118,9 @@ "npm": ">=9.3.1", "yarn": ">=1.21.1 <2" }, - "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e" + "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e", + "resolutions": { + "@types/node": "18.11.10", + "@types/react": "18.3.3" + } } diff --git a/src/build/__snapshots__/snapthots.test.ts.snap b/src/build/__snapshots__/snapthots.test.ts.snap index b79959f27..03156e2b8 100644 --- a/src/build/__snapshots__/snapthots.test.ts.snap +++ b/src/build/__snapshots__/snapthots.test.ts.snap @@ -445324,19 +445324,19 @@ exports[`shapshots vkontakteAndroid theme should match cssVars snapshot 1`] = ` }, "gradient": { "name": "--vkui--gradient", - "value": "var(--vkui--gradient, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", + "value": "var(--vkui--gradient, var(--vkui--color_background_content, rgba(255, 255, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientBlack": { "name": "--vkui--gradient_black", - "value": "var(--vkui--gradient_black, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%)", + "value": "var(--vkui--gradient_black, rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientTint": { "name": "--vkui--gradient_tint", - "value": "var(--vkui--gradient_tint, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.05) 15%, rgba(249, 249, 249, 0.2) 30%, rgba(249, 249, 249, 0.8) 70%, rgba(249, 249, 249, 0.95) 85%, rgba(249, 249, 249, 1) 100%)", + "value": "var(--vkui--gradient_tint, var(--vkui--color_background_tertiary, rgba(249, 249, 249, 1)) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientWhite": { "name": "--vkui--gradient_white", - "value": "var(--vkui--gradient_white, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", + "value": "var(--vkui--gradient_white, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%)", }, "opacityDisable": { "name": "--vkui--opacity_disable", @@ -446927,139 +446927,139 @@ exports[`shapshots vkontakteAndroid theme should match cssVars snapshot 1`] = ` }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -448068,10 +448068,10 @@ exports[`shapshots vkontakteAndroid theme should match pixelify theme snapshot 1 "fontWeightBase1": 600, "fontWeightBase2": 500, "fontWeightBase3": 400, - "gradient": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", - "gradientBlack": "rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%", - "gradientTint": "rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.05) 15%, rgba(249, 249, 249, 0.2) 30%, rgba(249, 249, 249, 0.8) 70%, rgba(249, 249, 249, 0.95) 85%, rgba(249, 249, 249, 1) 100%", - "gradientWhite": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", + "gradient": "var(--vkui--color_background_content, rgba(255, 255, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientBlack": "rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%", + "gradientTint": "var(--vkui--color_background_tertiary, rgba(249, 249, 249, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientWhite": "rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%", "opacityDisable": 0.4, "opacityDisableAccessibility": 0.64, "sizeArrow": { @@ -448589,40 +448589,40 @@ exports[`shapshots vkontakteAndroid theme should match pixelify theme snapshot 1 "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#2978D3", "hover": "#2B7CD9", @@ -449489,10 +449489,10 @@ exports[`shapshots vkontakteAndroid theme should match pseudo theme from CssVars "fontWeightBase1": "var(--vkui--font_weight_base1, 600)", "fontWeightBase2": "var(--vkui--font_weight_base2, 500)", "fontWeightBase3": "var(--vkui--font_weight_base3, 400)", - "gradient": "var(--vkui--gradient, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", - "gradientBlack": "var(--vkui--gradient_black, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%)", - "gradientTint": "var(--vkui--gradient_tint, rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.05) 15%, rgba(249, 249, 249, 0.2) 30%, rgba(249, 249, 249, 0.8) 70%, rgba(249, 249, 249, 0.95) 85%, rgba(249, 249, 249, 1) 100%)", - "gradientWhite": "var(--vkui--gradient_white, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", + "gradient": "var(--vkui--gradient, var(--vkui--color_background_content, rgba(255, 255, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientBlack": "var(--vkui--gradient_black, rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientTint": "var(--vkui--gradient_tint, var(--vkui--color_background_tertiary, rgba(249, 249, 249, 1)) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientWhite": "var(--vkui--gradient_white, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%)", "opacityDisable": "var(--vkui--opacity_disable, 0.4)", "opacityDisableAccessibility": "var(--vkui--opacity_disable_accessibility, 0.64)", "sizeArrow": { @@ -450010,40 +450010,40 @@ exports[`shapshots vkontakteAndroid theme should match pseudo theme from CssVars "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #939CA9)", "normal": "var(--vkui--vkontakte_float_button_foreground, #99a2ad)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #2978D3)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #2B7CD9)", @@ -450910,10 +450910,10 @@ exports[`shapshots vkontakteAndroid theme should match root theme snapshot 1`] = "fontWeightBase1": 600, "fontWeightBase2": 500, "fontWeightBase3": 400, - "gradient": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", - "gradientBlack": "rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%", - "gradientTint": "rgba(249, 249, 249, 0) 0%, rgba(249, 249, 249, 0.05) 15%, rgba(249, 249, 249, 0.2) 30%, rgba(249, 249, 249, 0.8) 70%, rgba(249, 249, 249, 0.95) 85%, rgba(249, 249, 249, 1) 100%", - "gradientWhite": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", + "gradient": "var(--vkui--color_background_content, rgba(255, 255, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientBlack": "rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%", + "gradientTint": "var(--vkui--color_background_tertiary, rgba(249, 249, 249, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientWhite": "rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%", "opacityDisable": 0.4, "opacityDisableAccessibility": 0.64, "sizeArrow": { @@ -451431,40 +451431,40 @@ exports[`shapshots vkontakteAndroid theme should match root theme snapshot 1`] = "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#2978D3", "hover": "#2B7CD9", @@ -454179,19 +454179,19 @@ exports[`shapshots vkontakteAndroidDark theme should match cssVars snapshot 1`] }, "gradient": { "name": "--vkui--gradient", - "value": "var(--vkui--gradient, rgba(25, 25, 26, 0) 0%, rgba(25, 25, 26, 0.05) 15%, rgba(25, 25, 26, 0.2) 30%, rgba(25, 25, 26, 0.8) 70%, rgba(25, 25, 26, 0.95) 85%, rgba(25, 25, 26, 1) 100%)", + "value": "var(--vkui--gradient, var(--vkui--color_background_content, rgba(25, 25, 26, 1)) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientBlack": { "name": "--vkui--gradient_black", - "value": "var(--vkui--gradient_black, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%)", + "value": "var(--vkui--gradient_black, rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientTint": { "name": "--vkui--gradient_tint", - "value": "var(--vkui--gradient_tint, rgba(32, 32, 33, 0) 0%, rgba(32, 32, 33, 0.05) 15%, rgba(32, 32, 33, 0.2) 30%, rgba(32, 32, 33, 0.8) 70%, rgba(32, 32, 33, 0.95) 85%, rgba(32, 32, 33, 1) 100%)", + "value": "var(--vkui--gradient_tint, var(--vkui--color_background_tertiary, rgba(32, 32, 33, 1)) 0%, rgba(0, 0, 0, 0) 100%)", }, "gradientWhite": { "name": "--vkui--gradient_white", - "value": "var(--vkui--gradient_white, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", + "value": "var(--vkui--gradient_white, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%)", }, "opacityDisable": { "name": "--vkui--opacity_disable", @@ -455782,139 +455782,139 @@ exports[`shapshots vkontakteAndroidDark theme should match cssVars snapshot 1`] }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -456923,10 +456923,10 @@ exports[`shapshots vkontakteAndroidDark theme should match pixelify theme snapsh "fontWeightBase1": 600, "fontWeightBase2": 500, "fontWeightBase3": 400, - "gradient": "rgba(25, 25, 26, 0) 0%, rgba(25, 25, 26, 0.05) 15%, rgba(25, 25, 26, 0.2) 30%, rgba(25, 25, 26, 0.8) 70%, rgba(25, 25, 26, 0.95) 85%, rgba(25, 25, 26, 1) 100%", - "gradientBlack": "rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%", - "gradientTint": "rgba(32, 32, 33, 0) 0%, rgba(32, 32, 33, 0.05) 15%, rgba(32, 32, 33, 0.2) 30%, rgba(32, 32, 33, 0.8) 70%, rgba(32, 32, 33, 0.95) 85%, rgba(32, 32, 33, 1) 100%", - "gradientWhite": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", + "gradient": "var(--vkui--color_background_content, rgba(25, 25, 26, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientBlack": "rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%", + "gradientTint": "var(--vkui--color_background_tertiary, rgba(32, 32, 33, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientWhite": "rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%", "opacityDisable": 0.4, "opacityDisableAccessibility": 0.64, "sizeArrow": { @@ -457444,40 +457444,40 @@ exports[`shapshots vkontakteAndroidDark theme should match pixelify theme snapsh "hover": "#ADB1B6", "normal": "#aaaeb3", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", @@ -458344,10 +458344,10 @@ exports[`shapshots vkontakteAndroidDark theme should match pseudo theme from Css "fontWeightBase1": "var(--vkui--font_weight_base1, 600)", "fontWeightBase2": "var(--vkui--font_weight_base2, 500)", "fontWeightBase3": "var(--vkui--font_weight_base3, 400)", - "gradient": "var(--vkui--gradient, rgba(25, 25, 26, 0) 0%, rgba(25, 25, 26, 0.05) 15%, rgba(25, 25, 26, 0.2) 30%, rgba(25, 25, 26, 0.8) 70%, rgba(25, 25, 26, 0.95) 85%, rgba(25, 25, 26, 1) 100%)", - "gradientBlack": "var(--vkui--gradient_black, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%)", - "gradientTint": "var(--vkui--gradient_tint, rgba(32, 32, 33, 0) 0%, rgba(32, 32, 33, 0.05) 15%, rgba(32, 32, 33, 0.2) 30%, rgba(32, 32, 33, 0.8) 70%, rgba(32, 32, 33, 0.95) 85%, rgba(32, 32, 33, 1) 100%)", - "gradientWhite": "var(--vkui--gradient_white, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%)", + "gradient": "var(--vkui--gradient, var(--vkui--color_background_content, rgba(25, 25, 26, 1)) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientBlack": "var(--vkui--gradient_black, rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientTint": "var(--vkui--gradient_tint, var(--vkui--color_background_tertiary, rgba(32, 32, 33, 1)) 0%, rgba(0, 0, 0, 0) 100%)", + "gradientWhite": "var(--vkui--gradient_white, rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%)", "opacityDisable": "var(--vkui--opacity_disable, 0.4)", "opacityDisableAccessibility": "var(--vkui--opacity_disable_accessibility, 0.64)", "sizeArrow": { @@ -458865,40 +458865,40 @@ exports[`shapshots vkontakteAndroidDark theme should match pseudo theme from Css "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #ADB1B6)", "normal": "var(--vkui--vkontakte_float_button_foreground, #aaaeb3)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #D7D8DB)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #EBEDF0)", @@ -459765,10 +459765,10 @@ exports[`shapshots vkontakteAndroidDark theme should match root theme snapshot 1 "fontWeightBase1": 600, "fontWeightBase2": 500, "fontWeightBase3": 400, - "gradient": "rgba(25, 25, 26, 0) 0%, rgba(25, 25, 26, 0.05) 15%, rgba(25, 25, 26, 0.2) 30%, rgba(25, 25, 26, 0.8) 70%, rgba(25, 25, 26, 0.95) 85%, rgba(25, 25, 26, 1) 100%", - "gradientBlack": "rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.02) 15%, rgba(0, 0, 0, 0.08) 30%, rgba(0, 0, 0, 0.32) 70%, rgba(0, 0, 0, 0.38) 85%, rgba(0, 0, 0, 0.4) 100%", - "gradientTint": "rgba(32, 32, 33, 0) 0%, rgba(32, 32, 33, 0.05) 15%, rgba(32, 32, 33, 0.2) 30%, rgba(32, 32, 33, 0.8) 70%, rgba(32, 32, 33, 0.95) 85%, rgba(32, 32, 33, 1) 100%", - "gradientWhite": "rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.05) 15%, rgba(255, 255, 255, 0.2) 30%, rgba(255, 255, 255, 0.8) 70%, rgba(255, 255, 255, 0.95) 85%, rgba(255, 255, 255, 1) 100%", + "gradient": "var(--vkui--color_background_content, rgba(25, 25, 26, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientBlack": "rgba(0, 0, 0, 0.376) 0%, rgba(0, 0, 0, 0) 100%", + "gradientTint": "var(--vkui--color_background_tertiary, rgba(32, 32, 33, 1)) 0%, rgba(0, 0, 0, 0) 100%", + "gradientWhite": "rgba(255, 255, 255, 1) 0%, rgba(0, 0, 0, 0) 100%", "opacityDisable": 0.4, "opacityDisableAccessibility": 0.64, "sizeArrow": { @@ -460286,40 +460286,40 @@ exports[`shapshots vkontakteAndroidDark theme should match root theme snapshot 1 "hover": "#ADB1B6", "normal": "#aaaeb3", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", @@ -464525,139 +464525,139 @@ exports[`shapshots vkontakteCom theme should match cssVars snapshot 1`] = ` }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -466171,40 +466171,40 @@ exports[`shapshots vkontakteCom theme should match pixelify theme snapshot 1`] = "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#3F72B0", "hover": "#4177B5", @@ -467576,40 +467576,40 @@ exports[`shapshots vkontakteCom theme should match pseudo theme from CssVars 1`] "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #939CA9)", "normal": "var(--vkui--vkontakte_float_button_foreground, #99a2ad)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #3F72B0)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #4177B5)", @@ -468981,40 +468981,40 @@ exports[`shapshots vkontakteCom theme should match root theme snapshot 1`] = ` "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#3F72B0", "hover": "#4177B5", @@ -473220,139 +473220,139 @@ exports[`shapshots vkontakteComDark theme should match cssVars snapshot 1`] = ` }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -474866,40 +474866,40 @@ exports[`shapshots vkontakteComDark theme should match pixelify theme snapshot 1 "hover": "#B5B5B5", "normal": "#b2b2b2", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", @@ -476271,40 +476271,40 @@ exports[`shapshots vkontakteComDark theme should match pseudo theme from CssVars "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #B5B5B5)", "normal": "var(--vkui--vkontakte_float_button_foreground, #b2b2b2)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #D7D8DB)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #EBEDF0)", @@ -477676,40 +477676,40 @@ exports[`shapshots vkontakteComDark theme should match root theme snapshot 1`] = "hover": "#B5B5B5", "normal": "#b2b2b2", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", @@ -481915,139 +481915,139 @@ exports[`shapshots vkontakteIOS theme should match cssVars snapshot 1`] = ` }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -483561,40 +483561,40 @@ exports[`shapshots vkontakteIOS theme should match pixelify theme snapshot 1`] = "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#2978D3", "hover": "#2B7CD9", @@ -484966,40 +484966,40 @@ exports[`shapshots vkontakteIOS theme should match pseudo theme from CssVars 1`] "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #939CA9)", "normal": "var(--vkui--vkontakte_float_button_foreground, #99a2ad)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #2978D3)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #2B7CD9)", @@ -486371,40 +486371,40 @@ exports[`shapshots vkontakteIOS theme should match root theme snapshot 1`] = ` "hover": "#939CA9", "normal": "#99a2ad", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#2978D3", "hover": "#2B7CD9", @@ -490610,139 +490610,139 @@ exports[`shapshots vkontakteIOSDark theme should match cssVars snapshot 1`] = ` }, "vkontakteGradientAquamarineBlue": { "name": "--vkui--vkontakte_gradient_aquamarine_blue", - "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", + "value": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", }, "vkontakteGradientBlue": { "name": "--vkui--vkontakte_gradient_blue", - "value": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", + "value": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", }, "vkontakteGradientCandy": { "name": "--vkui--vkontakte_gradient_candy", - "value": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientCrimson": { "name": "--vkui--vkontakte_gradient_crimson", - "value": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", + "value": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", }, "vkontakteGradientDisco": { "name": "--vkui--vkontakte_gradient_disco", - "value": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", + "value": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", }, "vkontakteGradientEmerald": { "name": "--vkui--vkontakte_gradient_emerald", - "value": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", + "value": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", }, "vkontakteGradientFrost": { "name": "--vkui--vkontakte_gradient_frost", - "value": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", + "value": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", }, "vkontakteGradientGray": { "name": "--vkui--vkontakte_gradient_gray", - "value": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", + "value": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", }, "vkontakteGradientGreen": { "name": "--vkui--vkontakte_gradient_green", - "value": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", + "value": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", }, "vkontakteGradientHalloweenOrange": { "name": "--vkui--vkontakte_gradient_halloween_orange", - "value": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", + "value": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", }, "vkontakteGradientHalloweenViolet": { "name": "--vkui--vkontakte_gradient_halloween_violet", - "value": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", + "value": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", }, "vkontakteGradientLagoon": { "name": "--vkui--vkontakte_gradient_lagoon", - "value": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", + "value": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", }, "vkontakteGradientLavender": { "name": "--vkui--vkontakte_gradient_lavender", - "value": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", + "value": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", }, "vkontakteGradientMable": { "name": "--vkui--vkontakte_gradient_mable", - "value": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", + "value": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", }, "vkontakteGradientMarine": { "name": "--vkui--vkontakte_gradient_marine", - "value": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", + "value": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", }, "vkontakteGradientMidnight": { "name": "--vkui--vkontakte_gradient_midnight", - "value": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", + "value": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", }, "vkontakteGradientNewYear": { "name": "--vkui--vkontakte_gradient_new_year", - "value": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", + "value": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", }, "vkontakteGradientOrange": { "name": "--vkui--vkontakte_gradient_orange", - "value": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", + "value": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", }, "vkontakteGradientPink": { "name": "--vkui--vkontakte_gradient_pink", - "value": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientPurple": { "name": "--vkui--vkontakte_gradient_purple", - "value": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", + "value": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", }, "vkontakteGradientRaspberryPink": { "name": "--vkui--vkontakte_gradient_raspberry_pink", - "value": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", + "value": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", }, "vkontakteGradientRed": { "name": "--vkui--vkontakte_gradient_red", - "value": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", + "value": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", }, "vkontakteGradientRetrowave": { "name": "--vkui--vkontakte_gradient_retrowave", - "value": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", + "value": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", }, "vkontakteGradientSberkot": { "name": "--vkui--vkontakte_gradient_sberkot", - "value": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", + "value": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", }, "vkontakteGradientSunset": { "name": "--vkui--vkontakte_gradient_sunset", - "value": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", + "value": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", }, "vkontakteGradientTurquoise": { "name": "--vkui--vkontakte_gradient_turquoise", - "value": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", + "value": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", }, "vkontakteGradientTwilight": { "name": "--vkui--vkontakte_gradient_twilight", - "value": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", + "value": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", }, "vkontakteGradientUnicorn": { "name": "--vkui--vkontakte_gradient_unicorn", - "value": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", + "value": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", }, "vkontakteGradientValentine": { "name": "--vkui--vkontakte_gradient_valentine", - "value": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", + "value": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", }, "vkontakteGradientViolet": { "name": "--vkui--vkontakte_gradient_violet", - "value": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", + "value": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", }, "vkontakteGradientWarmValentine": { "name": "--vkui--vkontakte_gradient_warm_valentine", - "value": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", + "value": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", }, "vkontakteGradientWomensDay": { "name": "--vkui--vkontakte_gradient_womens_day", - "value": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", + "value": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", }, "vkontakteGradientYellow": { "name": "--vkui--vkontakte_gradient_yellow", - "value": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", + "value": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", }, "vkontakteGradientYellowBright": { "name": "--vkui--vkontakte_gradient_yellow_bright", - "value": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "value": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", }, "vkontakteImAttachTint": { "active": { @@ -492256,40 +492256,40 @@ exports[`shapshots vkontakteIOSDark theme should match pixelify theme snapshot 1 "hover": "#ADB1B6", "normal": "#aaaeb3", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", @@ -493661,40 +493661,40 @@ exports[`shapshots vkontakteIOSDark theme should match pseudo theme from CssVars "hover": "var(--vkui--vkontakte_float_button_foreground--hover, #ADB1B6)", "normal": "var(--vkui--vkontakte_float_button_foreground, #aaaeb3)", }, - "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, #7DF1FA, #2BB4D6)", - "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, #66CCFF, #3F8AE0)", - "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, #FF99CC, #E52E6A)", - "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, #FF7373, #E53949, #BF1C38)", - "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, #FFB726, #FF2693, #8122E0, #2693FF)", - "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, #00D948, #0D8046)", - "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, #4FA0FF, #016CEA)", - "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, #C1CAD6, #878F99)", - "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, #6CD97E, #12B312)", - "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, #CB1E3B, #F05C44, #FFA000)", - "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, #FFA000, #CD4C4B, #792EC0)", - "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, #2BD9D9, #5C9CE6)", - "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, #928FFF, #4B47B2)", - "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, #D9F4FF, #D9F4FF)", - "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, #2EE54D, #0D7EFF)", - "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, #73D0FF, #3885E1, #0032A6)", - "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, #BB64E4, #805BD7, #2866D5)", - "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, #FFBF80, #E66B2E)", - "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, #FF8880, #E62E6B)", - "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, #A393F5, #735CE6)", - "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, #FF80D5, #E645B1)", - "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, #FF7583, #E62E40)", - "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, #30F2B1, #5967FF, #FF26A5)", - "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, #9DF19D, #31C2A7, #21A19A, #107F8C)", - "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, #FFD24D, #F26549, #E62E6B)", - "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, #8AE6E6, #12B3B3)", - "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, #FF4D87, #9F40FF, #3399FF)", - "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, #FF99CC, #A179F2, #5CA1E6)", - "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, #FF8A65, #F25383, #8F13DB)", - "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, #D3A6FF, #903FE0)", - "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, #F3386A, #FF819E)", - "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, #FF99CC, #E52E6A)", - "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, #FFC44D, #F07300)", - "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, #FFD54F, #E7A902)", + "vkontakteGradientAquamarineBlue": "var(--vkui--vkontakte_gradient_aquamarine_blue, rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%)", + "vkontakteGradientBlue": "var(--vkui--vkontakte_gradient_blue, rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%)", + "vkontakteGradientCandy": "var(--vkui--vkontakte_gradient_candy, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientCrimson": "var(--vkui--vkontakte_gradient_crimson, rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%)", + "vkontakteGradientDisco": "var(--vkui--vkontakte_gradient_disco, rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%)", + "vkontakteGradientEmerald": "var(--vkui--vkontakte_gradient_emerald, rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%)", + "vkontakteGradientFrost": "var(--vkui--vkontakte_gradient_frost, rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%)", + "vkontakteGradientGray": "var(--vkui--vkontakte_gradient_gray, rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%)", + "vkontakteGradientGreen": "var(--vkui--vkontakte_gradient_green, rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%)", + "vkontakteGradientHalloweenOrange": "var(--vkui--vkontakte_gradient_halloween_orange, rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%)", + "vkontakteGradientHalloweenViolet": "var(--vkui--vkontakte_gradient_halloween_violet, rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%)", + "vkontakteGradientLagoon": "var(--vkui--vkontakte_gradient_lagoon, rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%)", + "vkontakteGradientLavender": "var(--vkui--vkontakte_gradient_lavender, rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%)", + "vkontakteGradientMable": "var(--vkui--vkontakte_gradient_mable, rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%)", + "vkontakteGradientMarine": "var(--vkui--vkontakte_gradient_marine, rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%)", + "vkontakteGradientMidnight": "var(--vkui--vkontakte_gradient_midnight, rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%)", + "vkontakteGradientNewYear": "var(--vkui--vkontakte_gradient_new_year, rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%)", + "vkontakteGradientOrange": "var(--vkui--vkontakte_gradient_orange, rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%)", + "vkontakteGradientPink": "var(--vkui--vkontakte_gradient_pink, rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientPurple": "var(--vkui--vkontakte_gradient_purple, rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%)", + "vkontakteGradientRaspberryPink": "var(--vkui--vkontakte_gradient_raspberry_pink, rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%)", + "vkontakteGradientRed": "var(--vkui--vkontakte_gradient_red, rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%)", + "vkontakteGradientRetrowave": "var(--vkui--vkontakte_gradient_retrowave, rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%)", + "vkontakteGradientSberkot": "var(--vkui--vkontakte_gradient_sberkot, rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%)", + "vkontakteGradientSunset": "var(--vkui--vkontakte_gradient_sunset, rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%)", + "vkontakteGradientTurquoise": "var(--vkui--vkontakte_gradient_turquoise, rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%)", + "vkontakteGradientTwilight": "var(--vkui--vkontakte_gradient_twilight, rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%)", + "vkontakteGradientUnicorn": "var(--vkui--vkontakte_gradient_unicorn, rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%)", + "vkontakteGradientValentine": "var(--vkui--vkontakte_gradient_valentine, rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%)", + "vkontakteGradientViolet": "var(--vkui--vkontakte_gradient_violet, rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%)", + "vkontakteGradientWarmValentine": "var(--vkui--vkontakte_gradient_warm_valentine, rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%)", + "vkontakteGradientWomensDay": "var(--vkui--vkontakte_gradient_womens_day, rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%)", + "vkontakteGradientYellow": "var(--vkui--vkontakte_gradient_yellow, rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%)", + "vkontakteGradientYellowBright": "var(--vkui--vkontakte_gradient_yellow_bright, rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%)", "vkontakteImAttachTint": { "active": "var(--vkui--vkontakte_im_attach_tint--active, #D7D8DB)", "hover": "var(--vkui--vkontakte_im_attach_tint--hover, #EBEDF0)", @@ -495066,40 +495066,40 @@ exports[`shapshots vkontakteIOSDark theme should match root theme snapshot 1`] = "hover": "#ADB1B6", "normal": "#aaaeb3", }, - "vkontakteGradientAquamarineBlue": "#7DF1FA, #2BB4D6", - "vkontakteGradientBlue": "#66CCFF, #3F8AE0", - "vkontakteGradientCandy": "#FF99CC, #E52E6A", - "vkontakteGradientCrimson": "#FF7373, #E53949, #BF1C38", - "vkontakteGradientDisco": "#FFB726, #FF2693, #8122E0, #2693FF", - "vkontakteGradientEmerald": "#00D948, #0D8046", - "vkontakteGradientFrost": "#4FA0FF, #016CEA", - "vkontakteGradientGray": "#C1CAD6, #878F99", - "vkontakteGradientGreen": "#6CD97E, #12B312", - "vkontakteGradientHalloweenOrange": "#CB1E3B, #F05C44, #FFA000", - "vkontakteGradientHalloweenViolet": "#FFA000, #CD4C4B, #792EC0", - "vkontakteGradientLagoon": "#2BD9D9, #5C9CE6", - "vkontakteGradientLavender": "#928FFF, #4B47B2", - "vkontakteGradientMable": "#D9F4FF, #D9F4FF", - "vkontakteGradientMarine": "#2EE54D, #0D7EFF", - "vkontakteGradientMidnight": "#73D0FF, #3885E1, #0032A6", - "vkontakteGradientNewYear": "#BB64E4, #805BD7, #2866D5", - "vkontakteGradientOrange": "#FFBF80, #E66B2E", - "vkontakteGradientPink": "#FF8880, #E62E6B", - "vkontakteGradientPurple": "#A393F5, #735CE6", - "vkontakteGradientRaspberryPink": "#FF80D5, #E645B1", - "vkontakteGradientRed": "#FF7583, #E62E40", - "vkontakteGradientRetrowave": "#30F2B1, #5967FF, #FF26A5", - "vkontakteGradientSberkot": "#9DF19D, #31C2A7, #21A19A, #107F8C", - "vkontakteGradientSunset": "#FFD24D, #F26549, #E62E6B", - "vkontakteGradientTurquoise": "#8AE6E6, #12B3B3", - "vkontakteGradientTwilight": "#FF4D87, #9F40FF, #3399FF", - "vkontakteGradientUnicorn": "#FF99CC, #A179F2, #5CA1E6", - "vkontakteGradientValentine": "#FF8A65, #F25383, #8F13DB", - "vkontakteGradientViolet": "#D3A6FF, #903FE0", - "vkontakteGradientWarmValentine": "#F3386A, #FF819E", - "vkontakteGradientWomensDay": "#FF99CC, #E52E6A", - "vkontakteGradientYellow": "#FFC44D, #F07300", - "vkontakteGradientYellowBright": "#FFD54F, #E7A902", + "vkontakteGradientAquamarineBlue": "rgba(125, 241, 250, 1) 0%, rgba(43, 180, 214, 1) 100%", + "vkontakteGradientBlue": "rgba(102, 204, 255, 1) 0%, rgba(63, 138, 224, 1) 100%", + "vkontakteGradientCandy": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientCrimson": "rgba(255, 115, 115, 1) 0%, rgba(229, 57, 73, 1) 50%, rgba(191, 28, 56, 1) 100%", + "vkontakteGradientDisco": "rgba(255, 183, 38, 1) 0%, rgba(255, 38, 147, 1) 33%, rgba(129, 34, 224, 1) 67%, rgba(38, 147, 255, 1) 100%", + "vkontakteGradientEmerald": "rgba(0, 217, 72, 1) 0%, rgba(13, 128, 70, 1) 100%", + "vkontakteGradientFrost": "rgba(79, 160, 255, 1) 0%, rgba(1, 108, 234, 1) 100%", + "vkontakteGradientGray": "rgba(193, 202, 214, 1) 0%, rgba(135, 143, 153, 1) 100%", + "vkontakteGradientGreen": "rgba(108, 217, 126, 1) 0%, rgba(18, 179, 18, 1) 100%", + "vkontakteGradientHalloweenOrange": "rgba(203, 30, 59, 1) 0%, rgba(240, 92, 68, 1) 50%, rgba(255, 160, 0, 1) 100%", + "vkontakteGradientHalloweenViolet": "rgba(255, 160, 0, 1) 0%, rgba(205, 76, 75, 1) 50%, rgba(121, 46, 192, 1) 100%", + "vkontakteGradientLagoon": "rgba(43, 217, 217, 1) 0%, rgba(92, 156, 230, 1) 100%", + "vkontakteGradientLavender": "rgba(146, 143, 255, 1) 0%, rgba(75, 71, 178, 1) 100%", + "vkontakteGradientMable": "rgba(217, 244, 255, 1) 0%, rgba(217, 244, 255, 1) 100%", + "vkontakteGradientMarine": "rgba(46, 229, 77, 1) 0%, rgba(13, 126, 255, 1) 100%", + "vkontakteGradientMidnight": "rgba(115, 208, 255, 1) 0%, rgba(56, 133, 225, 1) 50%, rgba(0, 50, 166, 1) 100%", + "vkontakteGradientNewYear": "rgba(187, 100, 228, 1) 0%, rgba(128, 91, 215, 1) 50%, rgba(40, 102, 213, 1) 100%", + "vkontakteGradientOrange": "rgba(255, 191, 128, 1) 0%, rgba(230, 107, 46, 1) 100%", + "vkontakteGradientPink": "rgba(255, 136, 128, 1) 0%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientPurple": "rgba(163, 147, 245, 1) 0%, rgba(115, 92, 230, 1) 100%", + "vkontakteGradientRaspberryPink": "rgba(255, 128, 213, 1) 0%, rgba(230, 69, 177, 1) 100%", + "vkontakteGradientRed": "rgba(255, 117, 131, 1) 0%, rgba(230, 46, 64, 1) 100%", + "vkontakteGradientRetrowave": "rgba(48, 242, 177, 1) 0%, rgba(89, 103, 255, 1) 50%, rgba(255, 38, 165, 1) 100%", + "vkontakteGradientSberkot": "rgba(157, 241, 157, 1) 0%, rgba(49, 194, 167, 1) 33%, rgba(33, 161, 154, 1) 67%, rgba(16, 127, 140, 1) 100%", + "vkontakteGradientSunset": "rgba(255, 210, 77, 1) 0%, rgba(242, 101, 73, 1) 50%, rgba(230, 46, 107, 1) 100%", + "vkontakteGradientTurquoise": "rgba(138, 230, 230, 1) 0%, rgba(18, 179, 179, 1) 100%", + "vkontakteGradientTwilight": "rgba(255, 77, 135, 1) 0%, rgba(159, 64, 255, 1) 50%, rgba(51, 153, 255, 1) 100%", + "vkontakteGradientUnicorn": "rgba(255, 153, 204, 1) 0%, rgba(161, 121, 242, 1) 50%, rgba(92, 161, 230, 1) 100%", + "vkontakteGradientValentine": "rgba(255, 138, 101, 1) 0%, rgba(242, 83, 131, 1) 50%, rgba(143, 19, 219, 1) 100%", + "vkontakteGradientViolet": "rgba(211, 166, 255, 1) 0%, rgba(144, 63, 224, 1) 100%", + "vkontakteGradientWarmValentine": "rgba(243, 56, 106, 1) 0%, rgba(255, 129, 158, 1) 100%", + "vkontakteGradientWomensDay": "rgba(255, 153, 204, 1) 0%, rgba(229, 46, 106, 1) 100%", + "vkontakteGradientYellow": "rgba(255, 196, 77, 1) 0%, rgba(240, 115, 0, 1) 100%", + "vkontakteGradientYellowBright": "rgba(255, 213, 79, 1) 0%, rgba(231, 169, 2, 1) 100%", "vkontakteImAttachTint": { "active": "#D7D8DB", "hover": "#EBEDF0", diff --git a/src/build/compilers/structJSON/compileStructJSON.test.ts b/src/build/compilers/structJSON/compileStructJSON.test.ts index 23d2bd489..86cd71c9b 100644 --- a/src/build/compilers/structJSON/compileStructJSON.test.ts +++ b/src/build/compilers/structJSON/compileStructJSON.test.ts @@ -3,11 +3,29 @@ import { describe, expect, it } from '@jest/globals'; import { compileStructJSON } from './compileStructJSON'; describe('compileJSON', () => { - it('should correct stringify', () => { + it('should stringify correctly', () => { const testData = { colorA: '#fff', colorsScheme: 'scheme', randomToken: 123, + gradientTest: + 'var(--vkui--color_background_content, rgba(255, 255, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%', + gradientOneColor: [ + 'rgba(0, 0, 255, 0) 0%', + 'rgba(0, 0, 255, 0.05) 15%', + 'rgba(0, 0, 255, 0.2) 30%', + 'rgba(0, 0, 255, 0.8) 70%', + 'rgba(0, 0, 255, 0.95) 85%', + 'rgba(0, 0, 255, 1) 100%', + ].join(', '), + gradientOneVariable: [ + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0)) 0%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.05)) 15%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.2)) 30%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.8)) 70%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.95)) 85%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 1)) 100%', + ].join(', '), }; expect(compileStructJSON(testData)).toBe( @@ -20,6 +38,92 @@ describe('compileJSON', () => { }, "other": { "randomToken": 123 + }, + "gradient": { + "gradientTest": [ + { + "color": "rgba(255, 255, 255, 1)", + "token": "colorBackgroundContent", + "step": 0, + "alpha": 1 + }, + { + "color": "rgba(0, 0, 0, 0)", + "step": 1, + "alpha": 0, + "token": "colorBackgroundContent" + } + ], + "gradientOneColor": [ + { + "color": "rgba(0, 0, 255, 0)", + "step": 0, + "alpha": 0 + }, + { + "color": "rgba(0, 0, 255, 0.05)", + "step": 0.15, + "alpha": 0.05 + }, + { + "color": "rgba(0, 0, 255, 0.2)", + "step": 0.3, + "alpha": 0.2 + }, + { + "color": "rgba(0, 0, 255, 0.8)", + "step": 0.7, + "alpha": 0.8 + }, + { + "color": "rgba(0, 0, 255, 0.95)", + "step": 0.85, + "alpha": 0.95 + }, + { + "color": "rgba(0, 0, 255, 1)", + "step": 1, + "alpha": 1 + } + ], + "gradientOneVariable": [ + { + "color": "rgba(0, 0, 255, 0)", + "token": "colorIconPrimary", + "step": 0, + "alpha": 0 + }, + { + "color": "rgba(0, 0, 255, 0.05)", + "token": "colorIconPrimary", + "step": 0.15, + "alpha": 0.05 + }, + { + "color": "rgba(0, 0, 255, 0.2)", + "token": "colorIconPrimary", + "step": 0.3, + "alpha": 0.2 + }, + { + "color": "rgba(0, 0, 255, 0.8)", + "token": "colorIconPrimary", + "step": 0.7, + "alpha": 0.8 + }, + { + "color": "rgba(0, 0, 255, 0.95)", + "token": "colorIconPrimary", + "step": 0.85, + "alpha": 0.95 + }, + { + "color": "rgba(0, 0, 255, 1)", + "token": "colorIconPrimary", + "step": 1, + "alpha": 1 + } + ] } }`, ); diff --git a/src/build/compilers/structJSON/compileStructJSON.ts b/src/build/compilers/structJSON/compileStructJSON.ts index 6e1b031a8..7b65b6725 100644 --- a/src/build/compilers/structJSON/compileStructJSON.ts +++ b/src/build/compilers/structJSON/compileStructJSON.ts @@ -1,3 +1,6 @@ +import Color from 'color'; + +import { convertSnakeToCamel } from '@/build/helpers/convertSnakeToCamel'; import type { Theme } from '@/interfaces/general'; export type ValuesOf = T[number]; @@ -18,6 +21,68 @@ const groups = [ 'other', ] as const; +interface StructGradientPoint { + color: string; + token?: string; + step?: number; + alpha?: number; +} + +function parseRawToken(rawToken: string): StructGradientPoint { + const percentMatch = rawToken.match(/\d+$/); + + const step = + percentMatch && percentMatch.length > 0 ? parseFloat(percentMatch[0]) / 100 : undefined; + + rawToken = rawToken.replace(/^,\s/g, '').replace(/\d+$/g, '').trim(); + + if (rawToken.startsWith('var(')) { + const varNameRaw = /^var\(([\w\-_]+)/.exec(rawToken); + + if (varNameRaw) { + const varName = varNameRaw[1]; + const varValue = rawToken.slice(varNameRaw[0].length, -1).trim().slice(1).trim(); + + return { + color: varValue, + token: convertSnakeToCamel(varName), + step, + alpha: new Color(varValue).alpha(), + }; + } + } + + return { + color: rawToken, + step, + alpha: new Color(rawToken).alpha(), + }; +} + +function compileStructGradients( + cssGradients: Record, +): Record { + const structGradients: Record = {}; + const keys = Object.keys(cssGradients); + + for (const key of keys) { + const rawPoints = cssGradients[key].split('%').slice(0, -1); + + structGradients[key] = rawPoints.map(parseRawToken).map((structToken, index, array) => { + if (index > 0 && !structToken.token) { + return { + ...structToken, + token: structToken.token ?? array[0].token, + }; + } + + return structToken; + }); + } + + return structGradients; +} + /** * Компилирует структурируемый json с темой */ @@ -34,5 +99,9 @@ export const compileStructJSON = (theme: T): string => { structTheme[group][key] = theme[key]; }); + if (structTheme['gradient']) { + structTheme['gradient'] = compileStructGradients(structTheme['gradient']); + } + return JSON.stringify(structTheme, null, '\t'); }; diff --git a/src/build/helpers/convertSnakeToCamel.test.ts b/src/build/helpers/convertSnakeToCamel.test.ts new file mode 100644 index 000000000..b3b746069 --- /dev/null +++ b/src/build/helpers/convertSnakeToCamel.test.ts @@ -0,0 +1,21 @@ +import { describe, expect, test } from '@jest/globals'; + +import { convertSnakeToCamel } from './convertSnakeToCamel'; + +describe('convertSnakeToCamel', () => { + test('convert empty string', () => { + expect(convertSnakeToCamel('')).toEqual(''); + }); + + test('replaces prefix', () => { + expect(convertSnakeToCamel('--vkui--')).toEqual(''); + }); + + test('replaces prefix and converts to lower case', () => { + expect(convertSnakeToCamel('--vkui--Test')).toEqual('test'); + }); + + test('replaces prefix and converts to camel case', () => { + expect(convertSnakeToCamel('--vkui--Test_var')).toEqual('testVar'); + }); +}); diff --git a/src/build/helpers/convertSnakeToCamel.ts b/src/build/helpers/convertSnakeToCamel.ts new file mode 100644 index 000000000..99e8aa29c --- /dev/null +++ b/src/build/helpers/convertSnakeToCamel.ts @@ -0,0 +1,9 @@ +/** + * snake_case -> camelCase + */ +export function convertSnakeToCamel(snake: string, prefix = 'vkui'): string { + return snake + .replace(new RegExp(`^--${prefix}--`), '') + .toLowerCase() + .replace(/([-_][a-z])/g, (group) => group.toUpperCase().replace('-', '').replace('_', '')); +} diff --git a/src/build/helpers/getGradientPointsFromColor.ts b/src/build/helpers/getGradientPointsFromColor.ts index 9907c2f3b..81d6cc88f 100644 --- a/src/build/helpers/getGradientPointsFromColor.ts +++ b/src/build/helpers/getGradientPointsFromColor.ts @@ -3,20 +3,56 @@ import type { Property } from 'csstype'; import { GradientPoints } from '@/interfaces/general/gradients'; -// opacityMap.json требуется для android и ios клиентов +import { getVariableName } from '../themeProcessors/extractVarsNames/extractVarsNames'; import opacityMap from './opacityMap.json'; +export type OpacityPoints = [number, number][]; + +type GradientPointRaw = () => { + value: Property.Color; + key?: string; + prefix?: string; +}; + +export const defaultOpacityPoints: OpacityPoints = opacityMap as any; + +export function makeGradientPointRaw( + value: Property.Color, + key?: string, + prefix?: string, +): GradientPointRaw { + return () => ({ + value, + key, + prefix, + }); +} + export function getGradientPointsFromColor( - colorArg: Property.Color, + colorArg: Property.Color | GradientPointRaw, opacityMultiplier = 1, + opacityPoints: OpacityPoints = defaultOpacityPoints, ): GradientPoints { - const colorRGB: string = color(colorArg).rgb().array().join(', '); + const gradientPointData = typeof colorArg === 'function' ? colorArg() : { value: colorArg }; - return opacityMap + const colorRGB: string = color(gradientPointData.value).rgb().array().slice(0, 3).join(', '); + const colorAlpha = color(gradientPointData.value).alpha(); + + return opacityPoints .map(([pointOpacity, pointCoordinate]) => { - return `rgba(${colorRGB}, ${ - Math.round(pointOpacity * opacityMultiplier * 1000) / 1000 - }) ${pointCoordinate}%`; + const targetOpacity = colorAlpha * pointOpacity; + const colorValue = `rgba(${colorRGB}, ${Math.round(targetOpacity * opacityMultiplier * 1000) / 1000})`; + + if (typeof gradientPointData.key === 'string') { + const tokenName = getVariableName({ + key: gradientPointData.key, + prefix: gradientPointData.prefix, + }); + + return `var(${tokenName}, ${colorValue}) ${pointCoordinate}%`; + } + + return `${colorValue} ${pointCoordinate}%`; }) .join(', '); } diff --git a/src/build/helpers/tokenHelpers.test.ts b/src/build/helpers/tokenHelpers.test.ts index 107ca643a..14b8da1cc 100644 --- a/src/build/helpers/tokenHelpers.test.ts +++ b/src/build/helpers/tokenHelpers.test.ts @@ -1,6 +1,6 @@ import { describe, expect, test } from '@jest/globals'; -import { alias, staticRef } from '@/build/helpers/tokenHelpers'; +import { alias, gradient, namedAlias, staticRef } from '@/build/helpers/tokenHelpers'; describe('tokenHelpers', () => { describe('alias', () => { @@ -11,6 +11,17 @@ describe('tokenHelpers', () => { }); }); + describe('namedAlias', () => { + test('maps token to another token, preserving name', () => { + expect(namedAlias('sizeArrow')({ sizeArrow: { regular: 10 } })).toEqual([ + 'sizeArrow', + { + regular: 10, + }, + ]); + }); + }); + describe('staticRef', () => { test('returns static value', () => { expect(staticRef(10)).toEqual(10); @@ -22,4 +33,56 @@ describe('tokenHelpers', () => { ); }); }); + + describe('gradient', () => { + test('calculates gradient string from 1 color with value', () => { + const gradientToken = gradient('blue'); + const gradientValue = gradientToken({}); + + expect(gradientValue).toEqual( + [ + 'rgba(0, 0, 255, 0) 0%', + 'rgba(0, 0, 255, 0.05) 15%', + 'rgba(0, 0, 255, 0.2) 30%', + 'rgba(0, 0, 255, 0.8) 70%', + 'rgba(0, 0, 255, 0.95) 85%', + 'rgba(0, 0, 255, 1) 100%', + ].join(', '), + ); + }); + + test('calculates gradient string from 1 color with variable', () => { + const gradientToken = gradient(namedAlias('colorIconPrimary')); + const gradientValue = gradientToken({ colors: { colorIconPrimary: 'blue' } as any }); + + expect(gradientValue).toEqual( + [ + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0)) 0%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.05)) 15%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.2)) 30%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.8)) 70%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 0.95)) 85%', + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 1)) 100%', + ].join(', '), + ); + }); + + test('calculates gradient string from 2 colors', () => { + const gradientToken = gradient(namedAlias('colorIconPrimary'), 'transparent'); + const gradientValue = gradientToken({ colors: { colorIconPrimary: 'blue' } as any }); + + expect(gradientValue).toEqual( + 'var(--vkui--color_icon_primary, rgba(0, 0, 255, 1)) 0%, rgba(0, 0, 0, 0) 100%', + ); + }); + + test('calculates gradient string from 3 colors', () => { + const gradientToken = gradient('blue', 'black', 'red'); + const gradientValue = gradientToken({}); + + expect(gradientValue).toEqual( + 'rgba(0, 0, 255, 1) 0%, rgba(0, 0, 0, 1) 50%, rgba(255, 0, 0, 1) 100%', + ); + }); + }); }); diff --git a/src/build/helpers/tokenHelpers.ts b/src/build/helpers/tokenHelpers.ts index 8f520a7ce..e7b012b2d 100644 --- a/src/build/helpers/tokenHelpers.ts +++ b/src/build/helpers/tokenHelpers.ts @@ -1,10 +1,48 @@ -import { ThemeGeneral } from '@/interfaces/general'; +import type { Property } from 'csstype'; + +import { ThemeDescription } from '@/interfaces/general'; import { Token } from '@/interfaces/general/tools/tokenValue'; -export function alias(token: string): (theme: Partial) => Token { - return (theme) => theme[token]; +import { + defaultOpacityPoints, + getGradientPointsFromColor, + makeGradientPointRaw, + OpacityPoints, +} from './getGradientPointsFromColor'; + +export type TokenFunction = (theme: Partial) => Token; +export type NamedTokenFunction = ( + theme: Partial, +) => [string | undefined, Token]; + +export type OpacityPoint = [number, number]; + +function readThemeToken(theme: any, token: string): Token { + return theme[token] ?? (theme['colors'] ?? {})[token]; } +/** + * Функция выполняет подстановку значения другого токена. + * @param token Имя токена. Можно использовать токены из текущей темы либо из всех тем, + * от которой наследуется текущая. + */ +export function alias(token: string): TokenFunction { + return (theme) => readThemeToken(theme, token); +} + +/** + * Функция создаёт runtime-ссылку на другой токен темы выполняет подстановку fallback-значения этого токена. + * @param token Имя токена. Можно использовать токены из текущей темы либо из всех тем, + * от которой наследуется текущая. + */ +export function namedAlias(token: string): NamedTokenFunction { + return (theme) => [token, readThemeToken(theme, token)]; +} + +/** + * Функция создаёт runtime-ссылку на другой токен темы. + * @param token Имя токена. Можно использовать любые токены, которые находятся в контексте страницы. + */ export function staticRef(value: Token): T { if (typeof value === 'function') { throw new Error('Cannot use callable token value in static ref'); @@ -12,3 +50,33 @@ export function staticRef(value: Token): T { return value; } + +function makeOpacityPoints(count: number): OpacityPoints { + const result: OpacityPoints = []; + + for (let i = 0; i < count; i++) { + const percent = Math.round(i * (1 / (count - 1)) * 100); + result.push([1, percent]); + } + + return result; +} + +export function gradient( + ...stops: (Property.Color | NamedTokenFunction)[] +): TokenFunction { + const opacityPoints = stops.length > 1 ? makeOpacityPoints(stops.length) : defaultOpacityPoints; + + return (theme) => { + return opacityPoints + .map(([pointOpacity, pointCoordinate], index) => { + const stop = stops[index] ?? stops[stops.length - 1]; + const [stopKey, stopValue] = typeof stop === 'function' ? stop(theme) : [undefined, stop]; + + const pointRaw = makeGradientPointRaw(stopValue, stopKey); + + return getGradientPointsFromColor(pointRaw, 1, [[pointOpacity, pointCoordinate]]); + }) + .join(', '); + }; +} diff --git a/src/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.ts b/src/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.ts index 112ceba0c..122ca2422 100644 --- a/src/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.ts +++ b/src/build/themeProcessors/extractGeneralTokens/extractGeneralTokens.ts @@ -18,7 +18,15 @@ export function extractGeneralTokens( const tokenValue = themeDescription[token]; if (typeof tokenValue === 'function') { - copyDescription[token] = tokenValue(themeDescription); + copyDescription[token] = tokenValue; + } + } + + for (const token of tokens) { + const tokenValue = copyDescription[token]; + + if (typeof tokenValue === 'function') { + copyDescription[token] = tokenValue(copyDescription); } } diff --git a/src/interfaces/general/gradients/index.ts b/src/interfaces/general/gradients/index.ts index f694ff31d..611f9335d 100644 --- a/src/interfaces/general/gradients/index.ts +++ b/src/interfaces/general/gradients/index.ts @@ -1,4 +1,5 @@ -export type GradientPoints = string; +// TODO: Нормальный тип вместо unknown (поправить Type instantiation is excessively deep and possibly infinite) +export type GradientPoints = string | unknown; export interface Gradients { /** diff --git a/src/themeDescriptions/themes/vkontakteAndroid/index.ts b/src/themeDescriptions/themes/vkontakteAndroid/index.ts index 77ba55b03..757153aa6 100644 --- a/src/themeDescriptions/themes/vkontakteAndroid/index.ts +++ b/src/themeDescriptions/themes/vkontakteAndroid/index.ts @@ -1,5 +1,7 @@ import lodash from 'lodash'; +import { gradient, namedAlias } from '@/build/helpers/tokenHelpers'; +import { Gradients } from '@/interfaces/general/gradients'; import { DeepPartial } from '@/interfaces/general/tools/utils'; import type { LocalVkontakteAndroidColorsDescriptionStruct, @@ -223,7 +225,19 @@ export const vkontakteLocalColorDark: LocalVkontakteAndroidColorsDescriptionStru const fontFamilyAccent = '"VK Sans Display", -apple-system, system-ui, "Helvetica Neue", Roboto, sans-serif'; -const gradients: VkontakteAndroidGradients = { +function makeFunctionalGradients(source: T): T { + const keys = Object.keys(source); + const result: T = {} as any; + + for (const key of keys) { + const colors = source[key].split(', '); + result[key] = gradient(...colors); + } + + return result; +} + +const colorGradients: VkontakteAndroidGradients = makeFunctionalGradients({ vkontakteGradientAquamarineBlue: '#7DF1FA, #2BB4D6', vkontakteGradientBlue: '#66CCFF, #3F8AE0', vkontakteGradientCandy: '#FF99CC, #E52E6A', @@ -258,6 +272,13 @@ const gradients: VkontakteAndroidGradients = { vkontakteGradientSberkot: '#9DF19D, #31C2A7, #21A19A, #107F8C', vkontakteGradientMable: '#D9F4FF, #D9F4FF', vkontakteGradientWomensDay: '#FF99CC, #E52E6A', +}); + +const gradients: Gradients = { + gradient: gradient(namedAlias('colorBackgroundContent'), 'transparent'), + gradientTint: gradient(namedAlias('colorBackgroundTertiary'), 'transparent'), + gradientWhite: gradient('#FFFFFF', 'transparent'), + gradientBlack: gradient('#00000060', 'transparent'), }; export const vkontakteDisplayTitleFontsPartial: DeepPartial = { @@ -386,7 +407,7 @@ const androidFonts: typeof fonts = lodash.merge