Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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.
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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.