[gnome-software/gnome-40: 1/3] data: Add a custom featured colour for Steam
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-40: 1/3] data: Add a custom featured colour for Steam
- Date: Tue, 27 Apr 2021 16:03:10 +0000 (UTC)
commit 0e560ddca2d4fcddb450ba26055beed017cd2626
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]