CSS Variables
Platform customers have access to a comprehensive set of CSS variables that can be used to customize the appearance of the embedded signing experience. These variables control everything from colors to spacing and can be used to match your application’s design system.Available Variables
Colors
Spacing and Layout
Usage Example
Here’s how to use these variables in your embedding implementation:Color Format
Colors can be specified in any valid CSS color format:- Hexadecimal:
#ff0000 - RGB:
rgb(255, 0, 0) - HSL:
hsl(0, 100%, 50%) - Named colors:
red
Best Practices
- Maintain Contrast: When customizing colors, ensure there’s sufficient contrast between background and foreground colors for accessibility.
- Test Dark Mode: If you haven’t disabled dark mode, test your color variables in both light and dark modes.
- Use Your Brand Colors: Align the primary and accent colors with your brand’s color scheme for a cohesive look.
- Consistent Radius: Use a consistent border radius value that matches your application’s design system.
CSS Class Targets
In addition to CSS variables, specific components in the embedded experience can be targeted using CSS classes for more granular styling:Component Classes
Field components also expose several data attributes that can be used for styling different states:

