New to Kendo UI for Angular? Start a free 30-day trial
Customizing ColorGradient
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-color-gradient-spacer | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The spacer of the ColorGradient. | |||
$kendo-color-gradient-width | Number | 294px | 294px |
Description
The width of the ColorGradient. | |||
$kendo-color-gradient-border-width | Number | 1px | 1px |
Description
The width of the border around the ColorGradient. | |||
$kendo-color-gradient-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the ColorGradient. | |||
$kendo-color-gradient-padding-y | String | $kendo-color-gradient-spacer | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the ColorGradient. | |||
$kendo-color-gradient-padding-x | String | $kendo-color-gradient-padding-y | var(--kendo-spacing-3, 0.75rem) |
Description
The horizontal padding of the ColorGradient. | |||
$kendo-color-gradient-gap | String | $kendo-color-gradient-spacer | var(--kendo-spacing-3, 0.75rem) |
Description
The spacing between the sections of the ColorGradient. | |||
$kendo-color-gradient-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the ColorGradient. | |||
$kendo-color-gradient-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the ColorGradient. | |||
$kendo-color-gradient-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the ColorGradient. | |||
$kendo-color-gradient-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212121) |
Description
The text color of the ColorGradient. | |||
$kendo-color-gradient-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the ColorGradient. | |||
$kendo-color-gradient-border | String | $kendo-component-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the ColorGradient. | |||
$kendo-color-gradient-focus-border | String | $kendo-hover-border | var(--kendo-color-border, rgba(0, 0, 0, 0.12)) |
Description
The border color of the focused ColorGradient. | |||
$kendo-color-gradient-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 ColorGradient. | |||
$kendo-color-gradient-canvas-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the ColorGradient canvas. | |||
$kendo-color-gradient-canvas-gap | String | $kendo-color-gradient-spacer | var(--kendo-spacing-3, 0.75rem) |
Description
The spacing between the items of the ColorGradient canvas. | |||
$kendo-color-gradient-canvas-rectangle-height | Number | 180px | 180px |
Description
The height the ColorGradient canvas hsv rectangle. | |||
$kendo-color-gradient-slider-track-size | Number | 10px | 10px |
Description
The width of the ColorGradient slider. | |||
$kendo-color-gradient-slider-border-radius | Number | 10px | 10px |
Description
The border radius of the ColorGradient slider. | |||
$kendo-color-gradient-slider-draghandle-border-width | Number | 3px | 3px |
Description
The width of the border around the ColorGradient slider drag handle. | |||
$kendo-color-gradient-slider-vertical-size | Number | 180px | 180px |
Description
The height of the ColorGradient vertical slider. | |||
$kendo-color-gradient-slider-horizontal-size | Number | 100% | 100% |
Description
The width of the ColorGradient horizontal slider. | |||
$kendo-color-gradient-draghandle-width | Number | 14px | 14px |
Description
The width of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-height | Number | 14px | 14px |
Description
The height of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-border-width | Number | 1px | 1px |
Description
The width of the border around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-outline-width | Number | 1px | 1px |
Description
The width of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-border-radius | Number | 50% | 50% |
Description
The border radius of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-text | Null | null | null |
Description
The text color of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-bg | Color | transparent | transparent |
Description
The background color of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-border | Color | rgba( white, .8 ) | rgba(255, 255, 255, 0.8) |
Description
The color of the border around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-shadow | Color | rgba( $kendo-color-black, .5) | rgba(0, 0, 0, 0.5) |
Description
The color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-focus-shadow | Color | $kendo-color-black | #000000 |
Description
The focus color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-hover-shadow | Color | $kendo-color-black | #000000 |
Description
The outline color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-shadow | Color | k-elevation(2) | rgba(0, 0, 0, 0.5) |
Description
The box shadow of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-canvas-draghandle-margin-y | Number | - k-math-div( $kendo-color-gradient-draghandle-height, 2 ) | -7px |
Description
The vertical margin of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-canvas-draghandle-margin-x | Number | - k-math-div( $kendo-color-gradient-draghandle-width, 2 ) | -7px |
Description
The horizontal margin of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-input-width | Number | 50px | 50px |
Description
The width of the ColorGradient input. | |||
$kendo-color-gradient-input-gap | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the ColorGradient inputs. | |||
$kendo-color-gradient-input-label-gap | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The spacing between the ColorGradient inputs and their labels. | |||
$kendo-color-gradient-input-label-text | String | $kendo-subtle-text | var(--kendo-color-subtle, #757575) |
Description
The text color of the ColorGradient input labels. | |||
$kendo-color-gradient-contrast-ratio-font-weight | String | var( --kendo-font-weight-medium, normal ) | var(--kendo-font-weight-medium, normal) |
Description
The font weight of the ColorGradient contrast ratio text. | |||
$kendo-color-gradient-contrast-spacer | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the items in the ColorGradient contrast tool. |