
Security News
Meet Socket at Black Hat Europe and BSides London 2025
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.
@livechat/chat-widget-design-tokens
Advanced tools
This package includes the basic design tokens that the LiveChat team uses to build a chat widget.
This package includes the basic design tokens that the LiveChat team uses to build a chat widget.
If you're building a chat widget integration, we recommend using this when styling your components. In that way, your design will stay in sync with widget design.
The package includes:
Using npm:
npm install @livechat/chat-widget-design-tokens
or using yarn:
yarn add @livechat/chat-widget-design-tokens
import { colors, spaces } from '@livechat/chat-widget-design-tokens'
<div style={{ padding: spaces.space6 }} />
Value for particular token is changing depend on the mode Light|Dark
| Token name | ☀️ Light Mode | 🌚 Dark Mode |
|---|---|---|
| border | ||
| divider | ||
| error | ||
| errorContrast | ||
| subtleFeedback | ||
| subtleFeedbackContrast | ||
| caution | ||
| cautionContrast | ||
| success | ||
| successContrast | ||
| primaryTextColor | ||
| secondaryTextColor | ||
| tertiaryTextColor | ||
| surface | ||
| surfaceVariant | ||
| surfaceInteractive | ||
| surfaceInteractivePressed | ||
| surfaceDecorative | ||
| hintSurface | ||
| floatSurface | ||
| pressedElement | ||
| notification | ||
| notificationContrast | ||
| widgetBackground | ||
| disabled | ||
| disabledContrast | ||
| formIconcolor |

FAQs
This package includes the basic design tokens that the LiveChat team uses to build a chat widget.
The npm package @livechat/chat-widget-design-tokens receives a total of 911 weekly downloads. As such, @livechat/chat-widget-design-tokens popularity was classified as not popular.
We found that @livechat/chat-widget-design-tokens demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 9 open source maintainers 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
Socket is heading to London! Stop by our booth or schedule a meeting to see what we've been working on.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.