Customizing Captcha

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-captcha-widthNumber280px280px
Description
The width of the Captcha.
$kendo-captcha-font-familyString$kendo-font-familyinherit
Description
The font family of the Captcha.
$kendo-captcha-font-sizeNumber$kendo-font-size-md1rem
Description
The font size of the Captcha.
$kendo-captcha-line-heightNumber$kendo-line-height-md1.5
Description
The line height of the Captcha.
$kendo-captcha-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Captcha.
$kendo-captcha-bgColor$kendo-component-bg#ffffff
Description
The background color of the Captcha.
$kendo-captcha-textColor$kendo-component-text#494949
Description
The text color of the Captcha.
$kendo-captcha-borderColor$kendo-component-border#ededed
Description
The border color of the Captcha.
$kendo-captcha-image-wrap-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing of the Captcha image wrapper.
$kendo-captcha-image-controls-spacingStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The spacing of the Captcha image controls.
$kendo-captcha-validation-offset-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The offset of the Captcha validation message.
$kendo-captcha-validation-font-sizeNumber$kendo-font-size-sm0.875rem
Description
The font size of the Captcha validation message.

In this article

Not finding the help you need?