New to Kendo UI for Angular? Start a free 30-day trial
Customizing Cologradient
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-color-gradient-spacer | map.get( $kendo-spacing, 4 ) | ||
Description
The spacer of the ColorGradient. | |||
$kendo-color-gradient-width | 260px | ||
Description
The width of the ColorGradient. | |||
$kendo-color-gradient-border-width | 2px | ||
Description
The width of the border around the ColorGradient. | |||
$kendo-color-gradient-border-radius | var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) | ||
Description
The border radius of the ColorGradient. | |||
$kendo-color-gradient-padding-y | $kendo-color-gradient-spacer | ||
Description
The vertical padding of the ColorGradient. | |||
$kendo-color-gradient-padding-x | math.div( $kendo-color-gradient-spacer, 2 ) | ||
Description
The horizontal padding of the ColorGradient. | |||
$kendo-color-gradient-spacing | $kendo-color-gradient-spacer | ||
Description
The spacing between the sections of the ColorGradient. | |||
$kendo-color-gradient-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the ColorGradient. | |||
$kendo-color-gradient-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the ColorGradient. | |||
$kendo-color-gradient-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the ColorGradient. | |||
$kendo-color-gradient-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the ColorGradient. | |||
$kendo-color-gradient-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the ColorGradient. | |||
$kendo-color-gradient-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the ColorGradient. | |||
$kendo-color-gradient-shadow | var( --kendo-box-shadow-depth-2, none ) | ||
Description
The box shadow of the ColorGradient. | |||
$kendo-color-gradient-focus-border | k-get-theme-color-var( neutral-20 ) | ||
Description
The border color of the focused ColorGradient. | |||
$kendo-color-gradient-focus-shadow | var( --kendo-box-shadow-depth-3, none ) | ||
Description
The box shadow of the focused ColorGradient. | |||
$kendo-color-gradient-canvas-border-width | 0 | ||
Description
The width of the border around the ColorGradient canvas. | |||
$kendo-color-gradient-canvas-border-radius | var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) | ||
Description
The border radius of the ColorGradient canvas. | |||
$kendo-color-gradient-canvas-spacing | math.div( $kendo-color-gradient-spacer, 2 ) | ||
Description
The spacing between the items of the ColorGradient canvas. | |||
$kendo-color-gradient-canvas-rectangle-height | 180px | ||
Description
The height the ColorGradient canvas hsv rectangle. | |||
$kendo-color-gradient-canvas-rectangle-border | k-get-theme-color-var( neutral-30 ) | ||
Description
The border color of the ColorGradient canvas hsv rectangle. | |||
$kendo-color-gradient-canvas-draghandle-shadow | var( --kendo-box-shadow-depth-2, none ) | ||
Description
The box shadow of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-slider-track-size | 20px | ||
Description
The width of the ColorGradient slider. | |||
$kendo-color-gradient-slider-border-radius | var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) | ||
Description
The border radius of the ColorGradient slider. | |||
$kendo-color-gradient-slider-border-width | 1px | ||
Description
The width of the border around the ColorGradient slider. | |||
$kendo-color-gradient-slider-border | k-get-theme-color-var( neutral-30 ) | ||
Description
The color of the border around the ColorGradient slider. | |||
$kendo-color-gradient-slider-vertical-size | 180px | ||
Description
The height of the ColorGradient vertical slider. | |||
$kendo-color-gradient-slider-horizontal-size | 100% | ||
Description
The width of the ColorGradient horizontal slider. | |||
$kendo-color-gradient-slider-alpha-bgr | "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAuSURBVHgBxYyxDQAwDMJIL+YT+DjtzFRliUfLcklqBCRT4eCTxbD6kdL2/LgYXqpvCbs3kBv/AAAAAElFTkSuQmCC" | ||
Description
The background image of the ColorGradient alpha slider. | |||
$kendo-color-gradient-draghandle-width | 20px | ||
Description
The width of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-height | 20px | ||
Description
The height of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-border-width | 2px | ||
Description
The width of the border around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-outline-width | 1px | ||
Description
The width of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-border | $kendo-color-white | ||
Description
The color of the border around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-shadow | k-get-theme-color-var( neutral-110 ) | ||
Description
The color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-shadow | var( --kendo-box-shadow-depth-2, none ) | ||
Description
The box shadow of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-focus-border | $kendo-color-white | ||
Description
The color of the border around the focused ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-focus-shadow | k-get-theme-color-var( neutral-130 ) | ||
Description
The focus color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-draghandle-hover-shadow | k-get-theme-color-var( neutral-130 ) | ||
Description
The hover color of the outline around the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-canvas-draghandle-offset-y | ( -1 * math.div( $kendo-color-gradient-draghandle-height, 2 ) ) | ||
Description
The vertical offset of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-canvas-draghandle-offset-x | ( -1 * math.div( $kendo-color-gradient-draghandle-width, 2 ) ) | ||
Description
The horizontal offset of the ColorGradient canvas drag handle. | |||
$kendo-color-gradient-input-width | 48px | ||
Description
The width of the ColorGradient input. | |||
$kendo-color-gradient-input-spacing | math.div( $kendo-color-gradient-spacer, 4 ) | ||
Description
The spacing between the ColorGradient inputs. | |||
$kendo-color-gradient-input-label-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the ColorGradient input labels. | |||
$kendo-color-gradient-input-label-spacing | math.div( $kendo-color-gradient-spacer, 4 ) | ||
Description
The spacing between the ColorGradient inputs and their labels. | |||
$kendo-color-gradient-input-label-text | var( --kendo-subtle-text, inherit ) | ||
Description
The text color of the ColorGradient input labels. | |||
$kendo-color-gradient-contrast-ratio-font-weight | var( --kendo-font-weight-bold, normal ) | ||
Description
The font weight of the ColorGradient contrast ratio text. | |||
$kendo-color-gradient-contrast-spacing | math.div( $kendo-color-gradient-spacer, 1.5 ) | ||
Description
The spacing between the items in the ColorGradient contrast tool. |