[gnome-software/wip/jimmac/banner-chess: 2/2] data: featured banner for Chess



commit 05aaabb48589b452f92b9ec99d5cea9365b08e8c
Author: Jakub Steiner <jimmac gmail com>
Date:   Thu Feb 21 19:43:24 2019 +0100

    data: featured banner for Chess
    
    - redo the banner as the SVG didn't scale properly and overall
      he baner wasn't legible
    
    Fixes issue #597

 data/assets/featured-chess-bg.png           | Bin 0 -> 265934 bytes
 data/assets/featured-chess-bg.svg           |  85 ----------------------------
 data/assets/meson.build                     |   2 +-
 data/assets/org.gnome.Software.Featured.xml |  15 +++--
 4 files changed, 8 insertions(+), 94 deletions(-)
---
diff --git a/data/assets/featured-chess-bg.png b/data/assets/featured-chess-bg.png
new file mode 100644
index 00000000..e4fddff1
Binary files /dev/null and b/data/assets/featured-chess-bg.png differ
diff --git a/data/assets/meson.build b/data/assets/meson.build
index 46100f64..75b9e09d 100644
--- a/data/assets/meson.build
+++ b/data/assets/meson.build
@@ -6,7 +6,7 @@ install_data([
   'featured-builder.png',
   'featured-builder-bg.jpg',
   'featured-chess.svg',
-  'featured-chess-bg.svg',
+  'featured-chess-bg.png',
   'featured-firefox.svg',
   '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 3c52c62f..22797b0c 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -77,24 +77,23 @@ background:
 </value>
     </metadata>
   </component>
-  <component type="desktop" merge="append">
+<component type="desktop" merge="append">
     <id>gnome-chess.desktop</id>
     <metadata>
       <value key="GnomeSoftware::FeatureTile-css">border-color: #5e5c64;
-text-shadow: 0 1px 1px rgba(0,0,0,0.5);
-color: #ffffff;
+text-shadow: 0 1px 2px rgba(0,0,0,.5);
+color: #fff;
 outline-offset: 0;
 outline-color: alpha(#ffffff, 0.75);
 outline-style: dashed;
 outline-offset: 2px;
 box-shadow: none;
 background:
- url('file://@datadir@/gnome-software/featured-chess.svg')
- 10% center / 40% auto no-repeat,
- url('file://@datadir@/gnome-software/featured-chess-bg.svg') 50% 65% / 50% repeat;
+linear-gradient(to left, rgba(0,0,0,.7), rgba(0,0,0,0)),
+ #c0bfbc url('file://@datadir@/gnome-software/featured-chess-bg.png') center / 100% no-repeat;
 </value>
-    </metadata>
-  </component>
+</metadata>
+</component>
   <component type="desktop" merge="append">
     <id>inkscape.desktop</id>
     <metadata>


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