Skip to main content
The Dots Flow solution supports extensive visual customization, allowing you to align the Flow’s appearance with your site’s design and brand. You can modify colors, buttons, borders, padding, and more to ensure a seamless user experience.

Available configurations

You can customize the Flows’ appearance by changing the theme and CSS variables. The theme parameter controls the overall appearance of elements that cannot be individually configured, such as the Dots logo or the date picker icon. The available themes are:
  • light (default)
  • dark
The variables object contains several parameters that work similarly to CSS variables, enabling you to customize specific Flow components. The complete list of customizable variables is presented in the following table: The following code block presents the JSON structure you should use to set the Flow style.

Customizing a Flow

To apply the custom styling to your Flow, follow the steps:
  1. First, you need to stringify the configurations, including theme and variables, converting the configurations to a JSON string.
  2. URL encode the JSON string.
  3. Append the encoded string as a ?styles={url_encoded_config} query parameter to the Flow link when attaching it to an iframe.
The following code block presents an example of how to customize the flow styles with specific configurations:
The following image presents the customization result:
Flow style customization