Customizing Coloreditor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-editor-spacermap.get( $kendo-spacing, 2 )
Description
The spacer of the ColorEditor.
$kendo-color-editor-min-width260px
Description
The minimum width of the ColorEditor.
$kendo-color-editor-border-width1px
Description
The width of the border around the ColorEditor.
$kendo-color-editor-border-radiusvar( --kendo-border-radius-md, #{$kendo-border-radius-md} )
Description
The border radius of the ColorEditor.
$kendo-color-editor-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the ColorEditor.
$kendo-color-editor-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the ColorEditor.
$kendo-color-editor-line-heightvar( --kendo-line-height, normal )
Description
The line height of the ColorEditor.
$kendo-color-editor-textvar( --kendo-component-text, initial )
Description
The text color of the ColorEditor.
$kendo-color-editor-bgvar( --kendo-component-bg, initial )
Description
The background color of the ColorEditor.
$kendo-color-editor-bordervar( --kendo-component-border, initial )
Description
The border color of the ColorEditor.
$kendo-color-editor-shadowvar( --kendo-box-shadow-depth-2, none )
Description
The box shadow of the ColorEditor.
$kendo-color-editor-focus-borderif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 ))
Description
The border color of the focused ColorEditor.
$kendo-color-editor-focus-shadowvar( --kendo-box-shadow-depth-3, none )
Description
The box shadow of the focused ColorEditor.
$kendo-color-editor-header-padding-y$kendo-color-editor-spacer
Description
The vertical padding of the ColorEditor header.
$kendo-color-editor-header-padding-x$kendo-color-editor-header-padding-y
Description
The horizontal padding of the ColorEditor header.
$kendo-color-editor-header-actions-spacingmath.div( $kendo-color-editor-spacer, 2 )
Description
The spacing between the ColorEditor header actions.
$kendo-color-editor-color-preview-width34px
Description
The width of the ColorEditor preview.
$kendo-color-editor-color-preview-height14px
Description
The height of the ColorEditor preview.
$kendo-color-editor-preview-spacingmap.get( $kendo-spacing, 1 )
Description
The spacing between the colors in the ColorEditor preview.
$kendo-color-editor-views-padding-y$kendo-color-editor-spacer
Description
The vertical padding of the ColorEditor views container.
$kendo-color-editor-views-padding-x$kendo-color-editor-views-padding-y
Description
The horizontal padding of the ColorEditor views container.
$kendo-color-editor-views-spacing$kendo-color-editor-spacer
Description
The spacing of the ColorEditor views container.
$kendo-color-editor-footer-padding-ymap.get( $kendo-spacing, 2 )
Description
The vertical padding of the ColorEditor footer.
$kendo-color-editor-footer-padding-xmap.get( $kendo-spacing, 2 )
Description
The horizontal padding of the ColorEditor footer.
$kendo-color-editor-color-gradient-focus-outline-colorrgba(0, 0, 0, 0.3)
Description
The outline color of the focused ColorGradient.
$kendo-color-editor-color-gradient-focus-outline2px
Description
The outline width of the focused ColorGradient.
$kendo-color-editor-color-gradient-focus-outline-offset2px
Description
The outline offset of the focused ColorGradient.

In this article

Not finding the help you need?