New to Kendo UI for Angular? Start a free 30-day trial
Customizing Toolbar
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-toolbar-sm-padding-x | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The horizontal padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-x | String | k-spacing(2.5) | var(--kendo-spacing-2\.5, 0.625rem) |
Description
The horizontal padding of the large Toolbar. | |||
$kendo-toolbar-sm-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the small Toolbar. | |||
$kendo-toolbar-md-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the medium Toolbar. | |||
$kendo-toolbar-lg-padding-y | String | k-spacing(2.5) | var(--kendo-spacing-2\.5, 0.625rem) |
Description
The vertical padding of the large Toolbar. | |||
$kendo-toolbar-sm-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the tools of the small Toolbar. | |||
$kendo-toolbar-md-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the tools of the medium Toolbar. | |||
$kendo-toolbar-lg-spacing | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the tools of the large Toolbar. | |||
$kendo-toolbar-border-width | Number | 1px | 1px |
Description
The width of the border around the Toolbar. | |||
$kendo-toolbar-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Toolbar. | |||
$kendo-toolbar-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Toolbar. | |||
$kendo-toolbar-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Toolbar. | |||
$kendo-toolbar-bg | String | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | var(--kendo-color-surface, #faf9f8) |
Description
The background color of the Toolbar. | |||
$kendo-toolbar-text | String | var( --kendo-component-text, inherit ) | var(--kendo-component-text, inherit) |
Description
The text color of the Toolbar. | |||
$kendo-toolbar-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The color of the border around the Toolbar. | |||
$kendo-toolbar-separator-border | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 28%, transparent), k-get-theme-color-var( neutral-60 )) | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 28%, transparent) |
Description
The color of the separator border of the Toolbar. | |||
$kendo-toolbar-input-width | Number | 10em | 10em |
Description
The width of the input in the Toolbar. | |||
$kendo-toolbar-item-focus-outline-width | Number | 1px | 1px |
Description
The border width of the focused Toolbar item. | |||
$kendo-toolbar-item-focus-outline-style | String | solid | solid |
Description
The border style of the focused Toolbar item. | |||
$kendo-toolbar-item-focus-outline-color | String | if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-base-emphasis, #605e5c) |
Description
The border color of the focused Toolbar item. | |||
$kendo-toolbar-flat-border-width | Number | 1px | 1px |
Description
Border width of the flat Toolbar. | |||
$kendo-toolbar-sizes | Map | (
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-2, 0.5rem)), 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, 0.5rem))) |
Description
The sizes map for the Toolbar. |