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

Customizing Notification

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-notification-group-gapNumberk-map-get( $kendo-spacing, 2 )8px
Description
The row-gap between the elements in the Notification group.
$kendo-notification-padding-xNumber16px16px
Description
The horizontal padding of the Notification.
$kendo-notification-padding-yNumber14px14px
Description
The vertical padding of the Notification.
$kendo-notification-border-widthNumber0px0px
Description
The width of the border around the Notification.
$kendo-notification-border-radiusNumberk-map-get( $kendo-spacing, 1 )4px
Description
The border radius of the Notification.
$kendo-notification-font-familyList$kendo-font-familyRoboto, "Helvetica Neue", sans-serif
Description
The font family of the Notification.
$kendo-notification-font-sizeNumber$kendo-font-size-md14px
Description
The font size of the Notification.
$kendo-notification-line-heightNumberk-math-div( 20, 14 )1.4285714286
Description
The line height of the Notification.
$kendo-notification-bgColor$kendo-component-bg#ffffff
Description
The background color of the Notification.
$kendo-notification-textColor$kendo-component-textrgba(0, 0, 0, 0.87)
Description
The text color of the Notification.
$kendo-notification-borderColor$kendo-component-borderrgba(0, 0, 0, 0.12)
Description
The border color of the Notification.
$kendo-notification-shadowString$kendo-popup-shadowvar(--kendo-elevation-4, 0px 2px 4px 0px rgba(0, 0, 0, 0.2), 0px 1px 10px 0px rgba(0, 0, 0, 0.12), 0px 4px 5px 0px rgba(0, 0, 0, 0.14))
Description
The box shadow of the Notification.
$kendo-notification-icon-spacingNumber$kendo-icon-spacing8px
Description
The horizontal spacing of the Notification icon.
$kendo-notification-theme-colorsMap$kendo-theme-colors("primary": #3f51b5, "secondary": #e51a5f, "tertiary": #00695c, "info": #0058e9, "success": #37b400, "warning": #ffc000, "error": #f31700, "dark": #424242, "light": #f5f5f5, "inverse": #424242)
Description
The theme colors map for the Notification.
$kendo-notification-themeMapnotification-theme( $kendo-notification-theme-colors )("inverse": (color: white, background-color: #424242, border: #424242), "light": (color: black, background-color: #f5f5f5, border: #f5f5f5), "dark": (color: white, background-color: #424242, border: #424242), "error": (color: black, background-color: #f31700, border: #f31700), "warning": (color: black, background-color: #ffc000, border: #ffc000), "success": (color: black, background-color: #37b400, border: #37b400), "info": (color: white, background-color: #0058e9, border: #0058e9), "tertiary": (color: white, background-color: #00695c, border: #00695c), "secondary": (color: white, background-color: #e51a5f, border: #e51a5f), "primary": (color: white, background-color: #3f51b5, border: #3f51b5))
Description
The generated theme colors map for the Notification.

In this article

Not finding the help you need?