New to Kendo UI for Angular? Start a free 30-day trial
Customizing Input
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-input-width | Number | 100% | 100% |
Description
The width of the Input components. | |||
$kendo-input-border-width | Number | 1px | 1px |
Description
The width of the border around the Input components. | |||
$kendo-input-border-height | Number | ( $kendo-input-border-width * 2 ) | 2px |
Description
The height of the border around the Input components. | |||
$kendo-input-sm-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the small Input components. | |||
$kendo-input-md-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the medium Input components. | |||
$kendo-input-lg-padding-x | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the large Input components. | |||
$kendo-input-sm-padding-y | String | k-spacing(1) | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the small Input components. | |||
$kendo-input-md-padding-y | String | k-spacing(1.5) | var(--kendo-spacing-1\.5, 0.375rem) |
Description
The vertical padding of the medium Input components. | |||
$kendo-input-lg-padding-y | String | k-spacing(2) | var(--kendo-spacing-2, 0.5rem) |
Description
The vertical padding of the large Input components. | |||
$kendo-input-sm-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the small Input components. | |||
$kendo-input-md-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the medium Input components. | |||
$kendo-input-lg-font-size | String | var( --kendo-font-size, inherit ) | var(--kendo-font-size, inherit) |
Description
The font size of the large Input components. | |||
$kendo-input-sm-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the small Input components. | |||
$kendo-input-md-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the medium Input components. | |||
$kendo-input-lg-line-height | String | var( --kendo-line-height, normal ) | var(--kendo-line-height, normal) |
Description
The line height of the large Input components. | |||
$kendo-input-sm-button-width | Calculation | calc( #{$kendo-button-sm-line-height} * 1em + #{$kendo-button-sm-padding-y} * 2 ) | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2) |
Description
The width of the small Input button. | |||
$kendo-input-md-button-width | Calculation | calc( #{$kendo-button-md-line-height} * 1em + #{$kendo-button-md-padding-y} * 2 ) | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1\.5, 0.375rem) * 2) |
Description
The width of the medium Input button. | |||
$kendo-input-lg-button-width | Calculation | calc( #{$kendo-button-lg-line-height} * 1em + #{$kendo-button-lg-padding-y} * 2 ) | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-2, 0.5rem) * 2) |
Description
The width of the large Input button. | |||
$kendo-input-button-border-width | Number | 1px | 1px |
Description
The border width of the Input button. | |||
$kendo-input-sm-spinner-width | Calculation | $kendo-input-sm-button-width | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1, 0.25rem) * 2) |
Description
The width of the small Input spinner button. | |||
$kendo-input-md-spinner-width | Calculation | $kendo-input-md-button-width | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-1\.5, 0.375rem) * 2) |
Description
The width of the medium Input spinner button. | |||
$kendo-input-lg-spinner-width | Calculation | $kendo-input-lg-button-width | calc(var(--kendo-line-height, normal) * 1em + var(--kendo-spacing-2, 0.5rem) * 2) |
Description
The width of the large Input spinner button. | |||
$kendo-input-spinner-icon-offset | Null | null | null |
Description
The icon offset of the Input spinner button. | |||
$kendo-input-solid-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the solid Input components. | |||
$kendo-input-solid-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the solid Input components. | |||
$kendo-input-solid-border | String | if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-border, #8a8886) |
Description
The border color of the solid Input components. | |||
$kendo-input-solid-hover-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 hovered solid Input components. | |||
$kendo-input-solid-hover-bg | String | $kendo-input-solid-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered solid Input components. | |||
$kendo-input-solid-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-border-alt, #323130) |
Description
The border color of the hovered solid Input components. | |||
$kendo-input-solid-focus-text | String | $kendo-input-solid-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused solid Input components. | |||
$kendo-input-solid-focus-bg | String | $kendo-input-solid-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused solid Input components. | |||
$kendo-input-solid-focus-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 focused solid Input components. | |||
$kendo-input-solid-hover-focus-text | String | $kendo-input-solid-focus-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the hovered and focused solid Input components. | |||
$kendo-input-solid-hover-focus-bg | String | $kendo-input-solid-focus-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered and focused solid Input components. | |||
$kendo-input-solid-hover-focus-border | String | $kendo-input-solid-focus-border | var(--kendo-color-primary, #0078d4) |
Description
The border color of the hovered and focused solid Input components. | |||
$kendo-input-solid-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled solid Input components. | |||
$kendo-input-solid-disabled-bg | String | $kendo-disabled-bg | var(--kendo-color-base-subtle, #edebe9) |
Description
The background color of the disabled solid Input components. | |||
$kendo-input-solid-disabled-border | Color | $kendo-disabled-border | transparent |
Description
The border color of the disabled solid Input components. | |||
$kendo-input-outline-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the outline Input components. | |||
$kendo-input-outline-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the outline Input components. | |||
$kendo-input-outline-border | String | if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-border, #8a8886) |
Description
The border color of the outline Input components. | |||
$kendo-input-outline-hover-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 hovered outline Input components. | |||
$kendo-input-outline-hover-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered outline Input components. | |||
$kendo-input-outline-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-border-alt, #323130) |
Description
The border color of the hovered outline Input components. | |||
$kendo-input-outline-focus-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused outline Input components. | |||
$kendo-input-outline-focus-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused outline Input components. | |||
$kendo-input-outline-focus-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 focused outline Input components. | |||
$kendo-input-outline-hover-focus-text | String | $kendo-input-outline-focus-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the hovered and focused outline Input components. | |||
$kendo-input-outline-hover-focus-bg | String | $kendo-input-outline-focus-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered and focused outline Input components. | |||
$kendo-input-outline-hover-focus-border | String | $kendo-input-outline-focus-border | var(--kendo-color-primary, #0078d4) |
Description
The border color of the hovered and focused outline Input components. | |||
$kendo-input-outline-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled outline Input components. | |||
$kendo-input-outline-disabled-bg | String | none | none |
Description
The background color of the disabled outline Input components. | |||
$kendo-input-outline-disabled-border | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The border color of the disabled outline Input components. | |||
$kendo-input-flat-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the flat Input components. | |||
$kendo-input-flat-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the flat Input components. | |||
$kendo-input-flat-border | String | if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-border, #8a8886) |
Description
The border color of the flat Input components. | |||
$kendo-input-flat-hover-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 hovered flat Input components. | |||
$kendo-input-flat-hover-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered flat Input components. | |||
$kendo-input-flat-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-border-alt, #323130) |
Description
The border color of the hovered flat Input components. | |||
$kendo-input-flat-focus-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused flat Input components. | |||
$kendo-input-flat-focus-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused flat Input components. | |||
$kendo-input-flat-focus-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 focused flat Input components. | |||
$kendo-input-flat-hover-focus-text | String | $kendo-input-flat-focus-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the hovered and focused flat Input components. | |||
$kendo-input-flat-hover-focus-bg | String | $kendo-input-flat-focus-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered and focused flat Input components. | |||
$kendo-input-flat-hover-focus-border | String | $kendo-input-flat-focus-border | var(--kendo-color-primary, #0078d4) |
Description
The border color of the hovered and focused flat Input components. | |||
$kendo-input-flat-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled flat Input components. | |||
$kendo-input-flat-disabled-bg | String | none | none |
Description
The background color of the disabled flat Input components. | |||
$kendo-input-flat-disabled-border | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The border color of the disabled flat Input components. | |||
$kendo-picker-solid-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the solid Picker components. | |||
$kendo-picker-solid-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the solid Picker components. | |||
$kendo-picker-solid-border | String | if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 ))!default | var(--kendo-color-border, #8a8886) |
Description
The border color of the solid Picker components. | |||
$kendo-picker-solid-hover-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 hovered solid Picker components. | |||
$kendo-picker-solid-hover-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of hovered the solid Picker components. | |||
$kendo-picker-solid-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-border-alt, #323130) |
Description
The border color of the hovered solid Picker components. | |||
$kendo-picker-solid-focus-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused solid Picker components. | |||
$kendo-picker-solid-focus-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused solid Picker components. | |||
$kendo-picker-solid-focus-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 focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-text | String | $kendo-picker-solid-focus-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-bg | String | $kendo-picker-solid-focus-bg | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-border | String | $kendo-picker-solid-focus-border | var(--kendo-color-primary, #0078d4) |
Description
The border color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled solid Picker components. | |||
$kendo-picker-solid-disabled-bg | String | if($kendo-enable-color-system, color-mix(in srgb, k-color( on-app-surface ) 9%, transparent), k-get-theme-color-var( neutral-30 )) | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 9%, transparent) |
Description
The background color of the disabled solid Picker components. | |||
$kendo-picker-solid-disabled-border | Color | $kendo-disabled-border | transparent |
Description
The border color of the disabled solid Picker components. | |||
$kendo-picker-outline-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the outline Picker components. | |||
$kendo-picker-outline-bg | String | none | none |
Description
The background color of the outline Picker components. | |||
$kendo-picker-outline-border | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The border color of the outline Picker components. | |||
$kendo-picker-outline-hover-text | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The text color of the hovered outline Picker components. | |||
$kendo-picker-outline-hover-bg | 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 background color of the hovered outline Picker components. | |||
$kendo-picker-outline-hover-border | String | $kendo-picker-outline-hover-bg!default | var(--kendo-color-on-app-surface, #323130) |
Description
The border color of the hovered outline Picker components. | |||
$kendo-picker-outline-focus-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused outline Picker components. | |||
$kendo-picker-outline-focus-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused outline Picker components. | |||
$kendo-picker-outline-focus-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 focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-text | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The text color of the hovered and focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-bg | 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 background color of the hovered and focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-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 hovered and focused outline Picker components. | |||
$kendo-picker-outline-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled outline Picker components. | |||
$kendo-picker-outline-disabled-bg | String | none | none |
Description
The background color of the disabled outline Picker components. | |||
$kendo-picker-outline-disabled-border | String | $kendo-picker-outline-disabled-text!default | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The border color of the disabled outline Picker components. | |||
$kendo-picker-flat-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the flat Picker components. | |||
$kendo-picker-flat-bg | String | none | none |
Description
The background color of the flat Picker components. | |||
$kendo-picker-flat-border | String | if($kendo-enable-color-system, k-color( border ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-border, #8a8886) |
Description
The border color of the flat Picker components. | |||
$kendo-picker-flat-hover-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 hovered flat Picker components. | |||
$kendo-picker-flat-hover-bg | String | if($kendo-enable-color-system, k-color( base-hover ), k-get-theme-color-var( neutral-20 )) | var(--kendo-color-base-hover, #f3f2f1) |
Description
The background color of the hovered flat Picker components. | |||
$kendo-picker-flat-hover-border | String | if($kendo-enable-color-system, k-color( border-alt ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-border-alt, #323130) |
Description
The border color of the hovered flat Picker components. | |||
$kendo-picker-flat-focus-text | String | if($kendo-enable-color-system, k-color( on-app-surface ), k-get-theme-color-var( neutral-160 )) | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the focused flat Picker components. | |||
$kendo-picker-flat-focus-bg | String | if($kendo-enable-color-system, k-color( app-surface ), $kendo-color-white) | var(--kendo-color-app-surface, #ffffff) |
Description
The background color of the focused flat Picker components. | |||
$kendo-picker-flat-focus-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 focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-text | String | $kendo-picker-flat-hover-text | var(--kendo-color-on-app-surface, #323130) |
Description
The text color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-bg | String | $kendo-picker-flat-hover-bg | var(--kendo-color-base-hover, #f3f2f1) |
Description
The background color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-border | String | $kendo-picker-flat-border | var(--kendo-color-border, #8a8886) |
Description
The border color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-disabled-text | String | $kendo-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The text color of the disabled flat Picker components. | |||
$kendo-picker-flat-disabled-bg | String | none | none |
Description
The background color of the disabled flat Picker components. | |||
$kendo-picker-flat-disabled-border | String | $kendo-picker-flat-disabled-text | color-mix(in srgb, var(--kendo-color-on-app-surface, #323130) 46%, transparent) |
Description
The border color of the disabled flat Picker components. | |||
$kendo-input-sizes | Map | (
sm: (
padding-x: $kendo-input-sm-padding-x,
padding-y: $kendo-input-sm-padding-y,
font-size: $kendo-input-sm-font-size,
line-height: $kendo-input-sm-line-height,
icon-size: calc( var( --kendo-icon-size, 1rem ) + calc( #{$kendo-input-md-padding-y} * 2 ) ),
button-padding-x: $kendo-input-sm-padding-y,
button-padding-y: $kendo-input-sm-padding-y,
button-width: $kendo-input-sm-button-width
),
md: (
padding-x: $kendo-input-md-padding-x,
padding-y: $kendo-input-md-padding-y,
font-size: $kendo-input-md-font-size,
line-height: $kendo-input-md-line-height,
icon-size: calc( var( --kendo-icon-size, 1rem ) + calc( #{$kendo-input-sm-padding-y} * 2 ) ),
button-padding-x: $kendo-input-md-padding-y,
button-padding-y: $kendo-input-md-padding-y,
button-width: $kendo-input-md-button-width
),
lg: (
padding-x: $kendo-input-lg-padding-x,
padding-y: $kendo-input-lg-padding-y,
font-size: $kendo-input-lg-font-size,
line-height: $kendo-input-lg-line-height,
icon-size: calc( var( --kendo-icon-size, 1rem ) + calc( #{$kendo-input-lg-padding-y} * 2 ) ),
button-padding-x: $kendo-input-lg-padding-y,
button-padding-y: $kendo-input-lg-padding-y,
button-width: $kendo-input-lg-button-width
)
) |
|
Description
The sizes map for the Input components. | |||
$kendo-input-theme-colors | Map | (
input: (
solid: (
text: $kendo-input-solid-text,
bg: $kendo-input-solid-bg,
border: $kendo-input-solid-border,
hover-text: $kendo-input-solid-hover-text,
hover-bg: $kendo-input-solid-hover-bg,
hover-border: $kendo-input-solid-hover-border,
focus-text: $kendo-input-solid-focus-text,
focus-bg: $kendo-input-solid-focus-bg,
focus-border: $kendo-input-solid-focus-border,
hover-focus-text: $kendo-input-solid-hover-focus-text,
hover-focus-bg: $kendo-input-solid-hover-focus-bg,
hover-focus-border: $kendo-input-solid-hover-focus-border,
disabled-text: $kendo-input-solid-disabled-text,
disabled-bg: $kendo-input-solid-disabled-bg,
disabled-border: $kendo-input-solid-disabled-border
),
outline: (
text: $kendo-input-outline-text,
bg: $kendo-input-outline-bg,
border: $kendo-input-outline-border,
hover-text: $kendo-input-outline-hover-text,
hover-bg: $kendo-input-outline-hover-bg,
hover-border: $kendo-input-outline-hover-border,
focus-text: $kendo-input-outline-focus-text,
focus-bg: $kendo-input-outline-focus-bg,
focus-border: $kendo-input-outline-focus-border,
hover-focus-text: $kendo-input-outline-hover-focus-text,
hover-focus-bg: $kendo-input-outline-hover-focus-bg,
hover-focus-border: $kendo-input-outline-hover-focus-border,
disabled-text: $kendo-input-outline-disabled-text,
disabled-bg: $kendo-input-outline-disabled-bg,
disabled-border: $kendo-input-outline-disabled-border
),
flat: (
text: $kendo-input-flat-text,
bg: $kendo-input-flat-bg,
border: $kendo-input-flat-border,
hover-text: $kendo-input-flat-hover-text,
hover-bg: $kendo-input-flat-hover-bg,
hover-border: $kendo-input-flat-hover-border,
focus-text: $kendo-input-flat-focus-text,
focus-bg: $kendo-input-flat-focus-bg,
focus-border: $kendo-input-flat-focus-border,
hover-focus-tex: $kendo-input-flat-hover-focus-text,
hover-focus-bg: $kendo-input-flat-hover-focus-bg,
hover-focus-border: $kendo-input-flat-hover-focus-border,
disabled-text: $kendo-input-flat-disabled-text,
disabled-bg: $kendo-input-flat-disabled-bg,
disabled-border: $kendo-input-flat-disabled-border
)
),
picker: (
solid: (
text: $kendo-picker-solid-text,
bg: $kendo-picker-solid-bg,
border: $kendo-picker-solid-border,
hover-text: $kendo-picker-solid-hover-text,
hover-bg: $kendo-picker-solid-hover-bg,
hover-border: $kendo-picker-solid-hover-border,
focus-text: $kendo-picker-solid-focus-text,
focus-bg: $kendo-picker-solid-focus-bg,
focus-border: $kendo-picker-solid-focus-border,
hover-focus-tex: $kendo-picker-solid-hover-focus-text,
hover-focus-bg: $kendo-picker-solid-hover-focus-bg,
hover-focus-border: $kendo-picker-solid-hover-focus-border,
disabled-text: $kendo-picker-solid-disabled-text,
disabled-bg: $kendo-picker-solid-disabled-bg,
disabled-border: $kendo-picker-solid-disabled-border
),
outline: (
text: $kendo-picker-outline-text,
bg: $kendo-picker-outline-bg,
border: $kendo-picker-outline-border,
hover-text: $kendo-picker-outline-hover-text,
hover-bg: $kendo-picker-outline-hover-bg,
hover-border: $kendo-picker-outline-hover-border,
focus-text: $kendo-picker-outline-focus-text,
focus-bg: $kendo-picker-outline-focus-bg,
focus-border: $kendo-picker-outline-focus-border,
hover-focus-text: $kendo-picker-outline-hover-focus-text,
hover-focus-bg: $kendo-picker-outline-hover-focus-bg,
hover-focus-border: $kendo-picker-outline-hover-focus-border,
disabled-text: $kendo-picker-outline-disabled-text,
disabled-bg: $kendo-picker-outline-disabled-bg,
disabled-border: $kendo-picker-outline-disabled-border
),
flat: (
text: $kendo-picker-flat-text,
bg: $kendo-picker-flat-bg,
border: $kendo-picker-flat-border,
hover-text: $kendo-picker-flat-hover-text,
hover-bg: $kendo-picker-flat-hover-bg,
hover-border: $kendo-picker-flat-hover-border,
focus-text: $kendo-picker-flat-focus-text,
focus-bg: $kendo-picker-flat-focus-bg,
focus-border: $kendo-picker-flat-focus-border,
hover-focus-tex: $kendo-picker-flat-hover-focus-text,
hover-focus-bg: $kendo-picker-flat-hover-focus-bg,
hover-focus-border: $kendo-picker-flat-hover-focus-border,
disabled-text: $kendo-picker-flat-disabled-text,
disabled-bg: $kendo-picker-flat-disabled-bg,
disabled-border: $kendo-picker-flat-disabled-border
)
)
) |
|
Description
Colors map of the input. | |||
$kendo-input-prefix-bg | String | if($kendo-enable-color-system, k-color( base-subtle ), k-get-theme-color-var( neutral-20 )) | var(--kendo-color-base-subtle, #edebe9) |
Description
The background color of the Input prefix. | |||
$kendo-input-suffix-bg | String | if($kendo-enable-color-system, k-color( base-subtle ), k-get-theme-color-var( neutral-20 )) | var(--kendo-color-base-subtle, #edebe9) |
Description
The background color of the Input suffix. | |||
$kendo-input-separator-text | String | k-get-theme-color-var( neutral-30 ) | var(--kendo-neutral-30, inherit) |
Description
The color of the Input separator. | |||
$kendo-input-prefix-text | String | k-get-theme-color-var( neutral-130 ) | var(--kendo-neutral-130, inherit) |
Description
The text color of the Input prefix. | |||
$kendo-input-suffix-text | String | k-get-theme-color-var( neutral-130 ) | var(--kendo-neutral-130, inherit) |
Description
The text color of the Input suffix. | |||
$kendo-input-prefix-disabled-text | String | k-get-theme-color-var( neutral-60 ) | var(--kendo-neutral-60, inherit) |
Description
The text color of the disabled Input prefix. | |||
$kendo-input-suffix-disabled-text | String | k-get-theme-color-var( neutral-60 ) | var(--kendo-neutral-60, inherit) |
Description
The text color of the disabled Input suffix. | |||
$kendo-input-invalid-border | String | var( --kendo-invalid-border, #{$kendo-invalid-border} ) | var(--kendo-invalid-border, var(--kendo-color-error-emphasis, #a4262c)) |
Description
The border color of the invalid Input components. | |||
$kendo-input-invalid-text | String | var( --kendo-invalid-text, #{$kendo-invalid-text} ) | var(--kendo-invalid-text, var(--kendo-color-error-on-surface, #a4262c)) |
Description
The text color of the invalid Input components. | |||
$kendo-input-placeholder-text | String | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-subtle, #605e5c) |
Description
The text color of the Input placeholder. | |||
$kendo-input-placeholder-opacity | Number | 1 | 1 |
Description
The opacity of the Input placeholder. | |||
$kendo-input-clear-value-text | String | if($kendo-enable-color-system, k-color( subtle ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-subtle, #605e5c) |
Description
The color of the Input clear value icon. | |||
$kendo-input-clear-value-opacity | Number | .6 | 0.6 |
Description
The opacity of the Input clear value icon. | |||
$kendo-input-clear-value-hover-text | String | inherit | inherit |
Description
The color of the hovered Input clear value icon. | |||
$kendo-input-clear-value-hover-opacity | Number | 1 | 1 |
Description
The opacity of the hovered Input clear value icon. |