From 60fb2de15ffd8addba7c87a7707dea641d6d35d9 Mon Sep 17 00:00:00 2001 From: kramo Date: Sat, 23 Dec 2023 12:04:32 +0100 Subject: [PATCH] theme: Increase padding of switches This is to make it generally more in line with the stylesheet as well as to resolve the blue and white bleeding together in dark mode. It's also consistent with switches in recent mockups. Part-of: --- data/theme/gnome-shell-sass/widgets/_switches.scss | 2 +- data/theme/toggle-off-light.svg | 2 +- data/theme/toggle-off.svg | 2 +- data/theme/toggle-on-light.svg | 2 +- data/theme/toggle-on.svg | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/data/theme/gnome-shell-sass/widgets/_switches.scss b/data/theme/gnome-shell-sass/widgets/_switches.scss index 0364d4c0c..ef8a7b636 100644 --- a/data/theme/gnome-shell-sass/widgets/_switches.scss +++ b/data/theme/gnome-shell-sass/widgets/_switches.scss @@ -2,7 +2,7 @@ // these are equal to the size of the SVG assets $switch_height: 26px; -$switch_width: 48px; +$switch_width: 46px; .toggle-switch { color: $fg_color; diff --git a/data/theme/toggle-off-light.svg b/data/theme/toggle-off-light.svg index 14cb4246a..aa2385bcf 100644 --- a/data/theme/toggle-off-light.svg +++ b/data/theme/toggle-off-light.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/data/theme/toggle-off.svg b/data/theme/toggle-off.svg index 323f73b9f..43cb59fc4 100644 --- a/data/theme/toggle-off.svg +++ b/data/theme/toggle-off.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/data/theme/toggle-on-light.svg b/data/theme/toggle-on-light.svg index f3dbf3157..778f922c8 100644 --- a/data/theme/toggle-on-light.svg +++ b/data/theme/toggle-on-light.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/data/theme/toggle-on.svg b/data/theme/toggle-on.svg index 215760faf..43c221ed7 100644 --- a/data/theme/toggle-on.svg +++ b/data/theme/toggle-on.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file