Skip to main content
Version: 3.1.1

Customizing Styles

The SDK comes with some default styles which can be overridden on demand to customize different parts of the UI.

We use BEM naming to style internal components and scope the default CSS to the container used to instantiate that template via a dynamically generated class. This allows independent styling of different integration views using their respective container IDs.

Using custom fonts#

The views respect the font-family attribute and the font stack is set to the following generic one by default:

#x-integry-container {  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica,    Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol';}

To update the font, override the font-family attribute.

Customizing CSS#

You can use this approach to override individual items with higher specificity. By specifying the ID of the container used to configure the SDK along with a custom class name, styles can be overridden for containers, controls and components.

#my-integry-container .an_available_class {  /* This will override styles */}

Containers#

.integry-container {  /* style the outer wrapper containing parent listing view */}
.integry-container__setup-form--inline {  /* style the inline rendered setup form */}
.integry-container__setup-form--modal {  /* style the modal rendered setup form */}.integry-container__flows-view {  /* style the listing view where flows are rendered */}
.integry-container__integrations-view {  /* style the listing view where integrations are rendered */}

Elements#

.integry-container__search {  /* Style the search bar in templates listing */}
.integry-container__flow-card {  /* Style the flow cards that appear in flow listing */}
.integry-container__integration-row {  /* Style individual integration rows */}
.integry-container__integrations-view__header {  /* Style the header of integrations listing view */}
.integry-container__tabbed-nav {  /* Style tabbed navigation */}
.integry-container__tabbed-nav__tab--active {  /* Style tabbed navigation active tab state */}

Controls#

/* Auth selector container */.integry-container__auth-selector {}
/* Button variations and states */.integry-container__button--primary {}
.integry-container__button--secondary {}
.integry-container__button--link {}
.integry-container__button--disabled {}
/* Input component */.integry-container__input {}
/* Label component */.integry-container__label {}

If you want support for a custom class added which is not listed, please reach out to us via email.