Customize colors globally through ToffeeProvider or per-component via CSS variables.
How it works
Each tone (neutral, brand, muted) maps to a set of CSS custom properties. Components read these variables from their root element. You can override any variable globally via ToffeeProvider or locally via inline styles.
CSS Variables
Variable
Used by
--toffee-shimmer-from
ShimmerText gradient start
--toffee-shimmer-mid
ShimmerText gradient midpoint
--toffee-shimmer-to
ShimmerText gradient end
--toffee-pulse-bg
GenerativeImage placeholder background
--toffee-pulse-highlight
GenerativeImage scan-line highlight
--toffee-text-color
StreamingText, ShimmerText text color
--toffee-orb-color
ThinkingOrb (Phase 2)
Global Override via ToffeeProvider
Pass a theme prop to override CSS variables for any tone: