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(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The spacer of the ColorEditor. | |||
$kendo-color-editor-min-width | Number | 272px | 272px |
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 | $kendo-component-text | var(--kendo-color-on-app-surface, #3d3d3d) |
Description
The text color of the ColorEditor. | |||
$kendo-color-editor-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the ColorEditor. | |||
$kendo-color-editor-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.08)) |
Description
The border color of the ColorEditor. | |||
$kendo-color-editor-focus-border | Null | null | null |
Description
The border color of the focused ColorEditor. | |||
$kendo-color-editor-focus-shadow | Null | null | null |
Description
The box shadow of the focused ColorEditor. | |||
$kendo-color-editor-header-padding-y | String | $kendo-color-editor-spacer | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the ColorEditor header. | |||
$kendo-color-editor-header-padding-x | String | $kendo-color-editor-header-padding-y | var(--kendo-spacing-3, 0.75rem) |
Description
The horizontal padding of the ColorEditor header. | |||
$kendo-color-editor-header-actions-gap | Calculation | calc( #{$kendo-color-editor-spacer} / 1.5 ) | calc(var(--kendo-spacing-3, 0.75rem) / 1.5) |
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 | 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-3, 0.75rem) |
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-3, 0.75rem) |
Description
The horizontal padding of the ColorEditor views container. | |||
$kendo-color-editor-views-gap | String | $kendo-color-editor-spacer | var(--kendo-spacing-3, 0.75rem) |
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 | 4px | 4px |
Description
The outline offset of the focused ColorGradient. |