New to Kendo UI for Angular? Start a free 30-day trial
Customizing Appbar
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-appbar-margin-x | Null | null | null |
Description
The horizontal margin of the AppBar. | |||
$kendo-appbar-margin-y | Null | null | null |
Description
The vertical margin of the AppBar. | |||
$kendo-appbar-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the AppBar. | |||
$kendo-appbar-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the AppBar. | |||
$kendo-appbar-border-width | Number | 0px | 0px |
Description
The width of the border around the AppBar. | |||
$kendo-appbar-zindex | Number | 1000 | 1000 |
Description
The z-index of the AppBar. | |||
$kendo-appbar-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the AppBar. | |||
$kendo-appbar-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the AppBar. | |||
$kendo-appbar-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the AppBar. | |||
$kendo-appbar-gap | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The spacing between the AppBar sections. | |||
$kendo-appbar-light-bg | String | $kendo-color-light | var(--kendo-color-light, #ebebeb) |
Description
The background color of the AppBar based on light theme color. | |||
$kendo-appbar-light-text | String | if($kendo-enable-color-system, k-color( on-light ), k-contrast-legacy( $kendo-color-light )) | var(--kendo-color-on-light, #000000) |
Description
The text color of the AppBar based on light theme color. | |||
$kendo-appbar-dark-bg | String | $kendo-color-dark | var(--kendo-color-dark, #3d3d3d) |
Description
The background color of the AppBar based on dark theme color. | |||
$kendo-appbar-dark-text | String | if($kendo-enable-color-system, k-color( on-dark ), k-contrast-legacy( $kendo-color-dark )) | var(--kendo-color-on-dark, #ffffff) |
Description
The text color of the AppBar based on dark theme color. | |||
$kendo-appbar-box-shadow | String | k-elevation(4) | var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The box shadow of the AppBar. | |||
$kendo-appbar-bottom-box-shadow | String | $kendo-appbar-box-shadow | var(--kendo-elevation-4, 0 8px 10px rgba(0, 0, 0, 0.12), 0 4px 16px rgba(0, 0, 0, 0.12)) |
Description
The box shadow of the AppBar with bottom position. |