Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[messageicons] Add Jira icon + color #2578

Merged
merged 9 commits into from
Feb 23, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
oopsie, moved comment to proper location
  • Loading branch information
m-p-3 committed Feb 22, 2023
commit 5993d24cc3026c62d57eaa361e86d5884d51e037
2 changes: 1 addition & 1 deletion apps/messageicons/icons/generate.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
#!/usr/bin/node

// Creates lib.js from icons
// This file is generated by /icons/generate.js, so if you need to modify its content, you should do it there, not directly in lib.js
// npm install png-js

// default icon must come first in icon_names
Expand Down Expand Up @@ -88,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/
Expand Down