Customizing Imageeditor

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-image-editor-bgStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
Background color of the imageeditor.
$kendo-image-editor-textStringvar( --kendo-component-text, inherit )var(--kendo-component-text, inherit)
Description
Text color of the imageeditor.
$kendo-image-editor-borderStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent)
Description
Border color of the imageeditor.
$kendo-image-editor-margin-yStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
Vertical margin of the imageeditor.
$kendo-image-editor-margin-xStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
Horizontal margin of the imageeditor.
$kendo-image-editor-padding-yStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
Vertical padding of the imageeditor.
$kendo-image-editor-padding-xStringk-spacing(0)var(--kendo-spacing-0, 0px)
Description
Horizontal padding of the imageeditor.
$kendo-image-editor-border-widthNumber1px1px
Description
Border width of the imageeditor.
$kendo-image-editor-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
Font size of the imageeditor.
$kendo-image-editor-line-heightStringvar( --kendo-line-height, inherit )var(--kendo-line-height, inherit)
Description
Line height of the imageeditor.
$kendo-image-editor-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
Font family of the imageeditor.
$kendo-image-editor-content-bgStringif($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 23%, transparent), k-get-theme-color-var( neutral-50 ))color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 23%, transparent)
Description
Imageeditor content background color.
$kendo-image-editor-content-textStringinheritinherit
Description
Imageeditor content text color.
$kendo-image-editor-content-borderStringinheritinherit
Description
Imageeditor content border color.
$kendo-image-editor-content-border-widthNumber00
Description
Imageeditor content border width.
$kendo-image-editor-action-pane-bgStringvar( --kendo-component-bg, inherit )var(--kendo-component-bg, inherit)
Description
Imageeditor action pane background color.
$kendo-image-editor-action-pane-textStringinheritinherit
Description
Imageeditor action pane text color.
$kendo-image-editor-action-pane-borderStringinheritinherit
Description
Imageeditor action pane border.
$kendo-image-editor-action-pane-padding-yStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Imageeditor action pane vertical padding.
$kendo-image-editor-action-pane-padding-xStringk-spacing(3)var(--kendo-spacing-3, 0.75rem)
Description
Imageeditor action pane horizontal padding.
$kendo-image-editor-action-pane-widthNumberif( $kendo-image-editor-content-border-width == 0, 240px, calc( 240px + #{$kendo-image-editor-content-border-width}) )240px
Description
Imageeditor action pane width.
$kendo-image-editor-crop-bgStringinheritinherit
Description
Crop background color of the imageeditor.
$kendo-image-editor-crop-textStringinheritinherit
Description
Crop text color of the imageeditor.
$kendo-image-editor-crop-borderStringif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)var(--kendo-color-app-surface, #ffffff)
Description
Crop border color of the imageeditor.
$kendo-image-editor-crop-overlay-bgColorrgba( $kendo-color-black, .3 )rgba(0, 0, 0, 0.3)
Description
Crop overlay background color of the imageeditor.
$kendo-image-editor-crop-border-widthNumber1px1px
Description
Crop border width of the imageeditor.
$kendo-image-editor-crop-border-styleStringdasheddashed
Description
Crop border style of the imageeditor.
$kendo-image-editor-resize-handle-margin-xStringk-spacing(1px)var(--kendo-spacing-1px, 1px)
Description
Imageeditor resize handle horizontal margin.
$kendo-image-editor-resize-handle-margin-yStringk-spacing(1px)var(--kendo-spacing-1px, 1px)
Description
Imageeditor resize handle vertical margin.
$kendo-image-editor-resize-handle-border-widthList0 2px 2px 00 2px 2px 0
Description
Imageeditor resize handle border width.
$kendo-image-editor-resize-handle-sizeStringk-spacing(4)var(--kendo-spacing-4, 1rem)
Description
Imageeditor resize handle size.
$kendo-image-editor-resize-top-offsetCalculationcalc( #{$kendo-image-editor-resize-handle-size} / 2 )calc(var(--kendo-spacing-4, 1rem) / 2)
Description
Imageeditor resize handle top offset.
$kendo-image-editor-resize-left-offsetCalculationcalc( #{$kendo-image-editor-resize-handle-size} / 2 )calc(var(--kendo-spacing-4, 1rem) / 2)
Description
Imageeditor resize handle left offset.

In this article

Not finding the help you need?