diff --git a/package-lock.json b/package-lock.json index 5d196954..24eab4ae 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@vkontakte/vkui-tokens", - "version": "4.0.0-rc.51", + "version": "4.0.0-rc.52", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@vkontakte/vkui-tokens", - "version": "4.0.0-rc.51", + "version": "4.0.0-rc.52", "license": "MIT", "dependencies": { "csstype": "3.0.8" diff --git a/package.json b/package.json index 72510427..b52438e4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@vkontakte/vkui-tokens", - "version": "4.0.0-rc.51", + "version": "4.0.0-rc.52", "description": "Репозиторий, который содержит в себе дизайн-токены и другие инструменты объединенной дизайн-системы VKUI и Paradigm", "license": "MIT", "main": "utils/descriptions.js", diff --git a/src/build/__snapshots__/snapthots.test.ts.snap b/src/build/__snapshots__/snapthots.test.ts.snap index 19197c56..5eb7d2e5 100644 --- a/src/build/__snapshots__/snapthots.test.ts.snap +++ b/src/build/__snapshots__/snapthots.test.ts.snap @@ -50984,34 +50984,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #F0F1F3)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -53216,16 +53188,6 @@ Object { "hover": "#E6E8EC", "normal": "#F0F1F3", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -54442,16 +54404,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, #E6E8EC)", "normal": "var(--vkui--octavius_color_header_search_chip_background, #F0F1F3)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #A7ABB4)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #AFB1B9)", @@ -55668,16 +55620,6 @@ Object { "hover": "#E6E8EC", "normal": "#F0F1F3", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -58600,34 +58542,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #F0F1F3)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -60836,16 +60750,6 @@ Object { "hover": "#E6E8EC", "normal": "#F0F1F3", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -62063,16 +61967,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, #E6E8EC)", "normal": "var(--vkui--octavius_color_header_search_chip_background, #F0F1F3)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #A7ABB4)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #AFB1B9)", @@ -63290,16 +63184,6 @@ Object { "hover": "#E6E8EC", "normal": "#F0F1F3", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -66223,34 +66107,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #303030)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #414141)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #393939)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #313131)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(255, 255, 255, 0.56))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(255, 255, 255, 0.52))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(255, 255, 255, .48))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -68459,16 +68315,6 @@ Object { "hover": "#383838", "normal": "#303030", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#414141", - "hover": "#393939", - "normal": "#313131", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(255, 255, 255, 0.56)", - "hover": "rgba(255, 255, 255, 0.52)", - "normal": "rgba(255, 255, 255, .48)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#BCBEC3", "hover": "#B9BBC1", @@ -69686,16 +69532,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, #383838)", "normal": "var(--vkui--octavius_color_header_search_chip_background, #303030)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #414141)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #393939)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #313131)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(255, 255, 255, 0.56))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(255, 255, 255, 0.52))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(255, 255, 255, .48))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #BCBEC3)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #B9BBC1)", @@ -70913,16 +70749,6 @@ Object { "hover": "#383838", "normal": "#303030", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#414141", - "hover": "#393939", - "normal": "#313131", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(255, 255, 255, 0.56)", - "hover": "rgba(255, 255, 255, 0.52)", - "normal": "rgba(255, 255, 255, .48)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#BCBEC3", "hover": "#B9BBC1", @@ -73846,34 +73672,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #303030)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #414141)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #393939)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #313131)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(255, 255, 255, 0.56))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(255, 255, 255, 0.52))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(255, 255, 255, .48))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -76078,16 +75876,6 @@ Object { "hover": "#383838", "normal": "#303030", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#414141", - "hover": "#393939", - "normal": "#313131", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(255, 255, 255, 0.56)", - "hover": "rgba(255, 255, 255, 0.52)", - "normal": "rgba(255, 255, 255, .48)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#BCBEC3", "hover": "#B9BBC1", @@ -77304,16 +77092,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, #383838)", "normal": "var(--vkui--octavius_color_header_search_chip_background, #303030)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #414141)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #393939)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #313131)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(255, 255, 255, 0.56))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(255, 255, 255, 0.52))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(255, 255, 255, .48))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #BCBEC3)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #B9BBC1)", @@ -78530,16 +78308,6 @@ Object { "hover": "#383838", "normal": "#303030", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#414141", - "hover": "#393939", - "normal": "#313131", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(255, 255, 255, 0.56)", - "hover": "rgba(255, 255, 255, 0.52)", - "normal": "rgba(255, 255, 255, .48)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#BCBEC3", "hover": "#B9BBC1", @@ -81566,34 +81334,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #FFFFFF)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -83811,16 +83551,6 @@ Object { "hover": "rgba(255, 255, 255, 0.64)", "normal": "#FFFFFF", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -85050,16 +84780,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, rgba(255, 255, 255, 0.64))", "normal": "var(--vkui--octavius_color_header_search_chip_background, #FFFFFF)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #A7ABB4)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #AFB1B9)", @@ -86289,16 +86009,6 @@ Object { "hover": "rgba(255, 255, 255, 0.64)", "normal": "#FFFFFF", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -87116,15 +86826,15 @@ Object { "colorButtonContrast": Object { "active": Object { "name": "--vkui--color_button_contrast--active", - "value": "var(--vkui--color_button_contrast--active, rgba(255, 255, 255, 0.6))", + "value": "var(--vkui--color_button_contrast--active, rgba(255, 255, 255, 0.24))", }, "hover": Object { "name": "--vkui--color_button_contrast--hover", - "value": "var(--vkui--color_button_contrast--hover, rgba(255, 255, 255, 0.8))", + "value": "var(--vkui--color_button_contrast--hover, rgba(255, 255, 255, 0.2))", }, "normal": Object { "name": "--vkui--color_button_contrast", - "value": "var(--vkui--color_button_contrast, rgba(255, 255, 255, 1))", + "value": "var(--vkui--color_button_contrast, rgba(255, 255, 255, 0.12))", }, }, "colorCheckboxBorder": Object { @@ -89325,34 +89035,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, rgba(255, 255, 255, 0.08))", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #FFFFFF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #FFFFFF)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -90919,9 +90601,9 @@ Object { "normal": "rgba(0, 16, 61, 0.08)", }, "colorButtonContrast": Object { - "active": "rgba(255, 255, 255, 0.6)", - "hover": "rgba(255, 255, 255, 0.8)", - "normal": "rgba(255, 255, 255, 1)", + "active": "rgba(255, 255, 255, 0.24)", + "hover": "rgba(255, 255, 255, 0.2)", + "normal": "rgba(255, 255, 255, 0.12)", }, "colorCheckboxBorder": Object { "active": "#6A6C6E", @@ -91570,16 +91252,6 @@ Object { "hover": "rgba(255, 255, 255, 0.12)", "normal": "rgba(255, 255, 255, 0.08)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#FFFFFF", - "hover": "#FFFFFF", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#818385", "hover": "#7B7D7F", @@ -92158,9 +91830,9 @@ Object { "normal": "var(--vkui--color_bg_thumbnail, rgba(0, 16, 61, 0.08))", }, "colorButtonContrast": Object { - "active": "var(--vkui--color_button_contrast--active, rgba(255, 255, 255, 0.6))", - "hover": "var(--vkui--color_button_contrast--hover, rgba(255, 255, 255, 0.8))", - "normal": "var(--vkui--color_button_contrast, rgba(255, 255, 255, 1))", + "active": "var(--vkui--color_button_contrast--active, rgba(255, 255, 255, 0.24))", + "hover": "var(--vkui--color_button_contrast--hover, rgba(255, 255, 255, 0.2))", + "normal": "var(--vkui--color_button_contrast, rgba(255, 255, 255, 0.12))", }, "colorCheckboxBorder": Object { "active": "var(--vkui--color_checkbox_border--active, #6A6C6E)", @@ -92809,16 +92481,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, rgba(255, 255, 255, 0.12))", "normal": "var(--vkui--octavius_color_header_search_chip_background, rgba(255, 255, 255, 0.08))", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #FFFFFF)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #FFFFFF)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, rgba(0, 16, 61, 0.2))", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, rgba(0, 16, 61, 0.16))", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, rgba(0, 16, 61, 0.12))", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #818385)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #7B7D7F)", @@ -93397,9 +93059,9 @@ Object { "normal": "rgba(0, 16, 61, 0.08)", }, "colorButtonContrast": Object { - "active": "rgba(255, 255, 255, 0.6)", - "hover": "rgba(255, 255, 255, 0.8)", - "normal": "rgba(255, 255, 255, 1)", + "active": "rgba(255, 255, 255, 0.24)", + "hover": "rgba(255, 255, 255, 0.2)", + "normal": "rgba(255, 255, 255, 0.12)", }, "colorCheckboxBorder": Object { "active": "#6A6C6E", @@ -94048,16 +93710,6 @@ Object { "hover": "rgba(255, 255, 255, 0.12)", "normal": "rgba(255, 255, 255, 0.08)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#FFFFFF", - "hover": "#FFFFFF", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "rgba(0, 16, 61, 0.2)", - "hover": "rgba(0, 16, 61, 0.16)", - "normal": "rgba(0, 16, 61, 0.12)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#818385", "hover": "#7B7D7F", @@ -96980,34 +96632,6 @@ Object { "value": "var(--vkui--octavius_color_header_search_chip_background, #FFFFFF)", }, }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_background_editable", - "value": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--active", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--active, #EBECEF)", - }, - "hover": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable--hover", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, #F5F5F7)", - }, - "normal": Object { - "name": "--vkui--octavius_color_header_search_chip_border_editable", - "value": "var(--vkui--octavius_color_header_search_chip_border_editable, #FFFFFF)", - }, - }, "octaviusColorHeaderSearchIcon": Object { "active": Object { "name": "--vkui--octavius_color_header_search_icon--active", @@ -99212,16 +98836,6 @@ Object { "hover": "rgba(255, 255, 255, 0.64)", "normal": "#FFFFFF", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#FFFFFF", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", @@ -100438,16 +100052,6 @@ Object { "hover": "var(--vkui--octavius_color_header_search_chip_background--hover, rgba(255, 255, 255, 0.64))", "normal": "var(--vkui--octavius_color_header_search_chip_background, #FFFFFF)", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_background_editable--active, #EBECEF)", - "hover": "var(--vkui--octavius_color_header_search_chip_background_editable--hover, #F5F5F7)", - "normal": "var(--vkui--octavius_color_header_search_chip_background_editable, #ffffff)", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "var(--vkui--octavius_color_header_search_chip_border_editable--active, #EBECEF)", - "hover": "var(--vkui--octavius_color_header_search_chip_border_editable--hover, #F5F5F7)", - "normal": "var(--vkui--octavius_color_header_search_chip_border_editable, #FFFFFF)", - }, "octaviusColorHeaderSearchIcon": Object { "active": "var(--vkui--octavius_color_header_search_icon--active, #A7ABB4)", "hover": "var(--vkui--octavius_color_header_search_icon--hover, #AFB1B9)", @@ -101664,16 +101268,6 @@ Object { "hover": "rgba(255, 255, 255, 0.64)", "normal": "#FFFFFF", }, - "octaviusColorHeaderSearchChipBackgroundEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#ffffff", - }, - "octaviusColorHeaderSearchChipBorderEditable": Object { - "active": "#EBECEF", - "hover": "#F5F5F7", - "normal": "#FFFFFF", - }, "octaviusColorHeaderSearchIcon": Object { "active": "#A7ABB4", "hover": "#AFB1B9", diff --git a/src/interfaces/themes/octavius/index.ts b/src/interfaces/themes/octavius/index.ts index eeb4a84e..b8037e0d 100644 --- a/src/interfaces/themes/octavius/index.ts +++ b/src/interfaces/themes/octavius/index.ts @@ -91,8 +91,6 @@ export interface LocalOctaviusColorsDescriptionStruct { octaviusColorHeaderSearchText: ColorDescription; octaviusColorHeaderSearchTextCollapsed: ColorDescription; octaviusColorHeaderSearchChipBackground: ColorDescription; - octaviusColorHeaderSearchChipBackgroundEditable: ColorDescription; - octaviusColorHeaderSearchChipBorderEditable: ColorDescription; // Токены сайдбара octaviusColorSidebarItemBackground: ColorDescription; diff --git a/src/themeDescriptions/themes/octavius/index.ts b/src/themeDescriptions/themes/octavius/index.ts index a2a29dfc..49af34c4 100644 --- a/src/themeDescriptions/themes/octavius/index.ts +++ b/src/themeDescriptions/themes/octavius/index.ts @@ -58,9 +58,6 @@ export const octaviusTheme: ThemeOctaviusDescription = { octaviusColorHeaderSearchIcon: '#b6b8be', octaviusColorHeaderSearchChipBackground: lightTheme.colors.colorBackgroundSecondary, - octaviusColorHeaderSearchChipBackgroundEditable: '#ffffff', - octaviusColorHeaderSearchChipBorderEditable: - lightTheme.colors.colorFieldBorder, octaviusColorHeaderSearchBackground: '#ffffff', octaviusColorHeaderSearchBackgroundCollapsed: '#ffffff', @@ -177,8 +174,6 @@ export const octaviusDarkTheme: ThemeOctaviusDescription = { darkTheme.colors.colorBackgroundModal, octaviusColorHeaderSearchChipBackground: darkTheme.colors.colorBackgroundModal, - octaviusColorHeaderSearchChipBackgroundEditable: '#313131', - octaviusColorHeaderSearchChipBorderEditable: 'rgba(255, 255, 255, .48)', octaviusColorHeaderSearchText: darkTheme.colors.colorTextPrimary, octaviusColorHeaderSearchTextCollapsed: darkTheme.colors.colorTextSecondary, @@ -229,8 +224,6 @@ export const octaviusWhiteTheme: ThemeOctaviusDescription = { hover: 'rgba(255, 255, 255, 0.64)', active: 'rgba(255, 255, 255, 0.4)', }, - octaviusColorHeaderSearchChipBackgroundEditable: '#ffffff', - octaviusColorHeaderSearchChipBorderEditable: '#FFFFFF', }, octaviusElevationHeader: '0px 0px 16px rgba(2, 13, 41, 0.16)', diff --git a/src/themeDescriptions/themes/octaviusVK/index.ts b/src/themeDescriptions/themes/octaviusVK/index.ts index 2cffa07b..02a33d1a 100644 --- a/src/themeDescriptions/themes/octaviusVK/index.ts +++ b/src/themeDescriptions/themes/octaviusVK/index.ts @@ -309,6 +309,12 @@ export const octaviusVKDarkTheme: ThemeOctaviusDescription = { colorBackgroundAccentAlternative: vkDarkColors.colors.colorBackgroundAccent, + colorButtonContrast: { + normal: 'rgba(255, 255, 255, 0.12)', + hover: 'rgba(255, 255, 255, 0.2)', + active: 'rgba(255, 255, 255, 0.24)', + }, + octaviusColorBackground: vkDarkColors.colors.colorBackground, octaviusColorBackgroundAccentToned: toneOpacity( vkDarkColors.colors.colorBackgroundAccent,