Customizing Form

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-form-spacer( $kendo-padding-md-x * 2 )
Description
The padding of the inline Form.
$kendo-form-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Form.
$kendo-form-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Form.
$kendo-form-line-height-em$kendo-line-height-em
Description
The line height of the Form in em units.
$kendo-form-sm-line-heightvar( --kendo-line-height-sm, normal )
Description
The line height of the small Form.
$kendo-form-lg-line-heightvar( --kendo-line-height-lg, normal )
Description
The line height of the large Form.
$kendo-form-fieldset-margin2em 0 0
Description
The margin of the Form fieldset.
$kendo-form-fieldset-padding0px
Description
The padding of the Form fieldset.
$kendo-form-legend-margin0 0 map.get( $kendo-spacing, 3 )
Description
The margin of the Form legend.
$kendo-form-legend-padding0px
Description
The padding of the Form legend.
$kendo-form-legend-border-width0 0 map.get( $kendo-spacing, 0.5 )
Description
The border width of the Form legend.
$kendo-form-legend-border-stylesolid
Description
The border style of the Form legend.
$kendo-form-legend-border-colorvar( --kendo-component-border, initial )
Description
The border color of the Form legend.
$kendo-form-legend-width100%
Description
The width of the Form legend.
$kendo-form-legend-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Form legend.
$kendo-form-legend-text-transformuppercase
Description
The text capitalization of the Form legend.
$kendo-form-label-margin-bottommap.get( $kendo-spacing, 2 )
Description
The bottom margin of the Form label.
$kendo-form-label-font-weightvar( --kendo-font-weight-bold, inherit )
Description
The font weight of the form label
$kendo-form-button-margin-xmap.get( $kendo-spacing, 2 )
Description
The horizontal margin of the Form buttons.
$kendo-form-hint-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font size of the Form hint.
$kendo-form-hint-font-stylenormal
Description
The font style of the Form hint.
$kendo-form-hint-margin-topmap.get( $kendo-spacing, 1 )
Description
The top margin of the Form hint.
$kendo-form-hint-textif($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 ))
Description
The text color of the Form hint.
$kendo-form-sm-rows-spacingmap.get( $kendo-spacing, 3 )
Description
The row spacing of the small Form.
$kendo-form-md-rows-spacing$kendo-form-sm-rows-spacing
Description
The row spacing of the medium Form.
$kendo-form-lg-rows-spacing$kendo-form-sm-rows-spacing
Description
The row spacing of the large Form.
$kendo-form-separator-marginmap.get( $kendo-spacing, 3 ) 0 0
Description
The margin of the Form separator.
$kendo-form-separator-border-color$kendo-form-legend-border-color
Description
The border color of the Form separator.
$kendo-horizontal-form-label-padding-topmap.get( $kendo-spacing, 1.5 )
Description
The top padding of the label in the horizontal Form.
$kendo-horizontal-form-label-margin-xmap.get( $kendo-spacing, 2 )
Description
The horizontal margin of the label in the horizontal Form.
$kendo-horizontal-form-label-width25%
Description
The width of the label in the horizontal Form.
$kendo-horizontal-form-label-alignflex-end
Description
The horizontal alignment of the label in the horizontal Form.
$kendo-horizontal-form-field-wrap-max-widthcalc( ( 100% - #{$kendo-horizontal-form-label-width} ) - #{$kendo-horizontal-form-label-margin-x} )
Description
The maximum width of the field wrap in the horizontal Form.
$kendo-inline-form-element-width25%
Description
The width of the inline Form element.
$kendo-forms-invalid-colorvar( --kendo-invalid-text, initial )
Description
The invalid text color of the Form.
$kendo-label-optional-margin-xmap.get( $kendo-spacing, 1.5 )
Description
The horizontal margin of the optional label in the Form.
$kendo-label-optional-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font size of the optional label in the Form.
$kendo-label-optional-font-stylenormal
Description
The font style of the optional label in the Form.
$kendo-fieldset-marginmap.get( $kendo-spacing, 7.5 )
Description
The margin of the Form fieldset.
$kendo-fieldset-font-sizevar( --kendo-font-size-xl, inherit )
Description
The font size of the Form fieldset.
$kendo-fieldset-bgtransparent
Description
The background color of the Form fieldset.
$kendo-fieldset-textinherit
Description
The text color of the Form fieldset.
$kendo-fieldset-borderinitial
Description
The border color of the Form fieldset.
$kendo-fieldset-legend-bgtransparent
Description
The background color of the Form legend.
$kendo-fieldset-legend-textif($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 ))
Description
The text color of the Form legend.
$kendo-fieldset-legend-borderinitial
Description
The border color of the Form legend.
$kendo-form-sizes( sm: ( form-rows-spacing: $kendo-form-sm-rows-spacing ), md: ( form-rows-spacing: $kendo-form-md-rows-spacing ), lg: ( form-rows-spacing: $kendo-form-lg-rows-spacing ) )
Description
The sizes map for the Form.

In this article

Not finding the help you need?