Sass Variables
The Telerik and Kendo UI ColorPalette enables you to configure and customize its appearance through the available Sass variables.
Variable | Default Value | Computed Value | Value |
---|---|---|---|
kendo-color-palette-font-family | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) | Default: var( --kendo-font-family, inherit ) Computed: var(--kendo-font-family, inherit) |
Description: The font family of the ColorPalette. | |||
kendo-color-palette-font-size | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) | Default: var( --kendo-font-size, inherit ) Computed: var(--kendo-font-size, inherit) |
Description: The font size of the ColorPalette. | |||
kendo-color-palette-line-height | 0 | 0 | Default: 0 Computed: 0 |
Description: The line height of the ColorPalette. | |||
kendo-color-palette-tile-width | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) | Default: k-spacing(6) Computed: var(--kendo-spacing-6, 1.5rem) |
Description: The width of the ColorPalette tile. | |||
kendo-color-palette-tile-height | $kendo-color-palette-tile-width | var(--kendo-spacing-6, 1.5rem) | Default: $kendo-color-palette-tile-width Computed: var(--kendo-spacing-6, 1.5rem) |
Description: The height of the ColorPalette tile. | |||
kendo-color-palette-tile-focus-shadow | 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 ) | (0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.5)) | Default: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .5 ) Computed: (0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.5)) |
Description: The shadow of the ColorPalette focused tile. | |||
kendo-color-palette-tile-hover-shadow | 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 ) | (0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.8)) | Default: 0 0 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, .8 ) Computed: (0 0 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px rgba(255, 255, 255, 0.8)) |
Description: The shadow of the ColorPalette hovered tile. | |||
kendo-color-palette-tile-selected-shadow | 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) | (0 1px 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px white) | Default: 0 1px 3px 1px rgba( black, .3 ), inset 0 0 0 1px rgba( white, 1 ) Computed: (0 1px 3px 1px rgba(0, 0, 0, 0.3), inset 0 0 0 1px white) |
Description: The shadow of the ColorPalette selected tile. |