Merge pull request #2578 from m-p-3/patch-1

[messageicons] Add Jira icon + color
pull/2605/head
Gordon Williams 2023-02-23 10:03:26 +00:00 committed by GitHub
commit c6a6056086
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 2 deletions

View File

@ -3,3 +3,4 @@
0.03: Fix icons broken in 0v02 (#2386)
Store all icons in a separate binary file (much faster lookup)
0.04: Add message icon for 'clock'
0.05: Add message icon for 'jira'

View File

@ -87,6 +87,7 @@ exports.getColor = function(msg,options) {
if (st.iconColorMode == 'mono') return options.default;
const s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase();
return {
// This file is generated by /icons/generate.js. If you need to modify its content, you should do it there instead.
// 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
"airbnb": "#ff385c", // https://news.airbnb.com/media-assets/category/brand/
@ -107,6 +108,7 @@ exports.getColor = function(msg,options) {
"google home": "#fbbc05",
// "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
"lieferando": "#ff8000",
"linkedin": "#0a66c2", // https://brand.linkedin.com/
"messenger": "#0078ff",

View File

@ -42,6 +42,7 @@
{ "app":"google play store", "icon":"google play store.png" },
{ "app":"home assistant", "icon":"home assistant.png" },
{ "app":"instagram", "icon":"instagram.png" },
{ "app":"jira", "icon":"jira.png" },
{ "app":"kalender", "icon":"kalender.png" },
{ "app":"keep notes", "icon":"google keep.png" },
{ "app":"lieferando", "icon":"lieferando.png" },

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

View File

@ -33,6 +33,7 @@ exports.getColor = function(msg,options) {
"google home": "#fbbc05",
// "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
"lieferando": "#ff8000",
"linkedin": "#0a66c2", // https://brand.linkedin.com/
"messenger": "#0078ff",

View File

@ -1,7 +1,7 @@
{
"id": "messageicons",
"name": "Message Icons",
"version": "0.04",
"version": "0.05",
"description": "Library containing a list of icons and colors for apps",
"icon": "app.png",
"type": "module",