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 | List | $kendo-font-family | Roboto, "Helvetica Neue", sans-serif |
Description
The font family of the Avatar. | |||
$kendo-avatar-font-size | Number | $kendo-font-size-md | 14px |
Description
The font size of the Avatar. | |||
$kendo-avatar-line-height | Number | $kendo-line-height-md | 2 |
Description
The line height of the Avatar. | |||
$kendo-avatar-sizes | Map | (
sm: k-map-get( $kendo-spacing, 4 ),
md: k-map-get( $kendo-spacing, 8 ),
lg: k-map-get( $kendo-spacing, 16 )
) | (sm: 16px, md: 32px, lg: 64px) |
Description
The sizes map of the Avatar. | |||
$kendo-avatar-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 of the Avatar. |