New to Kendo UI for Vue? 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 | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The spacing index of the OrgChart. | |||
$kendo-orgchart-padding-y | String | $kendo-orgchart-spacer | var(--kendo-spacing-6, 1.5rem) |
Description
The vertical padding of the OrgChart. | |||
$kendo-orgchart-padding-x | String | $kendo-orgchart-padding-y | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the OrgChart. | |||
$kendo-orgchart-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the OrgChart. | |||
$kendo-orgchart-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the OrgChart. | |||
$kendo-orgchart-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the OrgChart. | |||
$kendo-orgchart-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the OrgChart. | |||
$kendo-orgchart-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the OrgChart. | |||
$kendo-orgchart-border | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The border color of the OrgChart. | |||
$kendo-orgchart-node-spacing | String | $kendo-orgchart-spacer | var(--kendo-spacing-6, 1.5rem) |
Description
The spacing of the OrgChart node. | |||
$kendo-orgchart-group-spacing | String | $kendo-orgchart-spacer | var(--kendo-spacing-6, 1.5rem) |
Description
The spacing of the OrgChart group. | |||
$kendo-orgchart-node-container-spacing | String | $kendo-orgchart-spacer | var(--kendo-spacing-6, 1.5rem) |
Description
The spacing of the OrgChart node container. | |||
$kendo-orgchart-node-group-padding-y | String | $kendo-orgchart-spacer | var(--kendo-spacing-6, 1.5rem) |
Description
The vertical padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-padding-x | String | $kendo-orgchart-node-group-padding-y | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-width | Number | 1px | 1px |
Description
The border width of the OrgChart node group. | |||
$kendo-orgchart-node-group-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the OrgChart node group. | |||
$kendo-orgchart-node-group-bg | String | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | var(--kendo-color-surface, #faf9f8) |
Description
The background color of the OrgChart node group. | |||
$kendo-orgchart-node-group-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-190 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the OrgChart node group. | |||
$kendo-orgchart-node-group-border | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent) |
Description
The border color of the OrgChart node group. | |||
$kendo-orgchart-node-group-focus-border | String | $kendo-card-focus-border | var(--kendo-component-border, initial) |
Description
The border color of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-focus-shadow | String | $kendo-card-focus-shadow | var(--kendo-box-shadow-depth-3, none) |
Description
The shadow of the focused OrgChart node group. | |||
$kendo-orgchart-node-group-title-margin-y | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The vertical margin of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-font-size | String | var( --kendo-font-size-xl, inherit ) | var(--kendo-font-size-xl, inherit) |
Description
The font size of the OrgChart node group title. | |||
$kendo-orgchart-node-group-title-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the OrgChart node group title. | |||
$kendo-orgchart-node-group-subtitle-margin-y | Calculation | calc( $kendo-orgchart-spacer - k-spacing(1) ) | calc(var(--kendo-spacing-6, 1.5rem) - var(--kendo-spacing-1, 0.25rem)) |
Description
The vertical margin of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the OrgChart node group subtitle. | |||
$kendo-orgchart-node-group-subtitle-text | String | var( --kendo-subtle-text, inherit ) | var(--kendo-subtle-text, inherit) |
Description
The line height of the OrgChart node group subtitle. | |||
$kendo-orgchart-card-width | Number | 300px | 300px |
Description
The width of the OrgChart Card. | |||
$kendo-orgchart-card-border-width | Number | $kendo-card-border-width | 0px |
Description
The border width of the OrgChart Card. | |||
$kendo-orgchart-card-shadow | String | $kendo-card-shadow | var(--kendo-box-shadow-depth-1, none) |
Description
The shadow of the OrgChart Card. | |||
$kendo-orgchart-card-focus-shadow | String | $kendo-card-focus-shadow | var(--kendo-box-shadow-depth-3, none) |
Description
The shadow of the focused OrgChart Card. | |||
$kendo-orgchart-card-title-margin-y | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The vertical margin of the OrgChart Card title. | |||
$kendo-orgchart-card-title-font-size | String | $kendo-card-title-font-size | var(--kendo-font-size-lg, inherit) |
Description
The font size of the OrgChart Card title. | |||
$kendo-orgchart-card-title-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the OrgChart Card title. | |||
$kendo-orgchart-card-subtitle-margin-y | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The vertical margin of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-subtitle-font-size | String | var( --kendo-font-size-sm, inherit ) | var(--kendo-font-size-sm, inherit) |
Description
The font size of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-subtitle-line-height | String | var( --kendo-line-height, inherit ) | var(--kendo-line-height, inherit) |
Description
The line height of the OrgChart Card subtitle. | |||
$kendo-orgchart-card-body-padding-y | Calculation | calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) | calc(var(--kendo-spacing-6, 1.5rem) - var(--kendo-spacing-2, 0.5rem)) |
Description
The vertical padding of the OrgChart Card body. | |||
$kendo-orgchart-card-body-padding-x | Calculation | $kendo-orgchart-card-body-padding-y | calc(var(--kendo-spacing-6, 1.5rem) - var(--kendo-spacing-2, 0.5rem)) |
Description
The horizontal padding of the OrgChart Card body. | |||
$kendo-orgchart-card-body-border-width | List | 2px 0 0 | 2px 0 0 |
Description
The top border width of the OrgChart Card body. | |||
$kendo-orgchart-card-body-border-color | Color | transparent | transparent |
Description
The border color of the OrgChart Card body. | |||
$kendo-orgchart-card-body-vbox-margin-x | Calculation | calc( #{$kendo-orgchart-spacer} - k-spacing(2) ) | calc(var(--kendo-spacing-6, 1.5rem) - var(--kendo-spacing-2, 0.5rem)) |
Description
The horizontal margin of the OrgChart Card body title wrap. | |||
$kendo-orgchart-card-body-vbox-min-height | Number | $kendo-card-avatar-size | 3rem |
Description
The min height of the OrgChart Card body title wrap. | |||
$kendo-orgchart-line-size | Number | 1px | 1px |
Description
The size of the OrgChart connecting line. | |||
$kendo-orgchart-line-text | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | color-mix(in srgb, var(--kendo-color-border, #8a8886) 16%, transparent) |
Description
The fill color of the OrgChart connecting line. | |||
$kendo-orgchart-line-v-height | Number | 25px | 25px |
Description
The height of the OrgChart connecting line. |