Customizing Tooltip

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-tooltip-border-radiusk-border-radius(md)
Description
The border radius of the Tooltip.
$kendo-tooltip-padding-xk-spacing(2)
Description
The horizontal padding of the Tooltip.
$kendo-tooltip-padding-yk-spacing(2)
Description
The vertical padding of the Tooltip.
$kendo-tooltip-border-width0px
Description
The width of the border around the Tooltip.
$kendo-tooltip-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Tooltip.
$kendo-tooltip-font-sizevar( --kendo-font-size-sm, inherit )
Description
The font size of the Tooltip.
$kendo-tooltip-line-heightvar( --kendo-line-height, normal )
Description
The line height of the Tooltip.
$kendo-tooltip-title-font-sizecalc( var( --kendo-font-size-sm, .75rem ) * 1.25 )
Description
The font size of the Tooltip title.
$kendo-tooltip-title-line-heightvar( --kendo-line-heigh-xs, normal )
Description
The line height of the Tooltip title.
$kendo-tooltip-title-margink-spacing(1)
Description
The margin of the Tooltip title.
$kendo-tooltip-callout-sizek-spacing(2)
Description
The size of the Tooltip callout.
$kendo-tooltip-bgif($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white)
Description
The default background of the Tooltip.
$kendo-tooltip-textvar( --kendo-component-text, initial )
Description
The default text color of the Tooltip.
$kendo-tooltip-bordertransparent
Description
The default border color of the Tooltip.
$kendo-tooltip-shadowvar( --kendo-box-shadow-depth-2, none )
Description
The box-shadow of the Tooltip.
$kendo-tooltip-button-textif($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130, initial ))
Description
The text color of the Tooltip button.

In this article

Not finding the help you need?