Customizing Coloreditor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-editor-spacerNumberk-map-get( $kendo-spacing, 3 )12px
Description
The spacer of the ColorEditor.
$kendo-color-editor-min-widthNumber294px294px
Description
The minimum width of the ColorEditor.
$kendo-color-editor-border-widthNumber1px1px
Description
The width of the border around the ColorEditor.
$kendo-color-editor-border-radiusNumber$kendo-border-radius-md4px
Description
The border radius of the ColorEditor.
$kendo-color-editor-font-familyList$kendo-font-familyRoboto, "Helvetica Neue", sans-serif
Description
The font family of the ColorEditor.
$kendo-color-editor-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the ColorEditor.
$kendo-color-editor-line-heightNumber$kendo-line-height-md2
Description
The line height of the ColorEditor.
$kendo-color-editor-textColor$kendo-component-textrgba(0, 0, 0, 0.87)
Description
The text color of the ColorEditor.
$kendo-color-editor-bgColor$kendo-component-bg#ffffff
Description
The background color of the ColorEditor.
$kendo-color-editor-borderColor$kendo-component-borderrgba(0, 0, 0, 0.12)
Description
The border color of the ColorEditor.
$kendo-color-editor-focus-borderColor$kendo-hover-borderrgba(0, 0, 0, 0.15)
Description
The border color of the focused ColorEditor.
$kendo-color-editor-focus-shadowString$box-shadow-depth-3var(--kendo-elevation-3, 0px 1px 8px 0px rgba(0, 0, 0, 0.2), 0px 3px 3px 0px rgba(0, 0, 0, 0.12), 0px 3px 4px 0px rgba(0, 0, 0, 0.14))
Description
The box shadow of the focused ColorEditor.
$kendo-color-editor-header-padding-yNumber$kendo-color-editor-spacer12px
Description
The vertical padding of the ColorEditor header.
$kendo-color-editor-header-padding-xNumber$kendo-color-editor-header-padding-y12px
Description
The horizontal padding of the ColorEditor header.
$kendo-color-editor-header-actions-gapNumberk-map-get( $kendo-spacing, 2 )8px
Description
The spacing between the ColorEditor header actions.
$kendo-color-editor-color-preview-widthNumber32px32px
Description
The width of the ColorEditor preview.
$kendo-color-editor-color-preview-heightNumber12px12px
Description
The height of the ColorEditor preview.
$kendo-color-editor-preview-gapNumberk-map-get( $kendo-spacing, 1 )4px
Description
The spacing between the colors in the ColorEditor preview.
$kendo-color-editor-views-padding-yNumber$kendo-color-editor-spacer12px
Description
The vertical padding of the ColorEditor views container.
$kendo-color-editor-views-padding-xNumber$kendo-color-editor-views-padding-y12px
Description
The horizontal padding of the ColorEditor views container.
$kendo-color-editor-views-gapNumber$kendo-color-editor-spacer12px
Description
The spacing of the ColorEditor views container.
$kendo-color-editor-color-gradient-focus-outline-colorColorrgba(0, 0, 0, .3)rgba(0, 0, 0, 0.3)
Description
The outline color of the focused ColorGradient.
$kendo-color-editor-color-gradient-focus-outlineNumber2px2px
Description
The outline width of the focused ColorGradient.
$kendo-color-editor-color-gradient-focus-outline-offsetNumber2px2px
Description
The outline offset of the focused ColorGradient.

In this article

Not finding the help you need?