[gnome-shell/wip/snwh/style-updates] theme: update switch assets




commit 4a6a06118061b0575808d898515668bcfc777afb
Author: Sam Hewitt <sam snwh org>
Date:   Tue Dec 28 10:16:54 2021 -0330

    theme: update switch assets

 data/theme/gnome-shell-sass/widgets/_dash.scss     |  2 +-
 data/theme/gnome-shell-sass/widgets/_switches.scss |  4 +-
 data/theme/toggle-off-dark.svg                     | 80 +++++++++++++++++++++-
 data/theme/toggle-off.svg                          | 80 +++++++++++++++++++++-
 data/theme/toggle-on-dark.svg                      | 77 ++++++++++++++++++++-
 data/theme/toggle-on.svg                           | 76 +++++++++++++++++++-
 6 files changed, 312 insertions(+), 7 deletions(-)
---
diff --git a/data/theme/gnome-shell-sass/widgets/_dash.scss b/data/theme/gnome-shell-sass/widgets/_dash.scss
index cf21552ca5..6372dd706c 100644
--- a/data/theme/gnome-shell-sass/widgets/_dash.scss
+++ b/data/theme/gnome-shell-sass/widgets/_dash.scss
@@ -1,6 +1,6 @@
 /* Dash */
 
-$dash_background_color: #3b3b3b;
+$dash_background_color: lighen($bg_color, 10%);
 $dash_placeholder_size: 32px;
 $dash_padding: $base_padding + 4px; // 10px
 $dash_spacing: $base_padding / 4;
diff --git a/data/theme/gnome-shell-sass/widgets/_switches.scss 
b/data/theme/gnome-shell-sass/widgets/_switches.scss
index fd7472ed3c..30a0f0d5ef 100644
--- a/data/theme/gnome-shell-sass/widgets/_switches.scss
+++ b/data/theme/gnome-shell-sass/widgets/_switches.scss
@@ -1,8 +1,8 @@
 /* Switches */
 
 // these are equal to the size of the SVG assets
-$switch_height: 22px;
-$switch_width: 46px;
+$switch_height: 26px;
+$switch_width: 48px;
 
 .toggle-switch {
   color: $fg_color;
diff --git a/data/theme/toggle-off-dark.svg b/data/theme/toggle-off-dark.svg
index 163a135dca..2249e214b0 100644
--- a/data/theme/toggle-off-dark.svg
+++ b/data/theme/toggle-off-dark.svg
@@ -1 +1,79 @@
-<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="46" 
height="22"><defs><linearGradient id="a"><stop offset="0" stop-color="#39393a"/><stop offset="1" 
stop-color="#302f30"/></linearGradient><linearGradient xlink:href="#a" id="b" x1="53" y1="294.429" x2="53" 
y2="309.804" gradientUnits="userSpaceOnUse" gradientTransform="translate(-42.76)"/></defs><g 
transform="translate(0 -291.18)" stroke-width="1.085" stroke="#151515"><rect style="marker:none" 
width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#282828"/><rect ry="10.455" 
rx="10.455" y="291.715" x=".543" height="20.911" width="21.143" style="marker:none" fill="url(#b)"/></g></svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="48"
+   height="26"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="toggle-off-dark.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <defs
+     id="defs12" />
+  <sodipodi:namedview
+     id="namedview10"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="4"
+     inkscape:cx="0.25"
+     inkscape:cy="-32"
+     inkscape:window-width="1920"
+     inkscape:window-height="1011"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="g6">
+    <inkscape:grid
+       type="xygrid"
+       id="grid920" />
+  </sodipodi:namedview>
+  <g
+     transform="translate(0,-291.18)"
+     stroke="#2b73cc"
+     id="g6">
+    <rect
+       style="fill:#241f31;stroke:none;stroke-width:1;marker:none"
+       width="48"
+       height="26"
+       x="-48"
+       y="291.17999"
+       ry="13"
+       fill="#3081e3"
+       id="rect2"
+       rx="13"
+       transform="scale(-1,1)" />
+    <rect
+       ry="11"
+       rx="11"
+       y="294.17999"
+       x="-24"
+       height="22"
+       width="22"
+       style="fill:#000000;fill-opacity:0.2;stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect1760"
+       transform="scale(-1,1)" />
+    <rect
+       ry="11"
+       rx="11"
+       y="293.17999"
+       x="-24"
+       height="22"
+       width="22"
+       style="stroke:none;stroke-width:0.999999;marker:none;fill:#3d3846"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect4"
+       transform="scale(-1,1)" />
+  </g>
+</svg>
diff --git a/data/theme/toggle-off.svg b/data/theme/toggle-off.svg
index ee51782943..2939a73257 100644
--- a/data/theme/toggle-off.svg
+++ b/data/theme/toggle-off.svg
@@ -1 +1,79 @@
-<svg xmlns="http://www.w3.org/2000/svg"; width="46" height="22"><g transform="translate(0 -291.18)"><rect 
style="marker:none;font-variant-east_asian:normal" width="44.446" height="20.911" x=".625" y="291.715" 
rx="10.455" ry="10.073" fill="#e1dedb" stroke="#cdc7c2" stroke-linecap="round" stroke-linejoin="round"/><rect 
ry="10.455" rx="10.455" y="291.715" x=".543" height="20.911" width="21.143" 
style="marker:none;font-variant-east_asian:normal" fill="#f8f7f7" stroke="#aa9f98" stroke-linecap="round" 
stroke-linejoin="round"/><g transform="matrix(.97148 0 0 1 1658.914 -2552.91)" stroke-width="1.015" 
stroke-linecap="round" stroke-linejoin="round"><rect ry="13.17" rx="13.556" y="1234.681" x="-1242.732" 
height="26" width="49.409" style="marker:none" fill="#e1dedb" stroke="#cdc7c2"/><rect style="marker:none" 
width="26.763" height="26" x="-1242.732" y="1234.769" rx="13.511" ry="13.126" fill="#f8f7f7" 
stroke="#aa9f98"/></g><g transform="matrix(.97148 0 0 1 1658.914 -2512.91)" stroke-width="1.015
 " stroke="#2b73cc"><rect style="marker:none" width="49.409" height="26" x="-1242.732" y="1234.681" 
rx="13.556" ry="13.17" fill="#3081e3"/><rect ry="13.126" rx="13.511" y="1234.769" x="-1220.086" height="26" 
width="26.763" style="marker:none" fill="#f8f7f7" stroke-linecap="round" 
stroke-linejoin="round"/></g></g></svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="48"
+   height="26"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="toggle-off.svg.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <defs
+     id="defs12" />
+  <sodipodi:namedview
+     id="namedview10"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="4"
+     inkscape:cx="0.25"
+     inkscape:cy="-32"
+     inkscape:window-width="1920"
+     inkscape:window-height="1011"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="g6">
+    <inkscape:grid
+       type="xygrid"
+       id="grid920" />
+  </sodipodi:namedview>
+  <g
+     transform="translate(0,-291.18)"
+     stroke="#2b73cc"
+     id="g6">
+    <rect
+       style="fill:#c0bfbc;stroke:none;stroke-width:1;marker:none"
+       width="48"
+       height="26"
+       x="-48"
+       y="291.17999"
+       ry="13"
+       fill="#3081e3"
+       id="rect2"
+       rx="13"
+       transform="scale(-1,1)" />
+    <rect
+       ry="11"
+       rx="11"
+       y="294.17999"
+       x="-24"
+       height="22"
+       width="22"
+       style="fill:#000000;fill-opacity:0.2;stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect1760"
+       transform="scale(-1,1)" />
+    <rect
+       ry="11"
+       rx="11"
+       y="293.17999"
+       x="-24"
+       height="22"
+       width="22"
+       style="stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect4"
+       transform="scale(-1,1)" />
+  </g>
+</svg>
diff --git a/data/theme/toggle-on-dark.svg b/data/theme/toggle-on-dark.svg
index b71931ac84..aac96849df 100644
--- a/data/theme/toggle-on-dark.svg
+++ b/data/theme/toggle-on-dark.svg
@@ -1 +1,76 @@
-<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="46" 
height="22"><defs><linearGradient id="a"><stop offset="0" stop-color="#39393a"/><stop offset="1" 
stop-color="#302f30"/></linearGradient><linearGradient xlink:href="#a" id="b" x1="53" y1="294.429" x2="53" 
y2="309.804" gradientUnits="userSpaceOnUse" gradientTransform="translate(-19)"/></defs><g 
transform="translate(0 -291.18)" stroke="#030e1b" stroke-width="1.085"><rect style="marker:none" 
width="44.446" height="20.911" x=".625" y="291.715" rx="10.455" ry="10.073" fill="#15539e"/><rect ry="10.455" 
rx="10.455" y="291.715" x="24.304" height="20.911" width="21.143" style="marker:none" 
fill="url(#b)"/></g></svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="48"
+   height="26"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="toggle-on-dark.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <defs
+     id="defs12" />
+  <sodipodi:namedview
+     id="namedview10"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="4"
+     inkscape:cx="0.25"
+     inkscape:cy="-32"
+     inkscape:window-width="1920"
+     inkscape:window-height="1011"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="g6">
+    <inkscape:grid
+       type="xygrid"
+       id="grid920" />
+  </sodipodi:namedview>
+  <g
+     transform="translate(0,-291.18)"
+     stroke="#2b73cc"
+     id="g6">
+    <rect
+       style="fill:#1a5fb4;stroke:none;stroke-width:1;marker:none"
+       width="48"
+       height="26"
+       x="0"
+       y="291.17999"
+       ry="13"
+       fill="#3081e3"
+       id="rect2"
+       rx="13" />
+    <rect
+       ry="11"
+       rx="11"
+       y="294.17999"
+       x="24"
+       height="22"
+       width="22"
+       style="fill:#000000;fill-opacity:0.2;stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect1760" />
+    <rect
+       ry="11"
+       rx="11"
+       y="293.17999"
+       x="24"
+       height="22"
+       width="22"
+       style="fill:#3d3846;stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect4" />
+  </g>
+</svg>
diff --git a/data/theme/toggle-on.svg b/data/theme/toggle-on.svg
index 28be67e289..1a35b516ea 100644
--- a/data/theme/toggle-on.svg
+++ b/data/theme/toggle-on.svg
@@ -1 +1,75 @@
-<svg xmlns="http://www.w3.org/2000/svg"; width="46" height="22"><g transform="translate(0 -291.18)" 
stroke="#2b73cc"><rect style="marker:none;font-variant-east_asian:normal" width="44.446" height="20.911" 
x=".625" y="291.715" rx="10.455" ry="10.073" fill="#3081e3"/><rect ry="10.455" rx="10.455" y="291.715" 
x="24.304" height="20.911" width="21.143" style="marker:none;font-variant-east_asian:normal" fill="#f8f7f7" 
stroke-linecap="round" stroke-linejoin="round"/></g></svg>
\ No newline at end of file
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   width="48"
+   height="26"
+   version="1.1"
+   id="svg8"
+   sodipodi:docname="toggle-on.svg"
+   inkscape:version="1.1.1 (3bf5ae0d25, 2021-09-20)"
+   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape";
+   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd";
+   xmlns="http://www.w3.org/2000/svg";
+   xmlns:svg="http://www.w3.org/2000/svg";>
+  <defs
+     id="defs12" />
+  <sodipodi:namedview
+     id="namedview10"
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1.0"
+     inkscape:pageshadow="2"
+     inkscape:pageopacity="0.0"
+     inkscape:pagecheckerboard="0"
+     showgrid="false"
+     inkscape:zoom="4"
+     inkscape:cx="0.25"
+     inkscape:cy="-32"
+     inkscape:window-width="1920"
+     inkscape:window-height="1011"
+     inkscape:window-x="0"
+     inkscape:window-y="0"
+     inkscape:window-maximized="1"
+     inkscape:current-layer="g6">
+    <inkscape:grid
+       type="xygrid"
+       id="grid920" />
+  </sodipodi:namedview>
+  <g
+     transform="translate(0,-291.18)"
+     stroke="#2b73cc"
+     id="g6">
+    <rect
+       style="fill:#3584e4;stroke:none;stroke-width:1;marker:none"
+       width="48"
+       height="26"
+       x="0"
+       y="291.17999"
+       ry="13"
+       fill="#3081e3"
+       id="rect2" />
+    <rect
+       ry="11"
+       rx="11"
+       y="294.17999"
+       x="24"
+       height="22"
+       width="22"
+       style="stroke:none;stroke-width:0.999999;marker:none;fill:#000000;fill-opacity:0.2"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect1760" />
+    <rect
+       ry="11"
+       rx="11"
+       y="293.17999"
+       x="24"
+       height="22"
+       width="22"
+       style="stroke:none;stroke-width:0.999999;marker:none"
+       fill="#f8f7f7"
+       stroke-linecap="round"
+       stroke-linejoin="round"
+       id="rect4" />
+  </g>
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]