Customizing Window
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-window-border-width | List | k-spacing(1) 0 0 | var(--kendo-spacing-1, 0.25rem) 0 0 |
Description
The width of the border around the Window. | |||
$kendo-window-border-radius | String | k-border-radius(md) | var(--kendo-border-radius-md, 0.25rem) |
Description
The border radius of the Window. | |||
$kendo-window-font-family | String | var( --kendo-font-family, inherit ) | var(--kendo-font-family, inherit) |
Description
The font family of the Window. | |||
$kendo-window-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the Window. | |||
$kendo-window-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the Window. | |||
$kendo-window-titlebar-padding-x | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the Window titlebar. | |||
$kendo-window-titlebar-padding-y | String | k-spacing(5) | var(--kendo-spacing-5, 1.25rem) |
Description
The vertical padding of the Window titlebar. | |||
$kendo-window-titlebar-border-width | Number | 0 | 0 |
Description
The width of the border of the Window titlebar. | |||
$kendo-window-titlebar-border-style | String | solid | solid |
Description
The style of the border of the Window titlebar. | |||
$kendo-window-title-font-size | String | var( --kendo-font-size-xl, inherit ) | var(--kendo-font-size-xl, inherit) |
Description
The font size of the title of the Window. | |||
$kendo-window-title-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the title of the Window. | |||
$kendo-window-title-font-weight | String | var( --kendo-font-weight-bold, bold ) | var(--kendo-font-weight-bold, bold) |
Description
The font weight of the title of the Window. | |||
$kendo-window-actions-gap | String | k-spacing(0) | var(--kendo-spacing-0, 0px) |
Description
The spacing between the buttons in the Window titlebar. | |||
$kendo-window-action-opacity | Number | 1 | 1 |
Description
OThe opacity of the buttons in the Window titlebar. | |||
$kendo-window-action-hover-opacity | Number | 1 | 1 |
Description
The opacity of the hovered buttons in the Window titlebar. | |||
$kendo-window-inner-padding-x | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the content of the Window. | |||
$kendo-window-inner-padding-y | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The vertical padding of the content of the Window. | |||
$kendo-window-buttongroup-padding-x | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The horizontal padding of the Window action buttons. | |||
$kendo-window-buttongroup-padding-y | String | k-spacing(6) | var(--kendo-spacing-6, 1.5rem) |
Description
The vertical padding of the Window action buttons. | |||
$kendo-window-buttongroup-border-width | Number | 0 | 0 |
Description
The width of the top border of the Window action buttons. | |||
$kendo-window-buttongroup-spacing | String | k-spacing(3) | var(--kendo-spacing-3, 0.75rem) |
Description
The spacing between the Window action buttons. | |||
$kendo-window-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the Window. | |||
$kendo-window-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the Window. | |||
$kendo-window-border | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The border color of the Window. | |||
$kendo-window-shadow | String | var( --kendo-box-shadow-depth-8, none ) | var(--kendo-box-shadow-depth-8, none) |
Description
The box shadow of the Window. | |||
$kendo-window-focus-shadow | String | var( --kendo-box-shadow-depth-9, none ) | var(--kendo-box-shadow-depth-9, none) |
Description
The box shadow of the focused Window. | |||
$kendo-window-titlebar-bg | String | var( --kendo-component-bg, initial ) | var(--kendo-component-bg, initial) |
Description
The background color of the Window titlebar. | |||
$kendo-window-titlebar-text | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The text color of the Window titlebar. | |||
$kendo-window-titlebar-border | String | if($kendo-enable-color-system, k-color( primary ), k-get-theme-color-var( primary-100 )) | var(--kendo-color-primary, #0078d4) |
Description
The border color of the Window titlebar. | |||
$kendo-window-sizes | Map | (
sm: 300px,
md: 800px,
lg: 1200px
) | (sm: 300px, md: 800px, lg: 1200px) |
Description
The map of the width of the different Window sizes. | |||
$kendo-window-brand-colors | Map | (
primary: primary
) | (primary: primary) |
Description
The theme variations for the Window. | |||
$kendo-window-theme-colors | Map | () | (primary: (bg: var(--kendo-color-primary, #0078d4), text: var(--kendo-color-on-primary, #ffffff), border: var(--kendo-color-primary, #0078d4)), dark: (bg: var(--kendo-color-dark, #323130), text: var(--kendo-color-on-dark, #ffffff), border: var(--kendo-color-dark, #323130)), light: (bg: var(--kendo-color-light, #d2d0ce), text: var(--kendo-color-on-light, #323130), border: var(--kendo-color-light, #d2d0ce))) |
Description
The theme colors map for the Window. |