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

Customizing Color-preview

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-color-preview-border-radiusvar( --kendo-border-radius-md, #{$kendo-border-radius-md} )
Description
Border radius of the color preview.
$kendo-color-preview-border-width1px
Description
Border width of the color preview.
$kendo-color-preview-bgtransparent
Description
Default background color of the color preview.
$kendo-color-preview-textinherit
Description
Text color of the color preview.
$kendo-color-preview-borderk-get-theme-color-var( neutral-60 )
Description
Border color of the color preview.
$kendo-color-preview-hover-borderk-get-theme-color-var( neutral-60 )
Description
Hover Border color of the color preview.
$kendo-color-preview-no-color-bg$kendo-color-white
Description
Background color of the color preview when no color is selected.
$kendo-color-preview-no-color-textk-get-theme-color( error, 190 )
Description
Text color of the color preview when no color is selected.
$kendo-color-preview-no-color-bordercurrentColor
Description
Border color of the color preview when no color is selected.

In this article

Not finding the help you need?