New to Kendo UI for Angular? Start a free 30-day trial
Customizing Notification
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-notification-padding-x | Number | 16px | 16px |
Description
The horizontal padding of the Notification. | |||
$kendo-notification-padding-y | Number | 14px | 14px |
Description
The vertical padding of the Notification. | |||
$kendo-notification-border-width | Number | 0px | 0px |
Description
The width of the border around the Notification. | |||
$kendo-notification-border-radius | Number | k-map-get( $kendo-spacing, 1 ) | 4px |
Description
The border radius of the Notification. | |||
$kendo-notification-font-family | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the Notification. | |||
$kendo-notification-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Notification. | |||
$kendo-notification-line-height | Number | k-math-div( 20, 14 ) | 1.4285714286 |
Description
The line height of the Notification. | |||
$kendo-notification-bg | Color | $kendo-component-bg | #ffffff |
Description
The background color of the Notification. | |||
$kendo-notification-text | Color | $kendo-component-text | rgba(0, 0, 0, 0.87) |
Description
The text color of the Notification. | |||
$kendo-notification-border | Color | $kendo-component-border | rgba(0, 0, 0, 0.12) |
Description
The border color of the Notification. | |||
$kendo-notification-shadow | String | $kendo-popup-shadow | var(--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-spacing | Number | $kendo-icon-spacing | 8px |
Description
The horizontal spacing of the Notification icon. | |||
$kendo-notification-theme-colors | Map | $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-theme | Map | notification-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. |