New to Kendo UI for Vue? 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 | Number | k-map-get( $kendo-spacing, 3 ) | 12px |
Description
The spacer of the ColorEditor. | |||
$kendo-color-editor-min-width | Number | 294px | 294px |
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 | Number | $kendo-border-radius-md | 4px |
Description
The border radius of the ColorEditor. | |||
$kendo-color-editor-font-family | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the ColorEditor. | |||
$kendo-color-editor-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the ColorEditor. | |||
$kendo-color-editor-line-height | Number | $kendo-line-height-md | 2 |
Description
The line height of the ColorEditor. | |||
$kendo-color-editor-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
Description
The text color of the ColorEditor. | |||
$kendo-color-editor-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the ColorEditor. | |||
$kendo-color-editor-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.12) |
Description
The border color of the ColorEditor. | |||
$kendo-color-editor-focus-border | Color | $kendo-hover-border | rgba(0, 0, 0, 0.15) |
Description
The border color of the focused ColorEditor. | |||
$kendo-color-editor-focus-shadow | String | $box-shadow-depth-3 | var(--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-y | Number | $kendo-color-editor-spacer | 12px |
Description
The vertical padding of the ColorEditor header. | |||
$kendo-color-editor-header-padding-x | Number | $kendo-color-editor-header-padding-y | 12px |
Description
The horizontal padding of the ColorEditor header. | |||
$kendo-color-editor-header-actions-gap | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The spacing between the ColorEditor header actions. | |||
$kendo-color-editor-color-preview-width | Number | 32px | 32px |
Description
The width of the ColorEditor preview. | |||
$kendo-color-editor-color-preview-height | Number | 12px | 12px |
Description
The height of the ColorEditor preview. | |||
$kendo-color-editor-preview-gap | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The spacing between the colors in the ColorEditor preview. | |||
$kendo-color-editor-views-padding-y | Number | $kendo-color-editor-spacer | 12px |
Description
The vertical padding of the ColorEditor views container. | |||
$kendo-color-editor-views-padding-x | Number | $kendo-color-editor-views-padding-y | 12px |
Description
The horizontal padding of the ColorEditor views container. | |||
$kendo-color-editor-views-gap | Number | $kendo-color-editor-spacer | 12px |
Description
The spacing of the ColorEditor views container. | |||
$kendo-color-editor-color-gradient-focus-outline-color | Color | rgba(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. |