[gnome-software/wip/jimmac/banner-transmission: 1/2] banners: Maps -- avoid using app icon



commit 8b3383253e6b16255a88661804cb7d1537dda918
Author: Jakub Steiner <jimmac gmail com>
Date:   Mon Nov 18 15:17:34 2019 +0100

    banners: Maps -- avoid using app icon
    
    See https://gitlab.gnome.org/Teams/Design/software-mockups/issues/2 for discussion.

 data/assets/featured-maps-bg.png            | Bin 306261 -> 0 bytes
 data/assets/featured-maps-bg.svg            |   1 +
 data/assets/featured-maps.svg               |   1 -
 data/assets/meson.build                     |   3 +--
 data/assets/org.gnome.Software.Featured.xml |  10 ++++------
 5 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/data/assets/featured-maps-bg.svg b/data/assets/featured-maps-bg.svg
new file mode 100644
index 00000000..dde3504d
--- /dev/null
+++ b/data/assets/featured-maps-bg.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="1280" height="350"><g transform="translate(0 -772.52)"><path 
style="marker:none" fill="#c7ddf7" d="M-23.234 744.723h1321.28v405.071H-23.234z"/><path style="marker:none" 
fill="#f3ebe5" d="M148.492 923.52H734.38v127.279H148.492z"/><path style="marker:none" fill="#f3ebe5" 
d="M-55.558 682.093h561.645v491.944H-55.558z"/><path style="marker:none" fill="#f3ebe5" d="M148.492 
845.738h555.584v43.437H148.492z"/><path style="marker:none" d="M265.63 
555.184c0-23.504-18.923-42.426-42.427-42.426H107.036c-23.505 0-42.427 18.922-42.427 42.426V922.88c0 23.504 
18.922 42.426 42.427 42.426h116.167c23.504 0 42.427-18.922 42.427-42.426" fill="none" stroke="#ffa348" 
stroke-width="6" stroke-linecap="round"/><path d="M213.142 
712.398c0-23.505-18.922-42.427-42.426-42.427H54.548c-23.504 0-42.426 18.922-42.426 42.427v367.695c0 23.504 
18.922 42.427 42.426 42.427h116.168c23.504 0 42.426-18.923 42.426-42.427" style="marker:none" fill="none" 
stroke="#f8e45c" st
 roke-wid
 th="6" stroke-linecap="round"/><path d="M112.127 669.971c0-23.504 18.922-42.426 42.426-42.426h116.168c23.504 
0 42.426 18.922 42.426 42.426v367.696c0 23.504-18.922 42.426-42.426 42.426H154.553c-23.504 
0-42.426-18.922-42.426-42.426" style="marker:none" fill="none" stroke="#fff" stroke-width="4" 
stroke-linecap="round"/><path d="M265.63 922.88c0-23.504 18.922-42.426 42.426-42.426h116.167c23.505 0 42.427 
18.922 42.427 42.426v367.695c0 23.505-18.922 42.427-42.427 42.427H308.056c-23.504 
0-42.426-18.922-42.426-42.426" style="marker:none" fill="none" stroke="#ffa348" stroke-width="6" 
stroke-linecap="round"/><path style="marker:none" d="M112.127 
1037.667c0-23.504-18.922-42.427-42.426-42.427H-46.467c-23.504 0-42.426 18.923-42.426 42.427v367.695c0 23.504 
18.922 42.427 42.426 42.427H69.701c23.504 0 42.426-18.922 42.426-42.427M213.142 1080.093c0-23.504 
18.922-42.426 42.427-42.426h116.167c23.504 0 42.427 18.922 42.427 42.426v367.696c0 23.504-18.923 
42.426-42.427 42.426H255.57c-23.505 0-42.
 427-18.9
 22-42.427-42.426M313.652 778.563c23.505 0 42.427 18.922 42.427 42.426v116.168c0 23.504-18.922 42.426-42.427 
42.426H-54.043c-23.504 0-42.427-18.922-42.427-42.426V820.989c0-23.504 18.923-42.426 42.427-42.426" 
fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round"/><rect style="marker:none" width="223.244" 
height="97.401" x="33.264" y="804.2" rx="22.223" ry="22.223"/><g aria-label="852m" 
style="line-height:1.25;-inkscape-font-specification:'Cantarell, 
Ultra-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 font-weight="800" font-size="48.162" font-family="Cantarell" letter-spacing="0" word-spacing="0" 
fill="#fff"><path d="M119.372 873.32c8.187 0 13.582-4.141 13.582-10.258 0-4.527-3.035-6.694-6.599-8.14 
3.516-1.733 5.49-4.43 5.49-7.56 0-5.058-4.912-8.43-11.943-8.43-7.706 0-12.763 4.095-12.763 10.163 0 3.757 
2.022 5.924 4.671 7.417-3.564 1.397-5.586 4.094-5.586 7.513 0 5.539 5.346 9.2
 96 13.14
 8 9.296zm-4.142-24.658c0-1.782 1.637-3.083 4.238-3.083 2.6 0 4.287 1.3 4.287 3.323 0 1.975-1.686 3.372-4.19 
3.709-2.505-.915-4.335-1.975-4.335-3.95zm-.915 13.822c0-1.926 1.252-3.179 3.564-3.612 3.708 1.156 6.983 2.12 
6.983 4.672 0 1.83-1.878 3.13-4.96 3.13-3.372 0-5.587-1.637-5.587-4.19zM146.439 873.32c8.814 0 14.448-4.334 
14.448-11.558 0-6.358-4.527-9.922-12.618-9.922-.722 
0-1.349.048-1.878.097l.24-5.25h12.474v-7.273h-20.613l-.867 19.602c2.071-.385 4.72-.674 6.695-.674 5.009 0 
7.898 1.59 7.898 4.287 0 2.263-2.07 3.467-5.827 3.467-2.89 0-6.117-.674-8.525-1.83l-2.264 6.55c3.227 1.638 
6.888 2.505 10.837 2.505zM164.5 872.839h23.599v-7.224h-11.463c7.08-5.635 10.596-11.03 10.596-16.327 
0-6.261-4.912-10.355-12.474-10.355-4.334 0-8.284 1.348-11.51 3.997l2.119 6.117c2.697-1.878 5.346-2.842 
7.754-2.842 3.323 0 5.442 1.782 5.442 4.383 0 4.142-5.346 9.15-14.063 16.375z"/><path d="M194.023 
872.839h3.853v-18.157c1.734-1.397 3.805-2.168 6.02-2.168 3.709 0 5.732 2.12 5.732 5.876v14.449h3.8
 53v-15.2
 2c0-.963-.097-1.83-.338-2.648 1.783-1.59 3.998-2.457 6.358-2.457 3.708 0 5.731 2.12 5.731 
5.876v14.449h3.853v-15.22c0-5.153-3.371-8.476-8.524-8.476-3.083 0-6.117 1.252-8.477 
3.468-1.445-2.216-3.901-3.468-7.08-3.468-2.649 0-5.25.915-7.417 2.504l-.867-2.022h-2.697z" 
style="-inkscape-font-specification:'Cantarell, 
Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 font-weight="400" font-size="48.163"/></g><g transform="matrix(2.3695 0 0 2.3695 -936.126 650.383)" 
fill="#fff" stroke-width=".422"><path 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 d="M424.625 82.184l-2.125 2.125 4 4.03 2.125-2.124z" color="#000" font-weight="400" font-family="Sans" 
overflow="visible" opacity=".35"/><path 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-
 line:non
 e;text-transform:none;marker:none" d="M429 82l1.438 1.438L426 87.874v6.121h3v-4.871l3.563-3.563L434 87v-5z" 
color="#000" font-weight="400" font-family="Sans" overflow="visible"/></g><path d="M466.619 990.475l-19.4 
46.528 19.4-8.414 18.671 9.405z" fill="#f5c211" stroke="#fff" stroke-width="4"/><path d="M466.619 
1026.339l.006-30.57 14.937 38.157z" fill="#e5a50a"/><path style="marker:none" fill="#1a5fb4" d="M145 
949.52h44.193v38H145z"/><g aria-label="13" style="line-height:1.25;-inkscape-font-specification:'Cantarell, 
Ultra-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 font-weight="800" font-size="22.952" font-family="Cantarell" letter-spacing="0" word-spacing="0" 
fill="#fff"><path d="M158.961 977.091h3.97v-15.929h-2.363l-6.404 3.19 1.492 2.847 3.305-1.377zM170.643 
977.32c4.293 0 7.116-1.859 7.116-4.682 0-2.02-1.355-3.534-3.466-3.947 1.584-.414 2.57-1.699 2.57-3.49 
0-2.662-2.111-4.268-5.64
 6-4.268-
 1.882 0-3.764.459-5.508 1.4l.895 2.96c1.423-.619 2.662-.963 3.787-.963 1.423 0 2.341.55 2.341 1.469 0 
1.055-1.17 1.767-2.915 1.767h-1.101v2.984h1.101c2.318 0 3.81.757 3.81 1.905 0 .94-1.01 1.469-2.823 1.469-1.4 
0-2.96-.299-4.292-.85l-.918 3.099c1.698.803 3.167 1.148 5.05 1.148z"/></g><path style="marker:none" 
fill="#1a5fb4" d="M98 1102.52h32.193v38H98z"/><path d="M113.728 1113.933c-3.672 0-6.105 2.226-6.105 5.554 0 
2.984 1.905 4.912 4.751 4.912 1.515 0 2.8-.528 3.787-1.56-.23 2.776-1.584 4.268-3.993 4.268-1.033 
0-2.342-.275-3.283-.688l-1.01 2.96c1.217.597 2.732.942 4.453.942 5.073 0 7.758-3.099 7.758-8.584 
0-5.119-2.318-7.804-6.358-7.804zm-2.249 5.256c0-1.194.78-1.974 1.974-1.974 1.354 0 2.226 1.056 2.57 
2.938-.642.688-1.537 1.102-2.41 1.102-1.285 0-2.134-.827-2.134-2.066z" aria-label="9" font-weight="800" 
font-size="22.952" font-family="Cantarell" letter-spacing="0" word-spacing="0" fill="#fff"/><rect ry="22.223" 
rx="22.223" y="804.2" x="-526.736" height="97.401" width="223
 .244" st
 yle="marker:none"/><text y="872.839" x="-455.366" 
style="line-height:1.25;-inkscape-font-specification:'Cantarell, 
Ultra-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 font-weight="800" font-size="48.162" font-family="Cantarell" letter-spacing="0" word-spacing="0" 
fill="#fff"><tspan y="872.839" x="-455.366">852<tspan style="-inkscape-font-specification:'Cantarell, 
Normal';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 font-weight="400" font-size="48.163">m</tspan></tspan></text><g transform="matrix(2.3695 0 0 2.3695 
-1496.126 650.383)" fill="#fff" stroke-width=".422"><path d="M424.625 82.184l-2.125 2.125 4 4.03 
2.125-2.124z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 color="#000" font-weight="400" fon
 t-family
 ="Sans" overflow="visible" opacity=".35"/><path d="M429 82l1.438 1.438L426 
87.874v6.121h3v-4.871l3.563-3.563L434 87v-5z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 color="#000" font-weight="400" font-family="Sans" overflow="visible"/></g><path style="marker:none" 
fill="#1a5fb4" d="M-415 949.52h44.193v38H-415z"/><text 
style="line-height:1.25;-inkscape-font-specification:'Cantarell, 
Ultra-Bold';font-variant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 x="-406.088" y="977.091" font-weight="800" font-size="22.952" font-family="Cantarell" letter-spacing="0" 
word-spacing="0" fill="#fff"><tspan x="-406.088" y="977.091">13</tspan></text><path style="marker:none" 
fill="#613583" d="M843 1315.52h325v205H843z"/></g></svg>
\ No newline at end of file
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 8100aafc..358f0f97 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -14,8 +14,7 @@ install_data([
   'featured-inkscape.svg',
   'featured-kdenlive-bg.jpg',
   'featured-klavaro-bg.jpg',
-  'featured-maps.svg',
-  'featured-maps-bg.png',
+  'featured-maps-bg.svg',
   'featured-marker-bg.jpg',
   'featured-mypaint.svg',
   'featured-pdf-slicer.svg',
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index 351de560..94d92a36 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -3,7 +3,7 @@
   <component>
     <id>inkscape.desktop</id>
     <custom>
-      <value key="GnomeSoftware::FeatureTile-css">border-color: #ccc;
+      <value key="GnomeSoftware::FeatureTile-css">border-color: red;
 text-shadow: none;
 color: #606060;
 background:
@@ -31,13 +31,11 @@ box-shadow: none;
     <id>org.gnome.Maps.desktop</id>
     <custom>
       <value key="GnomeSoftware::FeatureTile-css">border-color: #deddda;
-text-shadow: 0 1px 1px rgba(255,255,255,0.5);
-color: #000000;
+text-shadow: none;
+color: #613583;
 box-shadow: none;
 background: #f6f5f4,
- url('file://@datadir@/gnome-software/featured-maps.svg')
- 30% -5px / 230px auto no-repeat,
- url('file://@datadir@/gnome-software/featured-maps-bg.png')
+ url('file://@datadir@/gnome-software/featured-maps-bg.svg')
  bottom center / cover no-repeat;
 </value>
     </custom>


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