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-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, #dee2e6) |
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 | ("primary": var(--kendo-color-primary, #0d6efd), "secondary": var(--kendo-color-secondary, #6c757d), "tertiary": var(--kendo-color-tertiary, #6f42c1), "info": var(--kendo-color-info, #0dcaf0), "success": var(--kendo-color-success, #146c43), "warning": var(--kendo-color-warning, #ffc107), "error": var(--kendo-color-error, #dc3545), "dark": var(--kendo-color-dark, #212529), "light": var(--kendo-color-light, #f8f9fa), "inverse": var(--kendo-color-dark, #212529)) |
Description
The theme colors map for the Notification. | |||
$kendo-notification-theme | Map | notification-theme( $kendo-notification-theme-colors ) | ("inverse": (color: var(--kendo-color-inverse-on-subtle, #ffffff), background-color: var(--kendo-color-inverse-subtle, #6c757d), border: var(--kendo-color-inverse-emphasis, #343a40)), "light": (color: var(--kendo-color-light-on-subtle, #343a40), background-color: var(--kendo-color-light-subtle, #f8f9fa), border: var(--kendo-color-light-emphasis, #bdc4cb)), "dark": (color: var(--kendo-color-dark-on-subtle, #ffffff), background-color: var(--kendo-color-dark-subtle, #6c757d), border: var(--kendo-color-dark-emphasis, #343a40)), "error": (color: var(--kendo-color-error-on-subtle, #421015), background-color: var(--kendo-color-error-subtle, #f8d7da), border: var(--kendo-color-error-emphasis, #e35d6a)), "warning": (color: var(--kendo-color-warning-on-subtle, #523e02), background-color: var(--kendo-color-warning-subtle, #ffecb5), border: var(--kendo-color-warning-emphasis, #ffcd39)), "success": (color: var(--kendo-color-success-on-subtle, #08291a), background-color: var(--kendo-color-success-subtle, #d1e7dd), border: var(--kendo-color-success-emphasis, #479f76)), "info": (color: var(--kendo-color-info-on-subtle, #04414d), background-color: var(--kendo-color-info-subtle, #cff4fc), border: var(--kendo-color-info-emphasis, #3dd5f3)), "tertiary": (color: var(--kendo-color-tertiary-on-subtle, #21143b), background-color: var(--kendo-color-tertiary-subtle, #e2d9f3), border: var(--kendo-color-tertiary-emphasis, #a98eda)), "secondary": (color: var(--kendo-color-secondary-on-subtle, #212529), background-color: var(--kendo-color-secondary-subtle, #dee2e6), border: var(--kendo-color-secondary-emphasis, #8d959d)), "primary": (color: var(--kendo-color-primary-on-subtle, #052c65), background-color: var(--kendo-color-primary-subtle, #cfe2ff), border: var(--kendo-color-primary-emphasis, #6ea8fe))) |
Description
The generated theme colors map for the Notification. |