diff --git a/0001-feature-button-Delete-transition-duration-for-flat-b.patch b/0001-feature-button-Delete-transition-duration-for-flat-b.patch new file mode 100644 index 0000000..22a0c3d --- /dev/null +++ b/0001-feature-button-Delete-transition-duration-for-flat-b.patch @@ -0,0 +1,37 @@ +From 3b08b2d8b99e2861ca80d35628cf02dfb86b97c7 Mon Sep 17 00:00:00 2001 +From: tangjie02 +Date: Thu, 13 Oct 2022 20:34:42 +0800 +Subject: [PATCH] feature(button): Delete transition-duration for flat button. +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +- 取消flat按钮的悬浮颜色延时,会有卡顿感觉。 + +Signed-off-by: tangjie02 +--- + src/gtk3/widgets/_button.scss | 8 -------- + 1 file changed, 8 deletions(-) + +diff --git a/src/gtk3/widgets/_button.scss b/src/gtk3/widgets/_button.scss +index 9928ed9..37a45d8 100644 +--- a/src/gtk3/widgets/_button.scss ++++ b/src/gtk3/widgets/_button.scss +@@ -101,14 +101,6 @@ $_dot_color: gtk("@theme_widget_foreground_active"); + @include button(normal); + &.flat { + @include button(undecorated); +- +- &:hover { +- /* transition: $button_transition; */ +- transition-duration: 500ms; +- &:active { +- /* transition: $button_transition; */ +- } +- } + } + + &:hover { +-- +2.33.0 + diff --git a/kiran-gtk-theme-2.2.1.tar.gz b/kiran-gtk-theme-2.2.1.tar.gz deleted file mode 100644 index 193b83a..0000000 Binary files a/kiran-gtk-theme-2.2.1.tar.gz and /dev/null differ diff --git a/kiran-gtk-theme-2.3.0.tar.gz b/kiran-gtk-theme-2.3.0.tar.gz new file mode 100644 index 0000000..5df46a0 Binary files /dev/null and b/kiran-gtk-theme-2.3.0.tar.gz differ diff --git a/kiran-gtk-theme.spec b/kiran-gtk-theme.spec index 2a8980a..22c68c7 100644 --- a/kiran-gtk-theme.spec +++ b/kiran-gtk-theme.spec @@ -1,11 +1,13 @@ Name: kiran-gtk-theme -Version: 2.2.1 -Release: 3.kb2 +Version: 2.3.0 +Release: 2 Summary: GTK+ theme designed for kiran License: LGPLv2+ Source0: %{name}-%{version}.tar.gz +Patch0001: 0001-feature-button-Delete-transition-duration-for-flat-b.patch + BuildRequires: cmake >= 3.2 BuildRequires: gcc BuildRequires: gcc-c++ @@ -19,7 +21,7 @@ BuildArch: noarch The kiran-gtk-theme package contains the standard theme for the kiran desktop, which provides default appearance for window borders and GTK+ applications. %prep -%setup -q +%autosetup -p1 %build %cmake @@ -34,6 +36,12 @@ make %{?_smp_mflags} %{_datadir}/themes/Kiran-dark/ %changelog +* Thu Oct 13 2022 tangjie02 - 2.3.0-2 +- KYOS-F: Delete transition-duration for flat button. + +* Tue Aug 23 2022 wxq - 2.3.0-1 +- update to 2.3.0 + * Tue Jan 11 2022 caoyuanji - 2.2.1-3.kb2 - rebuild for KY3.4-5-KiranUI-2.2