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:
- Color tokens
- Color palette
- Spaces
- Typography
- Font sizes
- Box shadows
- Border radiuses
- Transitions
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