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



commit cdba3ccfe19a014d5c12fa954838df889a1531fa
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-overlay.svg       |   1 +
 data/assets/featured-maps.svg               |   1 -
 data/assets/meson.build                     |   4 ++--
 data/assets/org.gnome.Software.Featured.xml |  12 ++++++------
 6 files changed, 10 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..171eef2f
--- /dev/null
+++ b/data/assets/featured-maps-bg.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="1280" height="350"><path 
d="M-23.234-27.797h1321.28v405.071H-23.234z" style="marker:none" fill="#c7ddf7"/><path d="M148.492 
151H734.38v127.279H148.492z" style="marker:none" fill="#f3ebe5"/><path 
d="M-55.558-90.427h561.645v491.944H-55.558z" style="marker:none" fill="#f3ebe5"/><path d="M148.492 
73.218h555.584v43.437H148.492z" style="marker:none" fill="#f3ebe5"/><path 
d="M265.63-217.336c0-23.504-18.923-42.426-42.427-42.426H107.036c-23.505 0-42.427 18.922-42.427 
42.426V150.36c0 23.504 18.922 42.426 42.427 42.426h116.167c23.504 0 42.427-18.922 42.427-42.426" 
style="marker:none" fill="none" stroke="#ffa348" stroke-width="6" stroke-linecap="round"/><path 
style="marker:none" d="M213.142-60.122c0-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" fill="none" stroke="#f8e45c" stroke-width="6" stroke-linecap="round"/><pat
 h style=
 "marker:none" d="M112.127-102.549c0-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" 
fill="none" stroke="#fff" stroke-width="4" stroke-linecap="round"/><path style="marker:none" d="M265.63 
150.36c0-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" fill="none" 
stroke="#ffa348" stroke-width="6" stroke-linecap="round"/><path d="M112.127 
265.147c0-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.427m101.015-325.269c0-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.922-42.427-42.426M313.652 6.043c23.505 0 42.427 18.922 42.
 427 42.4
 26v116.168c0 23.504-18.922 42.426-42.427 42.426H-54.043c-23.504 
0-42.427-18.922-42.427-42.426V48.469c0-23.504 18.923-42.426 42.427-42.426" style="marker:none" fill="none" 
stroke="#fff" stroke-width="4" stroke-linecap="round"/><path d="M466.619 217.955l-19.4 46.528 19.4-8.414 
18.671 9.405z" fill="#f5c211" stroke="#fff" stroke-width="4"/><path d="M466.619 253.819l.006-30.57 14.937 
38.157z" fill="#e5a50a"/><path d="M145 177h44.193v38H145z" style="marker:none" fill="#1a5fb4"/><path 
d="M158.961 204.571h3.97v-15.929h-2.363l-6.404 3.19 1.492 2.847 3.305-1.377zm11.682.229c4.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.646-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" 
word-spacin
 g="0" le
 tter-spacing="0" font-size="22.952" font-weight="800" aria-label="13" font-family="Cantarell" 
fill="#fff"/><path d="M98 330h32.193v38H98z" style="marker:none" fill="#1a5fb4"/><path word-spacing="0" 
letter-spacing="0" font-size="22.952" font-weight="800" aria-label="9" d="M113.728 341.413c-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" font-family="Cantarell" 
fill="#fff"/><rect style="marker:none" width="223.244" height="97.401" x="-1215.967" y="31.68" rx="22.223" 
ry="22.223"/><text word-spacing="0" letter-spacing="0" font-size="48.162" font-weight="800" 
style="line-height:1.25;-inkscape-font-specification:'Cantarell, Ultra-Bold'
 ;font-va
 
riant-ligatures:normal;font-variant-caps:normal;font-variant-numeric:normal;font-feature-settings:normal;text-align:start"
 x="-1144.597" y="100.319" font-family="Cantarell" fill="#fff"><tspan x="-1144.597" y="100.319">852<tspan 
font-size="48.163" font-weight="400" 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">m</tspan>
 </tspan></text><g fill="#fff" stroke-width=".422" font-weight="400" color="#000" font-family="Sans"><path 
overflow="visible" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 d="M-1179.208 72.598l-5.035 5.035 9.478 9.55 5.035-5.034z" opacity=".35"/><path overflow="visible" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 d="M
 -1168.84
 1 72.162l3.407 3.407-10.516 10.511v14.504h7.109V89.042l8.442-8.442 3.405 3.41V72.162z"/></g><path 
d="M-1104.23 177h44.192v38h-44.193z" style="marker:none" fill="#1a5fb4"/><text word-spacing="0" 
letter-spacing="0" font-size="22.952" font-weight="800" y="204.571" x="-1095.319" 
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-family="Cantarell" fill="#fff"><tspan y="204.571" x="-1095.319">13</tspan></text><path d="M843 
543h325v205H843z" style="marker:none" fill="#613583"/></svg>
\ No newline at end of file
diff --git a/data/assets/featured-maps-overlay.svg b/data/assets/featured-maps-overlay.svg
new file mode 100644
index 00000000..4163e3e9
--- /dev/null
+++ b/data/assets/featured-maps-overlay.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg"; width="240" height="105"><g transform="translate(-8.801 
-211.646)"><rect ry="20.88" rx="20.88" y="212.778" x="8.801" height="103.868" width="238.067" 
style="marker:none"/><g word-spacing="0" letter-spacing="0" font-size="48.162" font-weight="800" 
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"
 aria-label="852m" font-family="Cantarell" fill="#fff" stroke-width=".248"><path d="M100.626 286.487c8.731 0 
14.484-4.416 14.484-10.939 0-4.827-3.236-7.138-7.037-8.68 3.75-1.848 5.855-4.725 5.855-8.062 
0-5.394-5.239-8.99-12.736-8.99-8.218 0-13.61 4.367-13.61 10.838 0 4.006 2.155 6.317 4.98 7.91-3.8 1.489-5.957 
4.365-5.957 8.011 0 5.907 5.701 9.913 14.021 9.913zm-4.417-26.295c0-1.9 1.746-3.288 4.52-3.288 2.772 0 4.571 
1.387 4.571 3.544 0 2.106-1.798 3.596-4.468 3.955-2.671-.976-4.623-2.106-4.
 623-4.21
 2zm-.975 14.74c0-2.054 1.335-3.39 3.8-3.852 3.954 1.233 7.447 2.26 7.447 4.982 0 1.952-2.003 3.338-5.29 
3.338-3.595 0-5.957-1.746-5.957-4.468zm34.257 11.555c9.399 0 15.407-4.622 15.407-12.325 
0-6.78-4.828-10.581-13.456-10.581-.77 0-1.439.051-2.003.103l.256-5.598h13.303v-7.756h-21.982l-.925 
20.903c2.209-.41 5.034-.718 7.14-.718 5.341 0 8.422 1.695 8.422 4.571 0 2.414-2.207 3.698-6.214 3.698-3.082 
0-6.523-.72-9.09-1.952l-2.415 6.985c3.441 1.747 7.345 2.671 11.557 
2.671zm19.26-.513h25.166v-7.703h-12.224c7.55-6.01 11.3-11.763 11.3-17.411 
0-6.677-5.24-11.043-13.303-11.043-4.622 0-8.834 1.438-12.274 4.262l2.26 6.524c2.875-2.003 5.7-3.031 
8.268-3.031 3.544 0 5.803 1.9 5.803 4.674 0 4.417-5.7 9.757-14.996 17.462z"/><path font-size="48.163" 
font-weight="400" 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"
 d="M180.234 285.974h4.109v-19.362c1.849-1.4
 9 4.057-
 2.312 6.42-2.312 3.955 0 6.112 2.26 6.112 6.266v15.408h4.109v-16.23c0-1.027-.104-1.952-.36-2.824 1.9-1.696 
4.263-2.62 6.78-2.62 3.954 0 6.111 2.26 6.111 6.266v15.408h4.109v-16.23c0-5.495-3.595-9.04-9.09-9.04-3.288 
0-6.523 1.336-9.04 3.7-1.54-2.364-4.16-3.7-7.55-3.7-2.825 0-5.599.977-7.91 2.671l-.924-2.156h-2.876z"/></g><g 
fill="#fff" stroke-width=".105" font-weight="400" color="#000" font-family="Sans"><path overflow="visible" 
d="M48 256.413l-5.369 5.37 10.107 10.182 5.37-5.367z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"
 opacity=".35"/><path overflow="visible" d="M59.056 255.948l3.633 3.633-11.214 
11.21v15.466h7.58v-12.308l9.004-9.003 3.63 3.636v-12.634z" 
style="line-height:normal;-inkscape-font-specification:Sans;text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none"/></g></g></svg>
\ No newline at end of file
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 8100aafc..5546d575 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -14,8 +14,8 @@ 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-maps-overlay.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..5be91b35 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -31,14 +31,14 @@ 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')
- bottom center / cover no-repeat;
+ url('file://@datadir@/gnome-software/featured-maps-overlay.svg')
+ 16px 16px / 20% auto no-repeat,
+ url('file://@datadir@/gnome-software/featured-maps-bg.svg')
+ center / cover no-repeat;
 </value>
     </custom>
   </component>


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