From 1005b67c54cbe94da4133cd81ef2c3c6523c93e1 Mon Sep 17 00:00:00 2001 From: paul-arg Date: Tue, 27 Aug 2024 17:15:53 +0200 Subject: [PATCH] messageicons: add more icons including gmail, google agenda, google messages --- apps/messageicons/ChangeLog | 1 + apps/messageicons/icons.img | Bin 5244 -> 5548 bytes apps/messageicons/icons/agenda.png | Bin 0 -> 189 bytes apps/messageicons/icons/generate.js | 3 +++ apps/messageicons/icons/gmail.png | Bin 0 -> 195 bytes apps/messageicons/icons/icon_names.json | 7 +++++-- apps/messageicons/icons/leboncoin.png | Bin 0 -> 187 bytes apps/messageicons/icons/messages.png | Bin 0 -> 201 bytes apps/messageicons/lib.js | 5 ++++- apps/messageicons/metadata.json | 2 +- 10 files changed, 14 insertions(+), 4 deletions(-) create mode 100644 apps/messageicons/icons/agenda.png create mode 100644 apps/messageicons/icons/gmail.png create mode 100644 apps/messageicons/icons/leboncoin.png create mode 100644 apps/messageicons/icons/messages.png diff --git a/apps/messageicons/ChangeLog b/apps/messageicons/ChangeLog index 4e8972f7a8..ede1699143 100644 --- a/apps/messageicons/ChangeLog +++ b/apps/messageicons/ChangeLog @@ -6,3 +6,4 @@ 0.05: Add message icon for 'jira' 0.06: Add message icon for 'molly' and 'threema libre' 0.07: Minor code improvements +0.08: Add more icons including GMail, Google Messages, Google Agenda \ No newline at end of file diff --git a/apps/messageicons/icons.img b/apps/messageicons/icons.img index 66ecb53f8eec12eb8eb1859d9c7bb41ee5f77e16..bb74d05d962eb81062100dc8e83185879bd4bbb5 100644 GIT binary patch delta 258 zcmeyPu||8sB6|h~2LAsA^8YI!NREL)E~!FpT7{fY1&9G8CxICZ6+o48|10GF7s&lj z;QQ|Y!?YX|fCxx3T>HA1LSnhy48y^7miJ-@hS$e~0}23i*3KlmdKI;Vst0Ku&^YybcN literal 0 HcmV?d00001 diff --git a/apps/messageicons/icons/generate.js b/apps/messageicons/icons/generate.js index 854e041435..a07b7af447 100755 --- a/apps/messageicons/icons/generate.js +++ b/apps/messageicons/icons/generate.js @@ -91,6 +91,7 @@ exports.getColor = function(msg,options) { const s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase(); return { /* generic colors, using B2-safe colors */ ${ /* DO NOT USE BLACK OR WHITE HERE, just leave the declaration out and then the theme's fg color will be used */"" } + "agenda": "#206cd5", "airbnb": "#ff385c", // https://news.airbnb.com/media-assets/category/brand/ "mail": "#ff0", "music": "#f0f", @@ -111,8 +112,10 @@ exports.getColor = function(msg,options) { // "home assistant": "#41bdf5", // ha-blue is #41bdf5, but that's the background "instagram": "#ff0069", // https://about.instagram.com/brand/gradient "jira": "#0052cc", //https://atlassian.design/resources/logo-library + "leboncoin": "#fa7321", "lieferando": "#ff8000", "linkedin": "#0a66c2", // https://brand.linkedin.com/ + "messages": "#0a5cce", "messenger": "#0078ff", "mastodon": "#563acc", // https://www.joinmastodon.org/branding "mattermost": "#00f", diff --git a/apps/messageicons/icons/gmail.png b/apps/messageicons/icons/gmail.png new file mode 100644 index 0000000000000000000000000000000000000000..b96465db18d3fe119bd1a8b8b903a48538af1a38 GIT binary patch literal 195 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J2BoosZ$T+a29w(7Bet# z3xhBt!>lbP0l+XkKp+GtR literal 0 HcmV?d00001 diff --git a/apps/messageicons/icons/icon_names.json b/apps/messageicons/icons/icon_names.json index de8be9e989..89f81be081 100644 --- a/apps/messageicons/icons/icon_names.json +++ b/apps/messageicons/icons/icon_names.json @@ -1,6 +1,7 @@ [ { "app":"default", "icon":"default.png" }, { "app":"airbnb", "icon":"airbnb.png" }, + { "app":"agenda", "icon":"agenda.png" }, { "app":"alarm", "icon":"alarm.png" }, { "app":"alarmclockreceiver", "icon":"alarm.png" }, { "app":"amazon shopping", "icon":"amazon.png" }, @@ -36,6 +37,7 @@ { "app":"aurora droid", "icon":"security.png" }, { "app":"github", "icon":"github.png" }, { "app":"gitlab", "icon":"gitlab.png" }, + { "app":"gmail", "icon":"gmail.png" }, { "app":"gmx", "icon":"gmx.png" }, { "app":"google", "icon":"google.png" }, { "app":"google home", "icon":"google home.png" }, @@ -45,6 +47,7 @@ { "app":"jira", "icon":"jira.png" }, { "app":"kalender", "icon":"kalender.png" }, { "app":"keep notes", "icon":"google keep.png" }, + { "app":"leboncoin", "icon":"leboncoin.png" }, { "app":"lieferando", "icon":"lieferando.png" }, { "app":"linkedin", "icon":"linkedin.png" }, { "app":"maps", "icon":"map.png" }, @@ -55,6 +58,7 @@ { "app":"tooot", "icon":"mastodon.png" }, { "app":"tusky", "icon":"mastodon.png" }, { "app":"mattermost", "icon":"mattermost.png" }, + { "app":"messages", "icon":"messages.png" }, { "app":"n26", "icon":"n26.png" }, { "app":"netflix", "icon":"netflix.png" }, { "app":"news", "icon":"news.png" }, @@ -110,6 +114,5 @@ { "app":"meet", "icon":"videoconf.png" }, { "app":"music", "icon":"music.png" }, { "app":"sms message", "icon":"default.png" }, - { "app":"mail", "icon":"default.png" }, - { "app":"gmail", "icon":"default.png" } + { "app":"mail", "icon":"default.png" } ] diff --git a/apps/messageicons/icons/leboncoin.png b/apps/messageicons/icons/leboncoin.png new file mode 100644 index 0000000000000000000000000000000000000000..fb41bf03f109af3626faf7af68faa31fa3e12ebc GIT binary patch literal 187 zcmeAS@N?(olHy`uVBq!ia0vp^5+KaT3?y&uT)!JgF%}28J2BoosZ$T+a29w(7Bet# z3xhBt!>ll2t~yoBUWJ3|968~YO)f1fBX{xG}0=aGJ$(Wd_nN6*yTH5oqM-`vAvZy_P6WhEi0 l<7Z&xu_qzr!4F1bVTNd5S;I?iMzcWndAj