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 | map.get( $kendo-spacing, 2 ) | ||
Description
The spacer of the ColorEditor. | |||
$kendo-color-editor-min-width | 260px | ||
Description
The minimum width of the ColorEditor. | |||
$kendo-color-editor-border-width | 1px | ||
Description
The width of the border around the ColorEditor. | |||
$kendo-color-editor-border-radius | var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) | ||
Description
The border radius of the ColorEditor. | |||
$kendo-color-editor-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the ColorEditor. | |||
$kendo-color-editor-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the ColorEditor. | |||
$kendo-color-editor-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the ColorEditor. | |||
$kendo-color-editor-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the ColorEditor. | |||
$kendo-color-editor-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the ColorEditor. | |||
$kendo-color-editor-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the ColorEditor. | |||
$kendo-color-editor-shadow | var( --kendo-box-shadow-depth-2, none ) | ||
Description
The box shadow of the ColorEditor. | |||
$kendo-color-editor-focus-border | k-get-theme-color-var( neutral-20 ) | ||
Description
The border color of the focused ColorEditor. | |||
$kendo-color-editor-focus-shadow | var( --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-spacing | math.div( $kendo-color-editor-spacer, 2 ) | ||
Description
The spacing between the ColorEditor header actions. | |||
$kendo-color-editor-color-preview-width | 34px | ||
Description
The width of the ColorEditor preview. | |||
$kendo-color-editor-color-preview-height | 14px | ||
Description
The height of the ColorEditor preview. | |||
$kendo-color-editor-preview-spacing | map.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-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the ColorEditor footer. | |||
$kendo-color-editor-footer-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the ColorEditor footer. | |||
$kendo-color-editor-color-gradient-focus-outline-color | rgba(0, 0, 0, 0.3) | ||
Description
The outline color of the focused ColorGradient. | |||
$kendo-color-editor-color-gradient-focus-outline | 2px | ||
Description
The outline width of the focused ColorGradient. | |||
$kendo-color-editor-color-gradient-focus-outline-offset | 2px | ||
Description
The outline offset of the focused ColorGradient. |