Skip to content

Visual settings

For customizing the UI, you can create these custom properties and add them in your CSS root. They will be used instead of the default value.

Custom PropertyDefault ValueDefinition
--zi-button-background#bcbcbcBackground color of the button
--zi-button-colorblackText color of the button
--zi-button-focus-outline4px solid #9000a3Outline focus style of the button
--zi-button-outlinenoneOutline style of the button
--zi-button-position-rightDesktop: -16px
Mobile: -10px
Right position of the button
--zi-button-position-topDesktop: -16px
Mobile: -10px
Top position of the button
--zi-image-max-height92vhMaximum image height
--zi-image-max-width92vwMaximum image width
--zi-image-outlinenoneOutline property style of the image