Customizing Captcha

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-captcha-spacerNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The spacer of the Captcha.
$kendo-captcha-widthNumber335px335px
Description
The width of the Captcha.
$kendo-captcha-font-familyList$kendo-font-familysystem-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"
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-gapNumber$kendo-captcha-spacer0.5rem
Description
The gap of the Captcha.
$kendo-captcha-bgColor$kendo-component-bg#ffffff
Description
The background color of the Captcha.
$kendo-captcha-textColor$kendo-component-bg#ffffff
Description
The text color of the Captcha.
$kendo-captcha-borderColor$kendo-component-bg#ffffff
Description
The border color of the Captcha.
$kendo-captcha-image-wrap-gapNumber$kendo-captcha-spacer0.5rem
Description
The gap of the Captcha image wrapper.
$kendo-captcha-image-controls-gapNumber$kendo-captcha-spacer0.5rem
Description
The gap of the Captcha image controls.
$kendo-captcha-validation-message-margin-topNumberk-math-div( $kendo-captcha-spacer, 2 )0.25rem
Description
The top margin of the Captcha validation message.
$kendo-captcha-validation-message-font-sizeNumber$kendo-font-size-sm0.875rem
Description
The font size of the Captcha validation message.
$kendo-captcha-validation-message-font-styleStringitalicitalic
Description
The font style of the Captcha validation message.

In this article

Not finding the help you need?