Customizing Orgchart
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-orgchart-spacer | k-spacing(6) | ||
Description
The spacing index of the OrgChart. | |||
$kendo-orgchart-padding-y | $kendo-orgchart-spacer | ||
Description
The vertical padding of the OrgChart. | |||
$kendo-orgchart-padding-x | $kendo-orgchart-padding-y | ||
Description
The horizontal padding of the OrgChart. | |||
$kendo-orgchart-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the OrgChart. | |||
$kendo-orgchart-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the OrgChart. | |||
$kendo-orgchart-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the OrgChart. | |||
$kendo-orgchart-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the OrgChart. | |||
$kendo-orgchart-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the OrgChart. | |||
$kendo-orgchart-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the OrgChart. | |||
$kendo-orgchart-node-spacing | $kendo-orgchart-spacer | ||
Description
The spacing of the OrgChart node. | |||
$kendo-orgchart-group-spacing | $kendo-orgchart-spacer | ||
Description
The spacing of the OrgChart group. | |||
$kendo-orgchart-node-container-spacing | $kendo-orgchart-spacer | ||
Description
The spacing of the OrgChart node container. | |||
$kendo-orgchart-node-group-padding-y | $kendo-orgchart-spacer | ||
Description
The vertical padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-padding-x | $kendo-orgchart-node-group-padding-y | ||
Description
The horizontal padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-width | 1px | ||
Description
The border width of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-radius | k-border-radius(md) | ||
Description
The border radius of the OrgChart node group. | |||
$kendo-orgchart-node-group-bg | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | ||
Description
The background color of the OrgChart node group. | |||
$kendo-orgchart-node-group-text | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) | ||
Description
The text color of the OrgChart node group. | |||
$kendo-orgchart-node-group-border | if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | ||
Description
The border color of the OrgChart node group. | |||
$kendo-orgchart-node-group-focus-border | $kendo-card-focus-border | ||
Description
The border color of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-focus-shadow | $kendo-card-focus-shadow | ||
Description
The shadow of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-title-margin-y | k-spacing(0) | ||
Description
The vertical margin of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-font-size | var( --kendo-font-size-xl, inherit ) | ||
Description
The font size of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the OrgChart node group title. | |||
$kendo-orgchart-node-group-subtitle-margin-y | calc( $kendo-orgchart-spacer - k-spacing(1) ) | ||
Description
The vertical margin of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-text | var( --kendo-subtle-text, inherit ) | ||
Description
The line height of the OrgChart node group subtitle. | |||
$kendo-orgchart-card-width | 300px | ||
Description
The width of the OrgChart Card. | |||
$kendo-orgchart-card-border-width | $kendo-card-border-width | ||
Description
The border width of the OrgChart Card. | |||
$kendo-orgchart-card-shadow | $kendo-card-shadow | ||
Description
The shadow of the OrgChart Card. | |||
$kendo-orgchart-card-focus-shadow | $kendo-card-focus-shadow | ||
Description
The shadow of the focused OrgChart Card. | |||
$kendo-orgchart-card-title-margin-y | k-spacing(0) | ||
Description
The vertical margin of the OrgChart Card title. | |||
$kendo-orgchart-card-title-font-size | $kendo-card-title-font-size | ||
Description
The font size of the OrgChart Card title. | |||
$kendo-orgchart-card-title-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the OrgChart Card title. | |||
$kendo-orgchart-card-subtitle-margin-y | k-spacing(0) | ||
Description
The vertical margin of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-subtitle-font-size | var( --kendo-font-size-sm, inherit ) | ||
Description
The font size of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-subtitle-line-height | var( --kendo-line-height, inherit ) | ||
Description
The line height of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-body-padding-y | calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) | ||
Description
The vertical padding of the OrgChart Card body. | |||
$kendo-orgchart-card-body-padding-x | $kendo-orgchart-card-body-padding-y | ||
Description
The horizontal padding of the OrgChart Card body. | |||
$kendo-orgchart-card-body-border-width | 2px 0 0 | ||
Description
The top border width of the OrgChart Card body. | |||
$kendo-orgchart-card-body-border-color | transparent | ||
Description
The border color of the OrgChart Card body. | |||
$kendo-orgchart-card-body-vbox-margin-x | calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) | ||
Description
The horizontal margin of the OrgChart Card body title wrap. | |||
$kendo-orgchart-card-body-vbox-min-height | $kendo-card-avatar-size | ||
Description
The min height of the OrgChart Card body title wrap. | |||
$kendo-orgchart-line-size | 1px | ||
Description
The size of the OrgChart connecting line. | |||
$kendo-orgchart-line-text | if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | ||
Description
The fill color of the OrgChart connecting line. | |||
$kendo-orgchart-line-v-height | 25px | ||
Description
The height of the OrgChart connecting line. |