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 | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The horizontal padding of the AppBar. | |||
$kendo-appbar-padding-y | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
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 | $kendo-font-family | inherit |
Description
The font family of the AppBar. | |||
$kendo-appbar-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the AppBar. | |||
$kendo-appbar-line-height | Number | $kendo-line-height-md | 1.4285714286 |
Description
The line height of the AppBar. | |||
$kendo-appbar-gap | Number | k-map-get( $kendo-spacing, 2 ) | 8px |
Description
The spacing between the AppBar sections. | |||
$kendo-appbar-light-bg | Color | $kendo-color-light | #ebebeb |
Description
The background color of the AppBar based on light theme color. | |||
$kendo-appbar-light-text | Color | k-contrast-legacy( $kendo-color-light ) | black |
Description
The text color of the AppBar based on light theme color. | |||
$kendo-appbar-dark-bg | Color | $kendo-color-dark | #424242 |
Description
The background color of the AppBar based on dark theme color. | |||
$kendo-appbar-dark-text | Color | k-contrast-legacy( $kendo-color-dark ) | white |
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. |