Customizing Avatar
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-avatar-border-width | Number | 1px | 1px |
Description
The border width of the Avatar. | |||
$kendo-avatar-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Avatar. | |||
$kendo-avatar-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Avatar. | |||
$kendo-avatar-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Avatar. | |||
$kendo-avatar-sizes | Map | (
sm: k-spacing(4),
md: k-spacing(8),
lg: k-spacing(16)
) | (sm: var(--kendo-spacing-4, 1rem), md: var(--kendo-spacing-8, 2rem), lg: var(--kendo-spacing-16, 4rem)) |
Description
The sizes map of the Avatar. | |||
$kendo-avatar-theme-colors | Map | $kendo-theme-colors | ("primary": var(--kendo-color-primary, #3f51b5), "secondary": var(--kendo-color-secondary, #e51a5f), "tertiary": var(--kendo-color-tertiary, #00695c), "info": var(--kendo-color-info, #0058e9), "success": var(--kendo-color-success, #37b400), "warning": var(--kendo-color-warning, #ffc000), "error": var(--kendo-color-error, #f31700), "dark": var(--kendo-color-dark, #424242), "light": var(--kendo-color-light, #f5f5f5), "inverse": var(--kendo-color-dark, #424242)) |
Description
The theme colors map of the Avatar. |