Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
intercom-fashion
Advanced tools
Please note: Intercom does not officially support skinning their messenger.
Check out our custom skin using Intercom Fashion here (coming soon).
npm i --save intercom-fashion
// ES6
import IntercomFashion from 'intercom-fashion';
// ES5
const IntercomFashion = require('intercom-fashion');
<script src="//unpkg.com/intercom-fashion@1.0/dist/intercom-fashion.js"></script>
then...
IntercomFashion.init();
IntercomFashion.load('/path/to/your/custom.css');
The second argument of IntercomFashion.load
changes whether the CSS file should be added to the start/end of the embedded CSS (required for webfonts).
IntercomFashion.load('/path/to/your/webfonts.css', true);
IntercomFashion.style(`
#intercom-container * {
outline: 2px solid rgba(255, 0, 0, .25) !important;
}
`);
IntercomFashion.config({
userBubble: {
color: '#455A64', // User's bubble text color
background: '#ECEFF1', // User's bubble background color
rounded: true // Whether the user's bubble is rounded
},
adminBubble: {
color: 'white', // Admin's bubble text color
background: '#4CAF50', // Admin's bubble background color
rounded: true // Whether the admin's bubble is rounded
},
newConversation: {
color: '#fff', // The "new conversation" button text color
background: '#F44336' // The "new conversation" button background color
},
launcherButton: {
icon: 'logo.png', // The launcher's closed icon image url
background: '#F44336' // The launcher's background color
},
header: {
color: '#fff', // The header's text color
background: '#2196F3' // The header's background color
},
modal: {
background: '#424242' // The attachment preview modal background color
},
conversation: {
background: '#fff' // The conversation background color
},
tooltip: {
color: '#f8f8f8', // The tooltip text color
background: '#000', // The tooltip background color
rounded: true // Whether the tooltip is rounded
}
});
MIT ❤️
FAQs
A small library to help skin the new intercom messenger.
The npm package intercom-fashion receives a total of 1,703 weekly downloads. As such, intercom-fashion popularity was classified as popular.
We found that intercom-fashion demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.