Customizing Colorpalette

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-palette-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the ColorPalette.
$kendo-color-palette-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the ColorPalette.
$kendo-color-palette-line-heightNumber00
Description
The line height of the ColorPalette.
$kendo-color-palette-tile-outline-widthNumber1px1px
Description
The outline width of the ColorPalette tile.
$kendo-color-palette-tile-outline-styleStringsolidsolid
Description
The outline style of the ColorPalette tile.
$kendo-color-palette-tile-outlineColortransparenttransparent
Description
The outline color of the ColorPalette tile.
$kendo-color-palette-tile-widthStringk-spacing(6)var(--kendo-spacing-6, 1.5rem)
Description
The width of the ColorPalette tile.
$kendo-color-palette-tile-heightString$kendo-color-palette-tile-widthvar(--kendo-spacing-6, 1.5rem)
Description
The height of the ColorPalette tile.
$kendo-color-palette-tile-focus-outlineStringif($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 ))var(--kendo-color-base-emphasis, #605e5c)
Description
The outline color of the ColorPalette focused tile.
$kendo-color-palette-tile-focus-shadowListinset 0 0 0 2px if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)inset 0 0 0 2px var(--kendo-color-app-surface, #ffffff)
Description
The shadow of the ColorPalette focused tile.
$kendo-color-palette-tile-hover-outlineStringif($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 10%, transparent), k-get-theme-color-var( neutral-20 ))color-mix(in srgb, var(--kendo-color-border, #8a8886) 10%, transparent)
Description
The outline color of the ColorPalette hovered tile.
$kendo-color-palette-tile-hover-shadowListinset 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)inset 0 0 0 2px color-mix(in srgb, var(--kendo-color-border, #8a8886) 10%, transparent), inset 0 0 0 4px var(--kendo-color-app-surface, #ffffff)
Description
The shadow of the ColorPalette hovered tile.
$kendo-color-palette-tile-selected-outlineString$kendo-color-palette-tile-hover-outlinecolor-mix(in srgb, var(--kendo-color-border, #8a8886) 10%, transparent)
Description
The outline color of the ColorPalette selected tile.
$kendo-color-palette-tile-selected-shadowList$kendo-color-palette-tile-hover-shadowinset 0 0 0 2px color-mix(in srgb, var(--kendo-color-border, #8a8886) 10%, transparent), inset 0 0 0 4px var(--kendo-color-app-surface, #ffffff)
Description
The shadow of the ColorPalette selected tile.
$kendo-color-palette-tile-selected-hover-outlineString$kendo-color-palette-tile-focus-outlinevar(--kendo-color-base-emphasis, #605e5c)
Description
The outline color of the ColorPalette selected hover tile.

In this article

Not finding the help you need?