Gnome-Shell: update switches theme tweaks

This commit is contained in:
Daniel Ruiz de Alegría 2022-03-03 09:02:30 +01:00
parent 3b5b128c0b
commit 910260d50c
No known key found for this signature in database
GPG Key ID: 59667A77E8BFCB6C
9 changed files with 7 additions and 34 deletions

View File

@ -1 +0,0 @@
<svg version="1.1" viewBox="0 0 46 22" xmlns="http://www.w3.org/2000/svg"><rect x=".625" y=".535" width="44.446" height="20.911" rx="10.455" ry="10.073" fill="#0d0e11" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/><rect x=".543" y=".535" width="21.143" height="20.911" rx="10.455" ry="10.455" fill="#2e313d" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/></svg>

Before

Width:  |  Height:  |  Size: 393 B

View File

@ -0,0 +1 @@
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(-1 0 0 1 0 -291.18)"><rect x="-48" y="291.18" width="48" height="26" rx="13" ry="13" fill="#3081e3" style="fill:#bbb"/><rect x="-24" y="293.18" width="22" height="22" rx="11" ry="11" fill="#f8f7f7" style="fill:#fff"/></g></svg>

After

Width:  |  Height:  |  Size: 323 B

View File

@ -1 +1 @@
<svg version="1.1" viewBox="0 0 46 22" xmlns="http://www.w3.org/2000/svg"><rect x=".625" y=".535" width="44.446" height="20.911" rx="10.455" ry="10.073" style="fill:#e8e8e8;stroke-linecap:round;stroke-linejoin:round;stroke:#d1d1d1"/><rect x=".543" y=".535" width="21.143" height="20.911" rx="10.455" ry="10.455" style="fill:#fff;stroke-linecap:round;stroke-linejoin:round;stroke:#bcbcbc"/></svg>
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="matrix(-1 0 0 1 0 -291.18)"><rect x="-48" y="291.18" width="48" height="26" rx="13" ry="13" fill="#3081e3" style="fill:#fff"/><rect x="-24" y="293.18" width="22" height="22" rx="11" ry="11" fill="#f8f7f7" style="fill:#23252e"/></g></svg>

Before

Width:  |  Height:  |  Size: 396 B

After

Width:  |  Height:  |  Size: 326 B

View File

@ -1 +0,0 @@
<svg version="1.1" viewBox="0 0 46 22" xmlns="http://www.w3.org/2000/svg"><rect transform="scale(-1,1)" x="-44.989" y=".535" width="44.446" height="20.911" rx="10.455" ry="10.073" fill="#2777ff" stroke="#00348d" stroke-linecap="round" stroke-linejoin="round"/><rect transform="scale(-1,1)" x="-45.071" y=".535" width="21.143" height="20.911" rx="10.455" ry="10.455" fill="#2e313d" stroke="#000" stroke-linecap="round" stroke-linejoin="round"/></svg>

Before

Width:  |  Height:  |  Size: 450 B

View File

@ -0,0 +1 @@
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 -291.18)"><rect y="291.18" width="48" height="26" ry="13" fill="#3081e3" style="fill:#2777ff"/><rect x="24" y="293.18" width="22" height="22" rx="11" ry="11" fill="#f8f7f7"/></g></svg>

After

Width:  |  Height:  |  Size: 285 B

View File

@ -1 +1 @@
<svg version="1.1" viewBox="0 0 46 22" xmlns="http://www.w3.org/2000/svg"><rect transform="scale(-1,1)" x="-44.989" y=".535" width="44.446" height="20.911" rx="10.455" ry="10.073" style="fill:#2777ff;stroke-linecap:round;stroke-linejoin:round;stroke:#0051da"/><rect transform="scale(-1,1)" x="-45.071" y=".535" width="21.143" height="20.911" rx="10.455" ry="10.455" style="fill:#fff;stroke-linecap:round;stroke-linejoin:round;stroke:#0051da"/></svg>
<svg version="1.1" viewBox="0 0 48 26" xmlns="http://www.w3.org/2000/svg"><g transform="translate(0 -291.18)"><rect y="291.18" width="48" height="26" rx="13" ry="13" fill="#3081e3" style="fill:#2777ff"/><rect x="24" y="293.18" width="22" height="22" rx="11" ry="11" fill="#f8f7f7" style="fill:#23252e"/></g></svg>

Before

Width:  |  Height:  |  Size: 450 B

After

Width:  |  Height:  |  Size: 314 B

View File

@ -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 {

View File

@ -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 {

View File

@ -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 {