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

Customizing Coloreditor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-editor-spacerStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacer of the ColorEditor.
$kendo-color-editor-min-widthNumber260px260px
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-radiusStringk-border-radius(md)var(--kendo-border-radius-md, 0.25rem)
Description
The border radius of the ColorEditor.
$kendo-color-editor-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the ColorEditor.
$kendo-color-editor-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the ColorEditor.
$kendo-color-editor-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the ColorEditor.
$kendo-color-editor-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the ColorEditor.
$kendo-color-editor-bgStringvar( --kendo-component-bg, initial )var(--kendo-component-bg, initial)
Description
The background color of the ColorEditor.
$kendo-color-editor-borderStringvar( --kendo-component-border, initial )var(--kendo-component-border, initial)
Description
The border color of the ColorEditor.
$kendo-color-editor-shadowStringvar( --kendo-box-shadow-depth-2, none )var(--kendo-box-shadow-depth-2, none)
Description
The box shadow of the ColorEditor.
$kendo-color-editor-focus-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 10%, transparent)
Description
The border color of the focused ColorEditor.
$kendo-color-editor-focus-shadowStringvar( --kendo-box-shadow-depth-3, none )var(--kendo-box-shadow-depth-3, none)
Description
The box shadow of the focused ColorEditor.
$kendo-color-editor-header-padding-yString$kendo-color-editor-spacervar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the ColorEditor header.
$kendo-color-editor-header-padding-xString$kendo-color-editor-header-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the ColorEditor header.
$kendo-color-editor-header-actions-spacingCalculationcalc( #{$kendo-color-editor-spacer} / 2 )calc(var(--kendo-spacing-2, 0.5rem) / 2)
Description
The spacing between the ColorEditor header actions.
$kendo-color-editor-color-preview-widthNumber34px34px
Description
The width of the ColorEditor preview.
$kendo-color-editor-color-preview-heightNumber14px14px
Description
The height of the ColorEditor preview.
$kendo-color-editor-preview-spacingStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The spacing between the colors in the ColorEditor preview.
$kendo-color-editor-views-padding-yString$kendo-color-editor-spacervar(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the ColorEditor views container.
$kendo-color-editor-views-padding-xString$kendo-color-editor-views-padding-yvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the ColorEditor views container.
$kendo-color-editor-views-spacingString$kendo-color-editor-spacervar(--kendo-spacing-2, 0.5rem)
Description
The spacing of the ColorEditor views container.
$kendo-color-editor-footer-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the ColorEditor footer.
$kendo-color-editor-footer-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the ColorEditor footer.
$kendo-color-editor-color-gradient-focus-outline-colorColorrgba(0, 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?