New to Kendo UI for Angular? Start a free 30-day trial
Customizing Orgchart
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-orgchart-spacer | map.get( $kendo-spacing, 6) | ||
Description
Spacing index of the orgchart. | |||
$kendo-orgchart-padding-y | $kendo-orgchart-spacer | ||
Description
Vertical padding of the orgchart. | |||
$kendo-orgchart-padding-x | $kendo-orgchart-padding-y | ||
Description
Horizontal padding of the orgchart. | |||
$kendo-orgchart-font-family | var( --kendo-font-family, inherit ) | ||
Description
Font family of the orgchart. | |||
$kendo-orgchart-font-size | var( --kendo-font-size, inherit ) | ||
Description
Font size of the orgchart. | |||
$kendo-orgchart-line-height | var( --kendo-line-height, normal ) | ||
Description
Line height of the orgchart. | |||
$kendo-orgchart-bg | var( --kendo-component-bg, initial ) | ||
Description
Background color of the orgchart. | |||
$kendo-orgchart-text | var( --kendo-component-text, initial ) | ||
Description
Text color of the orgchart. | |||
$kendo-orgchart-border | var( --kendo-component-border, initial ) | ||
Description
Border color of the orgchart. | |||
$kendo-orgchart-node-spacing | $kendo-orgchart-spacer | ||
Description
Spacing of the orgchart node. | |||
$kendo-orgchart-group-spacing | $kendo-orgchart-spacer | ||
Description
Spacing of the orgchart group. | |||
$kendo-orgchart-node-container-spacing | $kendo-orgchart-spacer | ||
Description
Spacing of the orgchart node container. | |||
$kendo-orgchart-node-group-padding-y | $kendo-orgchart-spacer | ||
Description
Vertical padding of the orgchart node group. | |||
$kendo-orgchart-node-group-padding-x | $kendo-orgchart-node-group-padding-y | ||
Description
Horizontal padding of the orgchart node group. | |||
$kendo-orgchart-node-group-border-width | 1px | ||
Description
Border width of the orgchart node group. | |||
$kendo-orgchart-node-group-border-radius | var( --kendo-border-radius-md, #{$kendo-border-radius-md} ) | ||
Description
Border radius of the orgchart node group. | |||
$kendo-orgchart-node-group-bg | k-get-theme-color-var( neutral-10 ) | ||
Description
Background color of the orgchart node group. | |||
$kendo-orgchart-node-group-text | k-get-theme-color-var( neutral-190 ) | ||
Description
Text color of the orgchart node group. | |||
$kendo-orgchart-node-group-border | k-get-theme-color-var( neutral-30 ) | ||
Description
Border color of the orgchart node group. | |||
$kendo-orgchart-node-group-focus-border | $kendo-card-focus-border | ||
Description
Focus border color of the orgchart node group. | |||
$kendo-orgchart-node-group-focus-shadow | $kendo-card-focus-shadow | ||
Description
Focus shadow of the orgchart node group. | |||
$kendo-orgchart-node-group-title-margin-y | 0px | ||
Description
Vertical margin of the orgchart node group title. | |||
$kendo-orgchart-node-group-title-font-size | var( --kendo-font-size-xl, inherit ) | ||
Description
Font size of the orgchart node group title. | |||
$kendo-orgchart-node-group-title-line-height | var( --kendo-line-height-md, normal ) | ||
Description
Line height of the orgchart node group title. | |||
$kendo-orgchart-node-group-subtitle-margin-y | $kendo-orgchart-spacer - map.get( $kendo-spacing, 1 ) | ||
Description
Vertical margin of the orgchart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-font-size | var( --kendo-font-size, inherit ) | ||
Description
Font size of the orgchart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-text | var( --kendo-subtle-text, inherit ) | ||
Description
Line height of the orgchart node group subtitle. | |||
$kendo-orgchart-card-width | 300px | ||
Description
Width of the orgchart card. | |||
$kendo-orgchart-card-border-width | $kendo-card-border-width | ||
Description
Border width of the orgchart card. | |||
$kendo-orgchart-card-shadow | $kendo-card-shadow | ||
Description
Shadow of the orgchart card. | |||
$kendo-orgchart-card-focus-shadow | $kendo-card-focus-shadow | ||
Description
Focus shadow of the orgchart card. | |||
$kendo-orgchart-card-title-margin-y | 0px | ||
Description
Vertical margin of the orgchart card title. | |||
$kendo-orgchart-card-title-font-size | $kendo-card-title-font-size | ||
Description
Font size of the orgchart card title. | |||
$kendo-orgchart-card-title-line-height | var( --kendo-line-height, normal ) | ||
Description
Line height of the orgchart card title. | |||
$kendo-orgchart-card-subtitle-margin-y | 0px | ||
Description
Vertical margin of the orgchart card subtitle. | |||
$kendo-orgchart-card-subtitle-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
Font size of the orgchart card subtitle. | |||
$kendo-orgchart-card-subtitle-line-height | var( --kendo-line-height-md, inherit ) | ||
Description
Line height of the orgchart card subtitle. | |||
$kendo-orgchart-card-body-padding-y | $kendo-orgchart-spacer - map.get( $kendo-spacing, 2 ) | ||
Description
Vertical padding of the orgchart card body. | |||
$kendo-orgchart-card-body-padding-x | $kendo-orgchart-card-body-padding-y | ||
Description
Horizontal padding of the orgchart card body. | |||
$kendo-orgchart-card-body-border-width | 2px 0 0 | ||
Description
Top border width of the orgchart card body. | |||
$kendo-orgchart-card-body-border-color | transparent | ||
Description
Border color of the orgchart card body. | |||
$kendo-orgchart-card-body-vbox-margin-x | $kendo-orgchart-spacer - map.get( $kendo-spacing, 2 ) | ||
Description
Horizontal margin of the orgchart card body title wrap. | |||
$kendo-orgchart-card-body-vbox-min-height | $kendo-card-avatar-size | ||
Description
Min height of the orgchart card body title wrap. | |||
$kendo-orgchart-line-size | 1px | ||
Description
Size of the orgchart connecting line. | |||
$kendo-orgchart-line-text | k-get-theme-color-var( neutral-30 ) | ||
Description
Fill color of the orgchart connecting line. | |||
$kendo-orgchart-line-v-height | 25px | ||
Description
Height of the orgchart connecting line. |