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

Customizing Toolbar

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-toolbar-padding-xNullnullnull
Description
The horizontal padding of the Toolbar.
$kendo-toolbar-sm-padding-xStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The horizontal padding of the small Toolbar.
$kendo-toolbar-md-padding-xStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the medium Toolbar.
$kendo-toolbar-lg-padding-xStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The horizontal padding of the large Toolbar.
$kendo-toolbar-padding-yNullnullnull
Description
The vertical padding of the Toolbar.
$kendo-toolbar-sm-padding-yStringk-spacing(1)var(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the small Toolbar.
$kendo-toolbar-md-padding-yStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The vertical padding of the medium Toolbar.
$kendo-toolbar-lg-padding-yStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The vertical padding of the large Toolbar.
$kendo-toolbar-spacingNullnullnull
Description
The spacing between the Toolbar tools.
$kendo-toolbar-sm-spacingStringk-spacing(1.5)var(--kendo-spacing-1\.5, 0.375rem)
Description
The spacing between the tools of the small Toolbar.
$kendo-toolbar-md-spacingStringk-spacing(2)var(--kendo-spacing-2, 0.5rem)
Description
The spacing between the tools of the medium Toolbar.
$kendo-toolbar-lg-spacingStringk-spacing(2.5)var(--kendo-spacing-2\.5, 0.625rem)
Description
The spacing between the tools of the large Toolbar.
$kendo-toolbar-border-widthNumber1px1px
Description
The width of the border around the Toolbar.
$kendo-toolbar-border-radiusNullnullnull
Description
The border radius of the Toolbar.
$kendo-toolbar-font-familyStringvar( --kendo-font-family, inherit )var(--kendo-font-family, inherit)
Description
The font family of the Toolbar.
$kendo-toolbar-font-sizeStringvar( --kendo-font-size, inherit )var(--kendo-font-size, inherit)
Description
The font size of the Toolbar.
$kendo-toolbar-line-heightStringvar( --kendo-line-height, normal )var(--kendo-line-height, normal)
Description
The line height of the Toolbar.
$kendo-toolbar-bgString$kendo-base-bgvar(--kendo-color-surface, #fafafa)
Description
The background color of the Toolbar.
$kendo-toolbar-textString$kendo-base-textvar(--kendo-color-on-app-surface, #3d3d3d)
Description
The text color of the Toolbar.
$kendo-toolbar-borderString$kendo-base-bordervar(--kendo-color-border, rgba(0, 0, 0, 0.08))
Description
The color of the border around the Toolbar.
$kendo-toolbar-gradientNullnullnull
Description
The gradient of the Toolbar.
$kendo-toolbar-shadowNullnullnull
Description
The box shadow of the Toolbar.
$kendo-toolbar-separator-borderStringinheritinherit
Description
The color of the separator border of the Toolbar.
$kendo-toolbar-input-widthNumber10em10em
Description
The width of the input in the Toolbar.
$kendo-toolbar-item-shadowList$kendo-button-focus-shadow0 0 0 2px color-mix(in srgb, var(--kendo-color-on-app-surface, #3d3d3d) 8%, transparent)
Description
The box shadow of the focused Toolbar item.
$kendo-toolbar-flat-border-widthNumber1px1px
Description
Border width of the flat Toolbar.
$kendo-toolbar-sizesMap( sm: ( padding-x: $kendo-toolbar-sm-padding-x, padding-y: $kendo-toolbar-sm-padding-y, spacing: $kendo-toolbar-sm-spacing ), md: ( padding-x: $kendo-toolbar-md-padding-x, padding-y: $kendo-toolbar-md-padding-y, spacing: $kendo-toolbar-md-spacing ), lg: ( padding-x: $kendo-toolbar-lg-padding-x, padding-y: $kendo-toolbar-lg-padding-y, spacing: $kendo-toolbar-lg-spacing ) )(sm: (padding-x: var(--kendo-spacing-1, 0.25rem), padding-y: var(--kendo-spacing-1, 0.25rem), spacing: var(--kendo-spacing-1\.5, 0.375rem)), md: (padding-x: var(--kendo-spacing-2, 0.5rem), padding-y: var(--kendo-spacing-2, 0.5rem), spacing: var(--kendo-spacing-2, 0.5rem)), lg: (padding-x: var(--kendo-spacing-2\.5, 0.625rem), padding-y: var(--kendo-spacing-2\.5, 0.625rem), spacing: var(--kendo-spacing-2\.5, 0.625rem)))
Description
The sizes map for the Toolbar.

In this article

Not finding the help you need?