From 73420fe1c48ea709bd44ea614210e0b06f8cc5e9 Mon Sep 17 00:00:00 2001 From: gdlbo <41114720+gdlbo@users.noreply.github.com> Date: Sun, 28 May 2023 15:50:11 +0300 Subject: [PATCH] updated vkui injection for new versions --- smali/assets/vt_ui_accent.css | 34 ++++++++++++++++++++++++++++++---- smali/assets/vt_ui_oled.css | 20 ++++++++++++++++++-- 2 files changed, 48 insertions(+), 6 deletions(-) diff --git a/smali/assets/vt_ui_accent.css b/smali/assets/vt_ui_accent.css index 8039d3e14..dc581a1d2 100644 --- a/smali/assets/vt_ui_accent.css +++ b/smali/assets/vt_ui_accent.css @@ -1,12 +1,14 @@ -/* vkui.css V2 by iTaysonLab */ +/* vkui coloring V2 by iTaysonLab */ +/* rewrited by vtosters team */ /* Generic VKUI */ /* additional fixes for various VKUI */ .Tooltip__content { background-color: %accent% !important; } -.vkuibright_light, [scheme=bright_light], body[scheme=bright_light] { +.vkuibright_light, [scheme=bright_light], body[scheme=bright_light], .vkui--vkBase--light, .vkui--vkIOS--light, .vkui--vkCom--light { --accent: %accent% !important; + --vkui--color_icon_accent: %accent% !important; --action_sheet_action_foreground: %accent% !important; --attach_picker_tab_active_background: %accent% !important; --attach_picker_tab_active_text: %accent% !important; @@ -29,22 +31,33 @@ --landing_text_title: %accent% !important; --landing_secondary_button_foreground: %accent% !important; --link_alternate: %accent% !important; + --vkui--color_text_link_themed: %accent% !important; --loader_track_value_fill: %accent% !important; + --vkui--color_track_buffer: %accent% !important; --feed_recommended_friend_promo_background: %accent% !important; --tabbar_active_icon: %accent% !important; --tabbar_tablet_active_icon: %accent% !important; --text_link: %accent% !important; --text_name: %accent% !important; + --vkui--color_text_link: %accent% !important; + --vkui--color_text_name: %accent% !important; --writebar_icon: %accent% !important; + --vkui--color_write_bar_icon: %accent% !important; --dynamic_blue: %accent% !important; /* backgrounds */ --background_content: %background_content% !important; + --vkui--color_background_content: %background_content% !important; --background_page: %background_page% !important; + --vkui--color_background: %background_page% !important; --content_tint_background: %content_tint_background% !important; + --vkui--color_background_secondary: %content_tint_background% !important; --loader_background: %background_page% !important; --header_background: %header_background% !important; --header_background_before_blur: %header_background% !important; --header_background_before_blur_alternate: %header_background% !important; + --vkui--color_header_background: %header_background% !important; + --vkui--color_header_background_before_blur: %header_background% !important; + --vkui--color_header_background_before_blur_alternate: %header_background% !important; --header_alternate_background: %header_background% !important; --header_text_alternate: %header_text% !important; @@ -52,12 +65,14 @@ --header_text_secondary: %header_text% !important; --header_tint: %header_text% !important; --header_tint_alternate: %header_text% !important; + --vkui--color_icon_accent_themed: %header_text% !important; } -.vkuispace_gray, [scheme=space_gray], body[scheme=space_gray] { +.vkuispace_gray, [scheme=space_gray], body[scheme=space_gray], .vkui--vkBase--dark, .vkui--vkIOS--dark, .vkui--vkCom--dark { --accent: %accent% !important; + --vkui--color_icon_accent: %accent% !important; --action_sheet_action_foreground: %accent% !important; --attach_picker_tab_active_background: %accent% !important; --attach_picker_tab_active_text: %accent% !important; @@ -80,25 +95,36 @@ --landing_text_title: %accent% !important; --landing_secondary_button_foreground: %accent% !important; --link_alternate: %accent% !important; + --vkui--color_text_link_themed: %accent% !important; --loader_track_value_fill: %accent% !important; + --vkui--color_track_buffer: %accent% !important; --feed_recommended_friend_promo_background: %accent% !important; --tabbar_active_icon: %accent% !important; --tabbar_tablet_active_icon: %accent% !important; --text_link: %accent% !important; --text_name: %accent% !important; + --vkui--color_text_link: %accent% !important; + --vkui--color_text_name: %accent% !important; --writebar_icon: %accent% !important; + --vkui--color_write_bar_icon: %accent% !important; --dynamic_blue: %accent% !important; --background_content: %background_content% !important; + --vkui--color_background_content: %background_content% !important; --background_page: %background_page% !important; + --vkui--color_background: %background_page% !important; --content_tint_background: %content_tint_background% !important; + --vkui--color_background_secondary: %content_tint_background% !important; --loader_background: %background_page% !important; --header_background: %header_background% !important; --header_background_before_blur: %header_background% !important; --header_background_before_blur_alternate: %header_background% !important; + --vkui--color_header_background: %header_background% !important; + --vkui--color_header_background_before_blur: %header_background% !important; + --vkui--color_header_background_before_blur_alternate: %header_background% !important; --header_alternate_background: %header_background% !important; --header_tint: %header_text% !important; --header_tint_alternate: %header_text% !important; - + --vkui--color_icon_accent_themed: %header_text% !important; --header_text_alternate: %header_text% !important; --header_text: %header_text% !important; --header_text_secondary: %header_text% !important; diff --git a/smali/assets/vt_ui_oled.css b/smali/assets/vt_ui_oled.css index db051b265..ccad5fec2 100644 --- a/smali/assets/vt_ui_oled.css +++ b/smali/assets/vt_ui_oled.css @@ -1,4 +1,5 @@ -/* vkui.css V2 by iTaysonLab */ +/* vkui coloring V2 by iTaysonLab */ +/* rewrited by vtosters team */ /* Articles */ body.article_body.article_dark { background-color: #000000 !important; @@ -48,45 +49,60 @@ body.article_body.article_dark { } /* Generic VKUI */ -.vkuispace_gray, [scheme=space_gray], body[scheme=space_gray] { +.vkuispace_gray, [scheme=space_gray], body[scheme=space_gray], .vkui--vkBase--dark, .vkui--vkIOS--dark, .vkui--vkCom--dark { /* light background */ --attach_picker_tab_active_icon: #000000 !important; --background_content: #000000 !important; + --vkui--color_background_content: %background_content% !important; --button_bot_shadow: #000000 !important; --button_primary_foreground: #000000 !important; --content_tint_background: #000000 !important; + --vkui--color_background_secondary: %content_tint_background% !important; --counter_secondary_text: #000000 !important; --loader_background: #000000 !important; --overlay_status_background: #000000 !important; --header_background: #000000 !important; --header_alternate_background: #000000 !important; + --header_alternate_background: #000000 !important; + --vkui--color_header_background: #000000 !important; --separator_alternate: #000000 !important; --segmented_control_bar_background: #000000 !important; --search_bar_background: #000000 !important; /* background */ --background_page: #000000 !important; + --vkui--color_background: #000000 !important; --header_background_before_blur: #000000 !important; --header_background_before_blur_alternate: #000000 !important; + --vkui--color_header_background_before_blur: #000000 !important; + --vkui--color_header_background_before_blur_alternate: #000000 !important; /* lighter BG (text fields) */ --attach_picker_tab_inactive_background: #121212 !important; --background_keyboard: #121212 !important; --background_suggestions: #121212 !important; + --vkui--color_background_modal: #121212 !important; --field_background: #121212 !important; --im_bubble_incoming: #121212 !important; --input_border: #121212 !important; + --vkui--color_write_bar_input_background: #121212 !important; --modal_card_background: #121212 !important; --separator_common: #121212 !important; + --vkui--color_separator_primary: #121212 !important; --snippet_background: #121212 !important; --android_active_color: #121212 !important; --switch_ios_off_border: #121212 !important; /* third BG (buttons) */ --button_secondary_background: #212121 !important; + --vkui--color_background_secondary_alpha: #212121 !important; --header_search_field_background: #212121 !important; --icon_tertiary: #212121 !important; + --vkui--color_icon_tertiary: #212121 !important; --im_bubble_outgoing: #212121 !important; --input_background: #212121 !important; + --vkui--color_write_bar_input_background: #212121 !important; --loader_track_fill: #212121 !important; + --vkui--color_track_background: #212121 !important; --search_bar_field_background: #212121 !important; + --vkui--color_search_field_background: #212121 !important; --selection_off_icon: #212121 !important; --panel_tab_active_background: #212121 !important; }