1
0
Fork 0

oopsie, moved comment to proper location

master
m-p-3 2023-02-22 13:42:31 -05:00 committed by GitHub
parent 8b51c31027
commit 5993d24cc3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,6 @@
#!/usr/bin/node #!/usr/bin/node
// Creates lib.js from icons // 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 // npm install png-js
// default icon must come first in icon_names // default icon must come first in icon_names
@ -88,6 +87,7 @@ exports.getColor = function(msg,options) {
if (st.iconColorMode == 'mono') return options.default; if (st.iconColorMode == 'mono') return options.default;
const s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase(); const s = (("string"=== typeof msg) ? msg : (msg.src || "")).toLowerCase();
return { 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 // 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 // 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/ "airbnb": "#ff385c", // https://news.airbnb.com/media-assets/category/brand/