New to Kendo UI for Vue? Start a free 30-day trial

Customizing Colorpalette

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-palette-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the ColorPalette.
$kendo-color-palette-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the ColorPalette.
$kendo-color-palette-line-height0
Description
The line height of the ColorPalette.
$kendo-color-palette-tile-outline-width1px
Description
The outline width of the ColorPalette tile.
$kendo-color-palette-tile-outline-stylesolid
Description
The outline style of the ColorPalette tile.
$kendo-color-palette-tile-outlinetransparent
Description
The outline color of the ColorPalette tile.
$kendo-color-palette-tile-widthmap.get( $kendo-spacing, 6 )
Description
The width of the ColorPalette tile.
$kendo-color-palette-tile-height$kendo-color-palette-tile-width
Description
The height of the ColorPalette tile.
$kendo-color-palette-tile-focus-outlineif($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))
Description
The outline color of the ColorPalette focused tile.
$kendo-color-palette-tile-focus-shadowinset 0 0 0 2px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The shadow of the ColorPalette focused tile.
$kendo-color-palette-tile-hover-outlineif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 ))
Description
The outline color of the ColorPalette hovered tile.
$kendo-color-palette-tile-hover-shadowinset 0 0 0 2px $kendo-color-palette-tile-hover-outline, inset 0 0 0 4px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The shadow of the ColorPalette hovered tile.
$kendo-color-palette-tile-selected-outline$kendo-color-palette-tile-hover-outline
Description
The outline color of the ColorPalette selected tile.
$kendo-color-palette-tile-selected-shadow$kendo-color-palette-tile-hover-shadow
Description
The shadow of the ColorPalette selected tile.
$kendo-color-palette-tile-selected-hover-outline$kendo-color-palette-tile-focus-outline
Description
The outline color of the ColorPalette selected hover tile.

In this article

Not finding the help you need?