New to Kendo UI for Vue? 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 | $alert-padding-x | 1rem |
Description
Vertical padding of the notification container. | |||
$kendo-notification-padding-y | Number | $alert-padding-y | 1rem |
Description
Horizontal padding of the notification. | |||
$kendo-notification-border-width | Number | $alert-border-width | 1px |
Description
Width of the border around the notification. | |||
$kendo-notification-border-radius | Number | $alert-border-radius | 0.375rem |
Description
Border radius of the notification. | |||
$kendo-notification-shadow | List | $kendo-popup-shadow | 0 2px 4px 0 rgba(0, 0, 0, 0.03), 0 4px 5px 0 rgba(0, 0, 0, 0.04) |
Description
Box shadow of the notification. | |||
$kendo-notification-font-family | List | $kendo-font-family | system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji" |
Description
Font family of the notification. | |||
$kendo-notification-font-size | Number | $kendo-font-size-sm | 0.875rem |
Description
Font size of the notification. | |||
$kendo-notification-line-height | Number | $kendo-line-height-md | 1.5 |
Description
Line height of the notification. | |||
$kendo-notification-icon-spacing | Number | $kendo-icon-spacing | 0.5rem |
Description
Horizontal spacing of the notification icon. | |||
$kendo-notification-bg | Color | $kendo-component-bg | #ffffff |
Description
Background color of the notification. | |||
$kendo-notification-text | Color | $kendo-component-text | #212529 |
Description
Text color of the notification. | |||
$kendo-notification-border | Color | $kendo-component-border | #dee2e6 |
Description
Border color of the notification. | |||
$kendo-notification-theme-colors | Map | $kendo-theme-colors | ("primary": #0d6efd, "secondary": #6c757d, "tertiary": #6f42c1, "info": #0dcaf0, "success": #198754, "warning": #ffc107, "error": #dc3545, "dark": #212529, "light": #f8f9fa, "inverse": #212529) |
Description
Theme colors of the notification. |