From 910260d50c742f6c693670d29da68d8f40d08df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ruiz=20de=20Alegr=C3=ADa?= Date: Thu, 3 Mar 2022 09:02:30 +0100 Subject: [PATCH] Gnome-Shell: update switches theme tweaks --- .../Kali-Dark/gnome-shell/assets/toggle-off-dark.svg | 1 - .../Kali-Dark/gnome-shell/assets/toggle-off-light.svg | 1 + .../Kali-Dark/gnome-shell/assets/toggle-off.svg | 2 +- .../Kali-Dark/gnome-shell/assets/toggle-on-dark.svg | 1 - .../Kali-Dark/gnome-shell/assets/toggle-on-light.svg | 1 + .../themes/Kali-Dark/gnome-shell/assets/toggle-on.svg | 2 +- share/themes/Kali-Dark/gnome-shell/gnome-shell.css | 11 +---------- share/themes/Kali-Light/gnome-shell/gnome-shell.css | 11 +---------- src/themes/Kali/sass/gnome-shell/_common-tweaks.scss | 11 +---------- 9 files changed, 7 insertions(+), 34 deletions(-) delete mode 100644 share/themes/Kali-Dark/gnome-shell/assets/toggle-off-dark.svg create mode 100644 share/themes/Kali-Dark/gnome-shell/assets/toggle-off-light.svg delete mode 100644 share/themes/Kali-Dark/gnome-shell/assets/toggle-on-dark.svg create mode 100644 share/themes/Kali-Dark/gnome-shell/assets/toggle-on-light.svg diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-dark.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-dark.svg deleted file mode 100644 index 3ea0ddd4..00000000 --- a/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-dark.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-light.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-light.svg new file mode 100644 index 00000000..654f88c3 --- /dev/null +++ b/share/themes/Kali-Dark/gnome-shell/assets/toggle-off-light.svg @@ -0,0 +1 @@ + diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-off.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-off.svg index 178435fc..cba25060 100644 --- a/share/themes/Kali-Dark/gnome-shell/assets/toggle-off.svg +++ b/share/themes/Kali-Dark/gnome-shell/assets/toggle-off.svg @@ -1 +1 @@ - + diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-dark.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-dark.svg deleted file mode 100644 index e814fbba..00000000 --- a/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-dark.svg +++ /dev/null @@ -1 +0,0 @@ - diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-light.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-light.svg new file mode 100644 index 00000000..6368ef17 --- /dev/null +++ b/share/themes/Kali-Dark/gnome-shell/assets/toggle-on-light.svg @@ -0,0 +1 @@ + diff --git a/share/themes/Kali-Dark/gnome-shell/assets/toggle-on.svg b/share/themes/Kali-Dark/gnome-shell/assets/toggle-on.svg index 47e93acb..9bbee49d 100644 --- a/share/themes/Kali-Dark/gnome-shell/assets/toggle-on.svg +++ b/share/themes/Kali-Dark/gnome-shell/assets/toggle-on.svg @@ -1 +1 @@ - + diff --git a/share/themes/Kali-Dark/gnome-shell/gnome-shell.css b/share/themes/Kali-Dark/gnome-shell/gnome-shell.css index 39d0c174..231dc88e 100644 --- a/share/themes/Kali-Dark/gnome-shell/gnome-shell.css +++ b/share/themes/Kali-Dark/gnome-shell/gnome-shell.css @@ -2584,17 +2584,8 @@ $_osd_color: if($variant=='light', black, $fg_color); -barlevel-border-width: 0; -slider-handle-radius: 0; } -/* Switches */ +/* Popovers/Menus */ /* -.toggle-switch { - background-image: if($variant == 'light', url("assets/toggle-off.svg"), - url("assets/toggle-off-dark.svg")); - &:checked { - background-image: if($variant == 'light', url("assets/toggle-on.svg"), - url("assets/toggle-on-dark.svg")); - } -} - // menu items .popup-menu-item { &.selected, &:active { diff --git a/share/themes/Kali-Light/gnome-shell/gnome-shell.css b/share/themes/Kali-Light/gnome-shell/gnome-shell.css index 2a78ccf8..2ea51656 100644 --- a/share/themes/Kali-Light/gnome-shell/gnome-shell.css +++ b/share/themes/Kali-Light/gnome-shell/gnome-shell.css @@ -2580,17 +2580,8 @@ $_osd_color: if($variant=='light', black, $fg_color); -barlevel-border-width: 0; -slider-handle-radius: 0; } -/* Switches */ +/* Popovers/Menus */ /* -.toggle-switch { - background-image: if($variant == 'light', url("assets/toggle-off.svg"), - url("assets/toggle-off-dark.svg")); - &:checked { - background-image: if($variant == 'light', url("assets/toggle-on.svg"), - url("assets/toggle-on-dark.svg")); - } -} - // menu items .popup-menu-item { &.selected, &:active { diff --git a/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss b/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss index 445f05b8..f42c968e 100644 --- a/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss +++ b/src/themes/Kali/sass/gnome-shell/_common-tweaks.scss @@ -31,17 +31,8 @@ $_osd_color: if($variant=='light', black, $fg_color); -slider-handle-radius: 0; } -/* Switches */ +/* Popovers/Menus */ /* -.toggle-switch { - background-image: if($variant == 'light', url("assets/toggle-off.svg"), - url("assets/toggle-off-dark.svg")); - &:checked { - background-image: if($variant == 'light', url("assets/toggle-on.svg"), - url("assets/toggle-on-dark.svg")); - } -} - // menu items .popup-menu-item { &.selected, &:active {