[gnome-software: 1/3] data: Add a custom featured colour for Steam




commit 28dfc42a754e1068115bd7d18932511d3fe9f171
Author: Philip Withnall <pwithnall endlessos org>
Date:   Mon Apr 26 18:43:18 2021 +0100

    data: Add a custom featured colour for Steam
    
    Steam appears to be one of the corner cases where the built-in
    heuristics for extracting key colours don’t manage to pick ones which
    have enough contrast with the foreground text colour.
    
    Rather than fiddle with the heuristics and potentially break them for
    other apps (i.e. requiring a lot of testing), add an override key colour
    for Steam.
    
    Signed-off-by: Philip Withnall <pwithnall endlessos org>
    
    Fixes: #1223

 data/assets/org.gnome.Software.Featured.xml | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/data/assets/org.gnome.Software.Featured.xml b/data/assets/org.gnome.Software.Featured.xml
index 52499e251..f9c41df02 100644
--- a/data/assets/org.gnome.Software.Featured.xml
+++ b/data/assets/org.gnome.Software.Featured.xml
@@ -178,6 +178,7 @@
     <id>com.valvesoftware.Steam</id>
     <custom>
       <value key="GnomeSoftware::FeatureTile">True</value>
+      <value key="GnomeSoftware::key-colors">[(17, 48, 70)]</value>
     </custom>
   </component>
   <component merge="append">


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