diff options
author | Horst3180 | 2016-08-30 23:53:36 +0200 |
---|---|---|
committer | Horst3180 | 2016-08-30 23:53:36 +0200 |
commit | 3932218fd0862627a3c614aaf6825256e66a5517 (patch) | |
tree | e0b72e92466c119ca70ecdff23aa889243554b42 /common/cinnamon/common-assets/switch | |
parent | 211dd7aeb218ce3ba0f3f1d9d1d2e49a075635db (diff) | |
download | solarc-theme-3932218fd0862627a3c614aaf6825256e66a5517.tar.gz solarc-theme-3932218fd0862627a3c614aaf6825256e66a5517.tar.xz solarc-theme-3932218fd0862627a3c614aaf6825256e66a5517.zip |
use color swatches for selected bg and fg in svg assets
Diffstat (limited to 'common/cinnamon/common-assets/switch')
-rw-r--r-- | common/cinnamon/common-assets/switch/switch-off-selected.svg | 38 | ||||
-rw-r--r-- | common/cinnamon/common-assets/switch/switch-on-selected.svg | 66 |
2 files changed, 93 insertions, 11 deletions
diff --git a/common/cinnamon/common-assets/switch/switch-off-selected.svg b/common/cinnamon/common-assets/switch/switch-off-selected.svg index c85eeee..c374f22 100644 --- a/common/cinnamon/common-assets/switch/switch-off-selected.svg +++ b/common/cinnamon/common-assets/switch/switch-off-selected.svg @@ -2,11 +2,13 @@ <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg + xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="50" @@ -18,6 +20,14 @@ <defs id="defs7541"> <linearGradient + id="selected_fg_color" + osb:paint="solid"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop4164" /> + </linearGradient> + <linearGradient id="linearGradient4695-1-4-3-5-0-6"> <stop id="stop4697-9-9-7-0-1-5" @@ -91,6 +101,24 @@ offset="1" style="stop-color:#ffffff;stop-opacity:1;" /> </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_fg_color" + id="linearGradient4166" + x1="41" + y1="1032.3622" + x2="41" + y2="1050.3622" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_fg_color" + id="linearGradient4168" + x1="1046.0012" + y1="336.99982" + x2="1046.0012" + y2="343" + gradientUnits="userSpaceOnUse" /> </defs> <sodipodi:namedview id="base" @@ -100,9 +128,9 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="8.2495794" - inkscape:cx="-2.2858532" - inkscape:cy="2.3994423" - inkscape:current-layer="layer1" + inkscape:cx="34.261465" + inkscape:cy="7.0057377" + inkscape:current-layer="switch-selected" showgrid="true" inkscape:grid-bbox="true" inkscape:document-units="px" @@ -183,7 +211,7 @@ ry="11" rx="11" /> <circle - style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" + style="fill:url(#linearGradient4166);fill-opacity:1;fill-rule:nonzero;stroke:none" id="path3759-7-1" cx="41" cy="1041.3622" @@ -195,7 +223,7 @@ inkscape:connector-curvature="0" d="m 1043.0028,337 0.75,0 c 0.01,-9e-5 0.016,-3.5e-4 0.023,0 0.1912,0.008 0.3824,0.0964 0.5156,0.23437 l 1.711,1.71094 1.7343,-1.71094 c 0.1993,-0.17287 0.335,-0.22912 0.5157,-0.23437 l 0.75,0 0,0.75 c 0,0.21485 -0.026,0.41298 -0.1875,0.5625 l -1.711,1.71093 1.6875,1.6875 c 0.1412,0.14113 0.211,0.34009 0.211,0.53907 l 0,0.75 -0.75,0 c -0.199,-10e-6 -0.398,-0.0698 -0.5391,-0.21094 l -1.7109,-1.71094 -1.711,1.71094 c -0.1411,0.14114 -0.3401,0.21094 -0.539,0.21094 l -0.75,0 0,-0.75 c 0,-0.19897 0.07,-0.39794 0.2109,-0.53907 l 1.7109,-1.6875 -1.7109,-1.71093 c -0.1581,-0.14598 -0.2274,-0.35194 -0.2109,-0.5625 l 0,-0.75 z" id="path10839-9-8-2-2-5-7" - style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;enable-background:new" /> + style="color:#bebebe;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:'Andale Mono';-inkscape-font-specification:'Andale Mono';text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;display:inline;overflow:visible;visibility:visible;opacity:0.6;fill:url(#linearGradient4168);fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:1.78124988;marker:none;enable-background:new" /> </g> </g> </svg> diff --git a/common/cinnamon/common-assets/switch/switch-on-selected.svg b/common/cinnamon/common-assets/switch/switch-on-selected.svg index 7c2572d..a86b37a 100644 --- a/common/cinnamon/common-assets/switch/switch-on-selected.svg +++ b/common/cinnamon/common-assets/switch/switch-on-selected.svg @@ -2,11 +2,13 @@ <!-- Created with Inkscape (http://www.inkscape.org/) --> <svg + xmlns:osb="http://www.openswatchbook.org/uri/2009/osb" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" + xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" width="50" @@ -18,6 +20,22 @@ <defs id="defs7541"> <linearGradient + id="selected_fg_color" + osb:paint="solid"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop4171" /> + </linearGradient> + <linearGradient + id="selected_bg_color" + osb:paint="solid"> + <stop + style="stop-color:#5294e2;stop-opacity:1;" + offset="0" + id="stop4166" /> + </linearGradient> + <linearGradient id="linearGradient4695-1-4-3-5-0-6"> <stop id="stop4697-9-9-7-0-1-5" @@ -91,6 +109,42 @@ offset="1" style="stop-color:#ffffff;stop-opacity:1;" /> </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_bg_color" + id="linearGradient4168" + x1="980.04999" + y1="-456.09485" + x2="980.04999" + y2="-454.09487" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_bg_color" + id="linearGradient4170" + x1="981.54999" + y1="-462.09485" + x2="981.54999" + y2="-454.09487" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_bg_color" + id="linearGradient4172" + x1="41" + y1="1032.3622" + x2="41" + y2="1050.3622" + gradientUnits="userSpaceOnUse" /> + <linearGradient + inkscape:collect="always" + xlink:href="#selected_fg_color" + id="linearGradient4173" + x1="26" + y1="1031.3622" + x2="26" + y2="1051.3622" + gradientUnits="userSpaceOnUse" /> </defs> <sodipodi:namedview id="base" @@ -100,8 +154,8 @@ inkscape:pageopacity="0.0" inkscape:pageshadow="2" inkscape:zoom="11.666667" - inkscape:cx="20.556458" - inkscape:cy="-1.6685358" + inkscape:cx="14.042172" + inkscape:cy="11.702892" inkscape:current-layer="layer1" showgrid="true" inkscape:grid-bbox="true" @@ -175,7 +229,7 @@ x="0" y="1029.3622" /> <rect - style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none" + style="fill:url(#linearGradient4173);fill-opacity:1;fill-rule:nonzero;stroke:none" id="rect2987-0-8-4" width="50" height="20" @@ -184,7 +238,7 @@ ry="11" rx="11" /> <circle - style="fill:#5294e2;fill-opacity:1;fill-rule:nonzero;stroke:none" + style="fill:url(#linearGradient4172);fill-opacity:1;fill-rule:nonzero;stroke:none" id="path3759-0-7" cx="41" cy="1041.3622" @@ -204,7 +258,7 @@ height="1.9999826" width="5" id="rect3977-39-2-1" - style="display:inline;opacity:1;fill:#5294e2;fill-opacity:1;stroke:none" /> + style="display:inline;opacity:1;fill:url(#linearGradient4168);fill-opacity:1;stroke:none" /> <rect transform="matrix(0.70710678,0.70710678,-0.70710678,0.70710678,0,0)" ry="0" @@ -213,7 +267,7 @@ height="7.9999828" width="2" id="rect3979-7-0-8" - style="display:inline;opacity:1;fill:#5294e2;fill-opacity:1;stroke:none" /> + style="display:inline;opacity:1;fill:url(#linearGradient4170);fill-opacity:1;stroke:none" /> </g> </g> </g> |