Customizing Notification
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-notification-group-gap | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The row-gap between the elements in the Notification group. | |||
$kendo-notification-padding-x | Number | $alert-padding-x | 1rem |
Description
The horizontal padding of the Notification. | |||
$kendo-notification-padding-y | Number | $alert-padding-y | 1rem |
Description
The vertical padding of the Notification. | |||
$kendo-notification-border-width | Number | $alert-border-width | 1px |
Description
The width of the border around the Notification. | |||
$kendo-notification-border-radius | Number | $alert-border-radius | 0.375rem |
Description
The border radius of the Notification. | |||
$kendo-notification-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Notification. | |||
$kendo-notification-font-size | String | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) |
Description
The font size of the Notification. | |||
$kendo-notification-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Notification. | |||
$kendo-notification-bg | String | $kendo-component-bg | var(--kendo-color-surface-alt, #ffffff) |
Description
The background color of the Notification. | |||
$kendo-notification-text | String | $kendo-component-text | var(--kendo-color-on-app-surface, #212529) |
Description
The text color of the Notification. | |||
$kendo-notification-border | String | $kendo-component-border | var(--kendo-color-border, rgba(33, 37, 41, 0.13)) |
Description
The border color of the Notification. | |||
$kendo-notification-shadow | String | $kendo-popup-shadow | var(--kendo-elevation-4, 0px 6px 13px rgba(0, 0, 0, 0.125)) |
Description
The box shadow of the Notification. | |||
$kendo-notification-icon-spacing | String | $kendo-icon-spacing | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal spacing of the Notification icon. | |||
$kendo-notification-theme-colors | Map | $kendo-theme-colors |
|
Description
The theme colors map for the Notification. | |||
$kendo-notification-theme | Map | notification-theme( $kendo-notification-theme-colors ) |
|
Description
The generated theme colors map for the Notification. |