New to Kendo UI for Vue? 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
Default width of the captcha.
$kendo-captcha-font-familyNull$kendo-font-familynull
Description
Font family of the captcha.
$kendo-captcha-font-sizeNumber$kendo-font-size-md1rem
Description
Font size of the captcha.
$kendo-captcha-line-heightNumber$kendo-line-height-md1.5
Description
Line height of the captcha.
$kendo-captcha-spacingNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
Spacing of the captcha.
$kendo-captcha-bgColor$kendo-component-bg#ffffff
Description
Background color of the captcha.
$kendo-captcha-textColor$kendo-component-text#494949
Description
Text color of the captcha.
$kendo-captcha-borderColor$kendo-component-border#ededed
Description
Border color of the captcha.
$kendo-captcha-image-wrap-spacingNumberk-map-get( $kendo-spacing, 2 )0.5rem
Description
Spacing of the captcha image wrapper.
$kendo-captcha-image-controls-spacingNumberk-map-get( $kendo-spacing, 1 )0.25rem
Description
Spacing of the captcha image controls.
$kendo-captcha-validation-offset-yNumberk-map-get( $kendo-spacing, 1 )0.25rem
Description
Offset of the captcha validation text.
$kendo-captcha-validation-font-sizeNumber$kendo-font-size-sm0.875rem
Description
Font-size of the captcha validation text.

In this article

Not finding the help you need?