@workspace/chat — shared primitives for chat interfaces
Can you explain how the theme system works? I want to add a custom variant.
const x = 42function greet(name: string) {
return Hello, ${name}!
}:root block holds color values as CSS custom properties. The @theme inline block maps Tailwind tokens to those properties via var(). Theme classes override the :root values, and Tailwind reads the updated references automatically.const x = 42function greet(name: string) {
return Hello, ${name}!
}First message
inline code.Second question about the system
One more to fill the container