summaryrefslogtreecommitdiff
path: root/js/Headlines.js
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2018-12-12 07:57:37 +0300
committerAndrew Dolgov <[email protected]>2018-12-12 07:57:37 +0300
commiteda4ac2a2bb4bd96d06d0a2255dbc3d01cf16e31 (patch)
tree4849126854e9b818a3e2249df219f7f7f6dc7591 /js/Headlines.js
parentb6a021461d2ea54a91ce77c58591ad2ead35abdc (diff)
add fallback colors for headline feed titles based on feed name if favicon color is not available
Diffstat (limited to 'js/Headlines.js')
-rwxr-xr-xjs/Headlines.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/Headlines.js b/js/Headlines.js
index 364a9e748..1fd2efe25 100755
--- a/js/Headlines.js
+++ b/js/Headlines.js
@@ -442,7 +442,7 @@ define(["dojo/_base/declare"], function (declare) {
</span>
<div class="feed">
- <a href="#" style="background-color: rgba(${hl.favicon_avg_color_rgba})"
+ <a href="#" style="background-color: ${hl.feed_bg_color}"
onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a>
</div>
@@ -501,7 +501,7 @@ define(["dojo/_base/declare"], function (declare) {
</span>
</div>
<span class="feed">
- <a style="background : rgba(${hl.favicon_avg_color_rgba})" href="#" onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a>
+ <a style="background : ${hl.feed_bg_color}" href="#" onclick="Feeds.open({feed:${hl.feed_id}})">${hl.feed_title}</a>
</span>
<div title="${hl.imported}">
<span class="updated">${hl.updated}</span>