New to Kendo UI for Vue? Start a free 30-day trial

Customizing Avatar

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-avatar-border-width1px
Description
The border width of the Avatar.
$kendo-avatar-font-familyvar( --kendo-font-family, inherit )
Description
The font family of the Avatar.
$kendo-avatar-font-sizevar( --kendo-font-size, inherit )
Description
The font size of the Avatar.
$kendo-avatar-line-heightvar( --kendo-line-height, inherit )
Description
The line height of the Avatar.
$kendo-avatar-sizes( sm: map.get( $kendo-spacing, 4 ), md: map.get( $kendo-spacing, 8 ), lg: map.get( $kendo-spacing, 16 ) )
Description
The sizes map of the Avatar.
$kendo-avatar-brand-colors( primary: primary, error: error, success: success, info: info, secondary: if($kendo-enable-color-system, secondary, neutral), tertiary: tertiary, )
Description
The theme variations for the Avatar.
$kendo-avatar-theme-colors()
Description
The theme colors map for the Avatar variations.

In this article

Not finding the help you need?