[gnome-software] banners: adjust Mypaint banner



commit a8fb3a4d6e96254bee740f0028560028bc95d2db
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Aug 2 17:56:11 2019 +0200

    banners: adjust Mypaint banner
    
    https://gitlab.gnome.org/GNOME/gnome-software/issues/749

 data/assets/featured-mypaint.png            | Bin 314346 -> 0 bytes
 data/assets/featured-mypaint.svg            | 266 ++++++++++++++++++++++++++++
 data/assets/meson.build                     |   2 +-
 data/assets/org.gnome.Software.Featured.xml |  13 +-
 4 files changed, 274 insertions(+), 7 deletions(-)
---
diff --git a/data/assets/featured-mypaint.svg b/data/assets/featured-mypaint.svg
new file mode 100644
index 00000000..6205c1f6
--- /dev/null
+++ b/data/assets/featured-mypaint.svg
@@ -0,0 +1,266 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg
+   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="663"
+   height="400"
+   version="1.0"
+   id="svg4824"
+   sodipodi:docname="featured-mypaint.svg"
+   inkscape:version="0.92.4 5da689c313, 2019-01-14">
+  <metadata
+     id="metadata4828">
+    <rdf:RDF>
+      <cc:Work
+         rdf:about="">
+        <dc:format>image/svg+xml</dc:format>
+        <dc:type
+           rdf:resource="http://purl.org/dc/dcmitype/StillImage"; />
+        <dc:title></dc:title>
+      </cc:Work>
+    </rdf:RDF>
+  </metadata>
+  <sodipodi:namedview
+     pagecolor="#ffffff"
+     bordercolor="#666666"
+     borderopacity="1"
+     objecttolerance="10"
+     gridtolerance="10"
+     guidetolerance="10"
+     inkscape:pageopacity="0"
+     inkscape:pageshadow="2"
+     inkscape:window-width="640"
+     inkscape:window-height="480"
+     id="namedview4826"
+     showgrid="false"
+     inkscape:zoom="1.6953125"
+     inkscape:cx="342.11982"
+     inkscape:cy="213.52995"
+     inkscape:current-layer="svg4824" />
+  <defs
+     id="defs4800">
+    <clipPath
+       clipPathUnits="userSpaceOnUse"
+       id="c">
+      <path
+         
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;marker:none"
+         d="m 64,-148 h 64 l 64,-64 64,64 h 192 c 17.728,0 32,14.272 32,32 v 288 c 0,17.728 -14.272,32 
-32,32 H 256 l -64,-64 -64,64 H 64 C 46.272,204 32,189.728 32,172 v -288 c 0,-17.728 14.409,-34.199 32,-32 z"
+         id="path4785"
+         inkscape:connector-curvature="0" />
+    </clipPath>
+    <linearGradient
+       id="b">
+      <stop
+         offset="0"
+         stop-color="#a51d2d"
+         id="stop4788" />
+      <stop
+         offset="1"
+         stop-color="#ce1921"
+         id="stop4790" />
+    </linearGradient>
+    <linearGradient
+       xlink:href="#a"
+       id="e"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.25,0,0,0.25,8,225)"
+       x1="336"
+       y1="62"
+       x2="336"
+       y2="-180" />
+    <linearGradient
+       id="a">
+      <stop
+         offset="0"
+         stop-color="#d81d25"
+         id="stop4794" />
+      <stop
+         offset="1"
+         stop-color="#f66151"
+         id="stop4796" />
+    </linearGradient>
+    <linearGradient
+       xlink:href="#b"
+       id="d"
+       x1="320.5"
+       y1="-68"
+       x2="415.5"
+       y2="-68"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(0.25263,0,0,0.25263,115.032,109.18)" />
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient27905"
+       id="linearGradient1285"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-2.6821153,0,0,2.6821153,3146.9618,-907.27462)"
+       x1="953.27502"
+       y1="350.85599"
+       x2="944.20746"
+       y2="359.92355" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient27905">
+      <stop
+         style="stop-color:#e9b96e;stop-opacity:1;"
+         offset="0"
+         id="stop27901" />
+      <stop
+         style="stop-color:#dc9321;stop-opacity:1"
+         offset="1"
+         id="stop27903" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient27913"
+       id="linearGradient1287"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-2.6821153,0,0,2.6821153,1537.6924,-338.66621)"
+       x1="418.83841"
+       y1="227"
+       x2="433.34982"
+       y2="212.86827" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient27913">
+      <stop
+         style="stop-color:#9a9996;stop-opacity:1"
+         offset="0"
+         id="stop27909" />
+      <stop
+         id="stop1010"
+         offset="0.41550782"
+         style="stop-color:#c0bfbc;stop-opacity:1" />
+      <stop
+         style="stop-color:#deddda;stop-opacity:1"
+         offset="1"
+         id="stop27911" />
+    </linearGradient>
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient5136-7"
+       id="radialGradient1168"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(-4.682013,0,0,4.682013,2483.3389,-845.13029)"
+       cx="450.94806"
+       cy="225.39462"
+       fx="450.94806"
+       fy="225.39462"
+       r="39.999989" />
+    <linearGradient
+       id="linearGradient5136-7"
+       inkscape:collect="always">
+      <stop
+         id="stop5132-0"
+         offset="0"
+         style="stop-color:#5b5b5b;stop-opacity:1" />
+      <stop
+         style="stop-color:#262e39;stop-opacity:1;"
+         offset="0.63445544"
+         id="stop5138-9" />
+      <stop
+         id="stop5134-3"
+         offset="1"
+         style="stop-color:#113f78;stop-opacity:1" />
+    </linearGradient>
+    <linearGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient1100"
+       id="linearGradient1170"
+       gradientUnits="userSpaceOnUse"
+       x1="19.25"
+       y1="44"
+       x2="54.820038"
+       y2="79.570038" />
+    <linearGradient
+       id="linearGradient1100"
+       inkscape:collect="always">
+      <stop
+         id="stop1096"
+         offset="0"
+         style="stop-color:#a347ba;stop-opacity:1" />
+      <stop
+         id="stop1098"
+         offset="1"
+         style="stop-color:#103c72;stop-opacity:1" />
+    </linearGradient>
+    <inkscape:path-effect
+       effect="spiro"
+       id="path-effect1134"
+       is_visible="true" />
+    <radialGradient
+       inkscape:collect="always"
+       xlink:href="#linearGradient5120"
+       id="radialGradient1172"
+       gradientUnits="userSpaceOnUse"
+       gradientTransform="matrix(5.693307,-0.0466183,0.0265492,3.2423381,-78.001172,-464.65554)"
+       cx="67.567398"
+       cy="250.28113"
+       fx="67.567398"
+       fy="250.28113"
+       r="11.077337" />
+    <linearGradient
+       inkscape:collect="always"
+       id="linearGradient5120">
+      <stop
+         id="stop5118"
+         offset="0"
+         style="stop-color:#113f78;stop-opacity:0;" />
+      <stop
+         style="stop-color:#113f78;stop-opacity:0.10588235;"
+         offset="0.78603494"
+         id="stop5130" />
+      <stop
+         id="stop5116"
+         offset="1"
+         style="stop-color:#103c72;stop-opacity:1" />
+    </linearGradient>
+  </defs>
+  <path
+     sodipodi:nodetypes="ccsccc"
+     inkscape:connector-curvature="0"
+     id="path1124"
+     d="M 637.01383,38.902997 358.86094,317.06902 c -12.49004,13.00644 -33.22681,13.21642 -45.97761,0.46579 
-12.75104,-12.7508 -12.54101,-33.48776 0.46521,-45.9778 L 547.28857,37.603849 c 27.84641,-23.883447 
66.96989,-21.456117 89.72515,1.299148 z"
+     
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:url(#linearGradient1285);fill-opacity:1;fill-rule:nonzero;stro
 ke:none;
 
stroke-width:34.12376404;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:accumulate"
 />
+  <path
+     sodipodi:nodetypes="cccscccc"
+     inkscape:connector-curvature="0"
+     id="path1126"
+     d="m 488.39915,99.121213 c 38.52384,0.0171 57.52208,46.845777 29.89611,73.695267 L 368.09682,323.01497 
c -16.71853,16.99824 -44.0871,17.1117 -60.94607,0.25252 -16.85895,-16.85897 -16.74549,-44.22754 
0.25252,-60.94607 L 457.6017,112.12298 c 8.08654,-8.31823 19.1961,-13.008487 30.79721,-13.001997 z"
+     
style="color:#000000;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;font-size:medium;line-height:normal;font-family:sans-serif;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration:none;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000000;letter-spacing:normal;word-spacing:normal;text-transform:none;writing-mode:lr-tb;direction:ltr;text-orientation:mixed;dominant-baseline:auto;baseline-shift:baseline;text-anchor:start;white-space:normal;shape-padding:0;clip-rule:nonzero;display:inline;overflow:visible;visibility:visible;opacity:1;isolation:auto;mix-blend-mode:normal;color-interpolation:sRGB;color-interpolation-filters:linearRGB;solid-color:#000000;solid-opacity:1;vector-effect:none;fill:url(#linearGradient1287);fill-opacity:1;fill-rule:nonzero;stro
 ke:none;
 
stroke-width:45.49835587;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;color-rendering:auto;image-rendering:auto;shape-rendering:auto;text-rendering:auto;enable-background:new"
 />
+  <path
+     sodipodi:nodetypes="sscccs"
+     inkscape:connector-curvature="0"
+     id="path1128"
+     d="m 364.0237,152.64889 c 62.82003,0 113.74589,50.92579 113.74589,113.74588 0,62.82009 
-50.92586,113.74588 -113.74589,113.74588 H 250.27782 V 266.39477 c 0,-62.82009 50.92574,-113.74588 
113.74588,-113.74588 z"
+     
style="opacity:1;vector-effect:none;fill:url(#radialGradient1168);fill-opacity:1;stroke:none;stroke-width:34.12377548;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
 />
+  <ellipse
+     transform="scale(-1)"
+     cy="-215.22659"
+     cx="-369.69388"
+     id="ellipse1130"
+     
style="color:#000000;display:inline;overflow:visible;visibility:visible;opacity:0.3;fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:10.18675995;marker:none;enable-background:new"
+     rx="17.044821"
+     ry="17.044529" />
+  <path
+     
style="opacity:1;vector-effect:none;fill:url(#linearGradient1170);fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+     d="m 12,27.866563 v 24 c 2.005497,-1.123865 4.425222,-1.487654 6.672524,-1.003168 2.247302,0.484487 
4.302203,1.812941 5.666503,3.663287 1.762568,2.390501 2.313465,5.46245 2.457175,8.429011 0.14371,2.966562 
-0.06704,5.960138 0.394545,8.894091 0.629251,3.999712 2.539955,7.794401 5.409765,10.650595 2.86981,2.856194 
6.687971,4.752793 10.703661,5.270372 2.609827,0.336378 5.254981,0.201478 7.886378,0.211299 L 56.000001,88 C 
56,87.557292 56,87.114583 56,86.671875 56,86.447917 56,86.223958 56,86 c -2.03331,-0.475799 
-4.087499,-0.862357 -6.154675,-1.15819 -1.343023,-0.1922 -2.69874,-0.34763 -3.999009,-0.734866 
-1.30027,-0.387236 -2.559692,-1.026848 -3.459831,-2.041935 -0.757139,-0.853827 -1.226641,-1.940715 
-1.430819,-3.063475 -0.204178,-1.122761 -0.151916,-2.281683 0.05009,-3.404836 0.404016,-2.246306 
1.389642,-4.33859 2.130252,-6.497436 C 45.533316,62.111224 45.306555,54.301869 42.76072,47.366563 
39.955124,39.723621 34.215849,33.054141 26.751353,29.803414 22.144454,27.797147 1
 6.968665
 ,27.117566 12,27.866563 Z"
+     transform="matrix(5.6872943,0,0,5.6872943,-68.210667,-120.34124)"
+     id="path1132"
+     inkscape:connector-curvature="0"
+     sodipodi:nodetypes="cccssccccsssscc"
+     inkscape:path-effect="#path-effect1134"
+     inkscape:original-d="m 12,27.866563 v 24 c 2.046553,-1.362081 9.944167,2.104881 12.339027,2.660119 
5.667087,1.641766 2.891847,12.318111 2.85172,17.323102 -0.05297,6.606917 10.874196,12.477185 
16.113426,15.920967 1.470733,0.966722 1.93441,0.21162 7.886378,0.211299 L 56.000001,88 56,86.671875 V 86 C 
51.99709,85.97201 53.839784,85.103297 49.845325,84.84181 45.834326,84.57924 45.455357,84.635243 
42.386485,82.065009 38.093213,78.46932 40.52218,72.781271 43.13601,69.099262 45.749841,65.417253 
42.16925,51.843109 42.76072,47.366563 44.150729,36.846269 34.962862,33.964798 26.751353,29.803414 
17.351206,25.715515 12,27.866563 12,27.866563 Z" />
+  <path
+     
style="opacity:1;vector-effect:none;fill:url(#radialGradient1172);fill-opacity:1;stroke:none;stroke-width:22.74917793;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal"
+     d="m 198.5599,359.52057 24.36517,20.518 118.34946,0.10239 -23.36688,-22.48256 c -23.22651,-22.34748 
-51.31924,-34.39037 -67.62983,-34.39037 0,34.12376 -31.62994,40.37557 -51.71792,36.25285 z"
+     id="path1136"
+     inkscape:connector-curvature="0"
+     sodipodi:nodetypes="cccscc" />
+</svg>
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 8a2c8bd5..8100aafc 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -17,7 +17,7 @@ install_data([
   'featured-maps.svg',
   'featured-maps-bg.png',
   'featured-marker-bg.jpg',
-  'featured-mypaint.png',
+  'featured-mypaint.svg',
   'featured-pdf-slicer.svg',
   'featured-podcasts.svg',
   'featured-polari.svg',
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index ef4f6df3..47d325da 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -16,13 +16,14 @@ background:
   <component>
     <id>mypaint.desktop</id>
     <custom>
-      <value key="GnomeSoftware::FeatureTile-css">border-color: #4c52aa;
-color: #362d89;
+      <value key="GnomeSoftware::FeatureTile-css">border-color: #888;
+color: #000;
 text-shadow: none;
 background:
- url('file://@datadir@/gnome-software/featured-mypaint.png')
- left 62% / 70% auto no-repeat,
- linear-gradient(to bottom, #8fa5d9, #d8e0ef);
+ url('file://@datadir@/gnome-software/featured-mypaint.svg')
+ left 90% / 300px auto no-repeat,
+ linear-gradient(to bottom, #ccc, #eee);
+box-shadow: none;
 </value>
     </custom>
   </component>
@@ -205,7 +206,7 @@ background: #2ec27e
  url('file://@datadir@/gnome-software/featured-bitwarden.svg')
  0 50% / 60% auto no-repeat;
 color: #fff;
-text-shadow: none;</value>
+text-shadow: 0 0 2px #26a269;</value>
     </custom>
   </component>
   <component>


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