New to Kendo UI for Angular? Start a free 30-day trial
Customizing Coloreditor
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-color-editor-spacer | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacer of the ColorEditor. | |||
$kendo-color-editor-min-width | Number | 260px | 260px |
Description
The minimum width of the ColorEditor. | |||
$kendo-color-editor-border-width | Number | 1px | 1px |
Description
The width of the border around the ColorEditor. | |||
$kendo-color-editor-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the ColorEditor. | |||
$kendo-color-editor-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the ColorEditor. | |||
$kendo-color-editor-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the ColorEditor. | |||
$kendo-color-editor-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the ColorEditor. | |||
$kendo-color-editor-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the ColorEditor. | |||
$kendo-color-editor-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the ColorEditor. | |||
$kendo-color-editor-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the ColorEditor. | |||
$kendo-color-editor-shadow | String | var( --kendo-box-shadow-depth-2, none ) | var(--kendo-box-shadow-depth-2, none) |
Description
The box shadow of the ColorEditor. | |||
$kendo-color-editor-focus-border | String | if($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-shadow | String | var( --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-y | String | $kendo-color-editor-spacer | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the ColorEditor header. | |||
$kendo-color-editor-header-padding-x | String | $kendo-color-editor-header-padding-y | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the ColorEditor header. | |||
$kendo-color-editor-header-actions-spacing | Calculation | calc( #{$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-width | Number | 34px | 34px |
Description
The width of the ColorEditor preview. | |||
$kendo-color-editor-color-preview-height | Number | 14px | 14px |
Description
The height of the ColorEditor preview. | |||
$kendo-color-editor-preview-spacing | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The spacing between the colors in the ColorEditor preview. | |||
$kendo-color-editor-views-padding-y | String | $kendo-color-editor-spacer | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the ColorEditor views container. | |||
$kendo-color-editor-views-padding-x | String | $kendo-color-editor-views-padding-y | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the ColorEditor views container. | |||
$kendo-color-editor-views-spacing | String | $kendo-color-editor-spacer | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing of the ColorEditor views container. | |||
$kendo-color-editor-footer-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the ColorEditor footer. | |||
$kendo-color-editor-footer-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the ColorEditor footer. | |||
$kendo-color-editor-color-gradient-focus-outline-color | Color | rgba(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-outline | Number | 2px | 2px |
Description
The outline width of the focused ColorGradient. | |||
$kendo-color-editor-color-gradient-focus-outline-offset | Number | 2px | 2px |
Description
The outline offset of the focused ColorGradient. |