Customizing Expander
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-expander-margin-y | k-spacing(2) | ||
Description
The vertical spacing of the ExpansionPanel. | |||
$kendo-expander-border-width | 1px | ||
Description
The width of the border around the ExpansionPanel. | |||
$kendo-expander-font-family | var( --kendo-font-family, inherit ) | ||
Description
The font family of the ExpansionPanel. | |||
$kendo-expander-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the ExpansionPanel. | |||
$kendo-expander-line-height | var( --kendo-line-height, normal ) | ||
Description
The hine height of the ExpansionPanel. | |||
$kendo-expander-text | var( --kendo-component-text, initial ) | ||
Description
The text color of the ExpansionPanel. | |||
$kendo-expander-bg | if($kendo-enable-color-system, k-color( surface ), k-get-theme-color-var( neutral-10 )) | ||
Description
The background color of the ExpansionPanel. | |||
$kendo-expander-border | var( --kendo-component-border, initial ) | ||
Description
The border color of the ExpansionPanel. | |||
$kendo-expander-shadow | inset 0 0 0 2px if($kendo-enable-color-system, color-mix(in srgb, k-color( border ) 16%, transparent), k-get-theme-color-var( neutral-30 )) | ||
Description
The box shadow of the ExpansionPanel. | |||
$kendo-expander-expanded-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the expanded ExpansionPanel. | |||
$kendo-expander-disabled-text | var( --kendo-disabled-text, initial ) | ||
Description
The text color of the disabled ExpansionPanel. | |||
$kendo-expander-disabled-bg | var( --kendo-disabled-bg, initial ) | ||
Description
The background color of the disabled ExpansionPanel. | |||
$kendo-expander-focus-offset | 1px | ||
Description
The offset of the focused ExpansionPanel. | |||
$kendo-expander-focus-outline-width | 1px | ||
Description
The outline width of the focused ExpansionPanel. | |||
$kendo-expander-focus-outline-style | solid | ||
Description
The outline style of the focused ExpansionPanel. | |||
$kendo-expander-focus-outline | if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130)) | ||
Description
The outline color of the focused ExpansionPanel. | |||
$kendo-expander-focus-bg | var( --kendo-component-bg, initial ) | ||
Description
The background color of the focused ExpansionPanel. | |||
$kendo-expander-focus-shadow | inset 0px 0px 0px 2px if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130)) | ||
Description
The box shadow of the focused ExpansionPanel. | |||
$kendo-expander-header-padding-x | k-spacing(4) | ||
Description
The horizontal padding of the ExpansionPanel header. | |||
$kendo-expander-header-padding-y | k-spacing(3) | ||
Description
The vertical padding of the ExpansionPanel header. | |||
$kendo-expander-header-text | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | ||
Description
The text color of the ExpansionPanel header. | |||
$kendo-expander-header-bg | inherit | ||
Description
The background color of the ExpansionPanel header. | |||
$kendo-expander-header-hover-bg | if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var( neutral-20 )) | ||
Description
The background color of the hovered ExpansionPanel header. | |||
$kendo-expander-title-text | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | ||
Description
The text color of the ExpansionPanel title. | |||
$kendo-expander-header-sub-title-text | var( --kendo-subtle-text, initial ) | ||
Description
The text color of the ExpansionPanel sub-title. | |||
$kendo-expander-indicator-margin-x | k-spacing(2.5) | ||
Description
The horizontal margin of the ExpansionPanel indicator. | |||
$kendo-expander-indicator-text | var( --kendo-expander-text, #{$kendo-expander-text} ) | ||
Description
The text color of the ExpansionPanel indicator. | |||
$kendo-expander-content-padding-x | k-spacing(4) | ||
Description
The horizontal padding of the ExpansionPanel content. | |||
$kendo-expander-content-padding-y | k-spacing(4) | ||
Description
The vertical padding of the ExpansionPanel content. |