New to Kendo UI for Angular? Start a free 30-day trial

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-familyNull$kendo-font-familynull
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-spacingNumberk-map-get( $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-spacingNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
The spacing of the Captcha image wrapper.
$kendo-captcha-image-controls-spacingNumberk-map-get( $kendo-spacing, 1 )0.25rem
Description
The spacing of the Captcha image controls.
$kendo-captcha-validation-offset-yNumberk-map-get( $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?