[gnome-software/wip/jimmac/featured-foliate] featured: Foliate



commit cb450088e3ef83adaec682f63c4ad1fec961f312
Author: Jakub Steiner <jimmac gmail com>
Date:   Tue Nov 19 14:53:18 2019 +0100

    featured: Foliate
    
    - avoid using the app icon

 data/assets/featured-foliate-bg.jpg         | Bin 0 -> 2700159 bytes
 data/assets/featured-foliate.svg            |   2 +-
 data/assets/meson.build                     |   1 +
 data/assets/org.gnome.Software.Featured.xml |   7 +++++--
 4 files changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/data/assets/featured-foliate-bg.jpg b/data/assets/featured-foliate-bg.jpg
new file mode 100644
index 00000000..cce3396a
Binary files /dev/null and b/data/assets/featured-foliate-bg.jpg differ
diff --git a/data/assets/featured-foliate.svg b/data/assets/featured-foliate.svg
index 1e2abd63..cb497a6a 100644
--- a/data/assets/featured-foliate.svg
+++ b/data/assets/featured-foliate.svg
@@ -1 +1 @@
-<svg xmlns="http://www.w3.org/2000/svg"; xmlns:xlink="http://www.w3.org/1999/xlink"; width="512" height="512" 
version="1.0"><defs><linearGradient id="c"><stop offset="0" stop-color="#cfcfcc"/><stop offset=".037" 
stop-color="#e8e8e8" stop-opacity=".98"/><stop offset=".074" stop-color="#d0d0cc"/><stop offset=".923" 
stop-color="#d0d0cc"/><stop offset=".962" stop-color="#e8e8e8"/><stop offset="1" 
stop-color="#d0d0cc"/></linearGradient><linearGradient id="a"><stop offset="0" stop-color="#f6f5f4"/><stop 
offset="1" stop-color="#e1dfdd"/></linearGradient><linearGradient id="b"><stop offset="0" 
stop-color="#f6f5f4"/><stop offset=".333" stop-color="#fdfdfd"/><stop offset="1" 
stop-color="#c9c6c1"/></linearGradient><linearGradient xlink:href="#a" id="f" x1="55" y1="65" x2="64" y2="65" 
gradientUnits="userSpaceOnUse"/><linearGradient xlink:href="#b" id="e" x1="73" y1="65" x2="65" y2="65" 
gradientUnits="userSpaceOnUse"/><linearGradient xlink:href="#c" id="d" gradientUnits="userSpaceOnUse" x1
 ="10" y1
 ="106" x2="118" y2="106"/></defs><g transform="translate(-27.476 -777.141) scale(4.43452)"><rect ry="8" 
y="208" x="63" height="80" width="57" fill="#20baba"/><rect width="57" height="80" x="8" y="36" ry="8" 
transform="translate(0 172)" fill="#20baba"/><path transform="translate(0 172)" d="M18 36h92c4.432 0 8 3.568 
8 8v60c0 4.432-3.568 8-8 8H18c-4.432 0-8-3.568-8-8V44c0-4.432 3.568-8 8-8z" fill="url(#d)"/><path 
style="marker:none" d="M72 28c-4.432 0-8 3.568-8 8v76c0-4.432 3.568-8 8-8h38c4.432 0 8-3.568 
8-8V36c0-4.432-3.568-8-8-8z" transform="translate(0 172)" fill="url(#e)"/><path d="M56 28c4.432 0 8 3.568 8 
8v76c0-4.432-3.568-8-8-8H18c-4.432 0-8-3.568-8-8V36c0-4.432 3.568-8 8-8z" style="marker:none" 
transform="translate(0 172)" fill="url(#f)"/><rect width="24" height="4" x="76" y="212" ry="0" 
fill="#0cc"/><rect width="32" height="4" x="76" y="48" ry="0" transform="translate(0 172)" 
fill="#deddda"/><rect ry="0" y="56" x="76" height="4" width="32" transform="translate(0 172)" 
 fill="#d
 eddda"/><rect width="32" height="4" x="76" y="64" ry="0" transform="translate(0 172)" fill="#deddda"/><rect 
ry="0" y="72" x="76" height="4" width="32" transform="translate(0 172)" fill="#deddda"/><rect width="32" 
height="4" x="76" y="80" ry="0" transform="translate(0 172)" fill="#deddda"/><rect ry="0" y="88" x="76" 
height="4" width="21.333" transform="translate(0 172)" fill="#deddda"/><rect ry="0" y="64" x="20" height="4" 
width="32" transform="translate(0 172)" fill="#deddda"/><rect width="32" height="4" x="20" y="72" ry="0" 
transform="translate(0 172)" fill="#deddda"/><rect ry="0" y="80" x="20" height="4" width="32" 
transform="translate(0 172)" fill="#deddda"/><rect width="21.333" height="4" x="20" y="88" ry="0" 
transform="translate(0 172)" fill="#deddda"/><rect width="32" height="4" x="20" y="64" ry="0" 
transform="translate(0 172)" fill="#deddda"/><rect ry="0" y="72" x="20" height="4" width="32" 
transform="translate(0 172)" fill="#deddda"/><rect width="32" height="4" x="20
 " y="80"
  ry="0" transform="translate(0 172)" fill="#deddda"/><rect ry="0" y="88" x="20" height="4" width="32" 
transform="translate(0 172)" fill="#deddda"/><path d="M26.089 186.835s-8.232 20.437-8.208 31.187c.018 8 1.102 
17.027 6.212 23.182 3.926 4.729 16.629 7.967 16.629 7.967l4.14 15.455 3.864-1.035-4.14-15.455s9.38-9.156 
10.416-15.214c1.348-7.886-2.227-16.246-6.211-23.183-5.354-9.321-22.702-22.904-22.702-22.904z" 
fill="#0cc"/><path d="M44.8 264.673l3.864-1.036-7.247-27.046 7.071-12.247-2.45-1.414-5.656 9.798-2.07-7.728 
5.656-9.798-2.45-1.414-4.242 7.349-1.553-5.796 4.243-7.348-2.45-1.415-2.828 4.9L31 198l-3.864 1.035 3.688 
13.478-4.899-2.829-1.414 2.45 7.349 4.242 1.553 5.796-7.349-4.243-1.414 2.45 9.798 5.657 2.07 
7.727-9.798-5.657-1.414 2.45 12.248 7.07z" fill="#20baba"/></g></svg>
\ No newline at end of file
+<svg xmlns="http://www.w3.org/2000/svg"; width="256" height="512" version="1.0"><defs><linearGradient 
id="c"><stop offset="0" stop-color="#cfcfcc"/><stop offset=".037" stop-color="#e8e8e8" 
stop-opacity=".98"/><stop offset=".074" stop-color="#d0d0cc"/><stop offset=".923" stop-color="#d0d0cc"/><stop 
offset=".962" stop-color="#e8e8e8"/><stop offset="1" stop-color="#d0d0cc"/></linearGradient><linearGradient 
id="a"><stop offset="0" stop-color="#f6f5f4"/><stop offset="1" 
stop-color="#e1dfdd"/></linearGradient><linearGradient id="b"><stop offset="0" stop-color="#f6f5f4"/><stop 
offset=".333" stop-color="#fdfdfd"/><stop offset="1" stop-color="#c9c6c1"/></linearGradient></defs><path 
d="M69.293 35.105S21.305 154.242 21.445 216.909c.105 46.635 6.424 99.258 36.213 135.139 22.886 27.567 96.938 
46.443 96.938 46.443l24.134 90.095 22.525-6.034-24.134-90.094s54.68-53.375 
60.72-88.69c7.858-45.971-12.982-94.706-36.207-135.145-31.211-54.337-132.34-133.518-132.34-133.518z" 
fill="#0cc"/><path d="M1
 78.369 4
 88.86l22.525-6.04-42.247-157.664 41.22-71.393-14.282-8.243-32.971 57.117-12.067-45.05 
32.971-57.118-14.282-8.242-24.728 42.84-9.054-33.787 24.735-42.835-14.282-8.249-16.486 
28.565-21.5-78.57-22.524 6.033 21.499 78.57-28.559-16.492-8.243 14.283 42.841 24.728 9.053 
33.788-42.84-24.735-8.243 14.283 57.117 32.977 12.067 45.044-57.117-32.977-8.243 14.282 71.4 41.215z" 
fill="#20baba"/></svg>
\ No newline at end of file
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 8100aafc..61e874b1 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -7,6 +7,7 @@ install_data([
   'featured-dropbox.png',
   'featured-FeedReader.svg',
   'featured-foliate.svg',
+  'featured-foliate-bg.jpg',
   'featured-fondo-bg.jpg',
   'featured-gimp.png',
   'featured-gnome-sudoku.png',
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index 351de560..1e8d0969 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -103,8 +103,11 @@ text-shadow: 0 1px rgba(255,255,255,0.3);</value>
     </categories>
     <custom>
       <value key="GnomeSoftware::FeatureTile-css">border: 1px solid #00aaaa;
-background: #00cccc url('file://@datadir@/gnome-software/featured-foliate.svg') 
- 10% 40% / 50% auto no-repeat;
+background: #00cccc, 
+ url('file://@datadir@/gnome-software/featured-foliate.svg')
+ 10% 40% / 50% auto no-repeat,
+  url('file://@datadir@/gnome-software/featured-foliate-bg.jpg')
+ center bottom / cover no-repeat;
 color: #004444;
 text-shadow: none;
 </value>


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