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 | 100% | ||
Description
The width of the Input components. | |||
$kendo-input-border-width | 1px | ||
Description
The width of the border around the Input components. | |||
$kendo-input-border-height | ( $kendo-input-border-width * 2 ) | ||
Description
The height of the border around the Input components. | |||
$kendo-input-sm-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the small Input components. | |||
$kendo-input-md-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the medium Input components. | |||
$kendo-input-lg-padding-x | map.get( $kendo-spacing, 2 ) | ||
Description
The horizontal padding of the large Input components. | |||
$kendo-input-sm-padding-y | map.get( $kendo-spacing, 1 ) | ||
Description
The vertical padding of the small Input components. | |||
$kendo-input-md-padding-y | map.get( $kendo-spacing, 1.5 ) | ||
Description
The vertical padding of the medium Input components. | |||
$kendo-input-lg-padding-y | map.get( $kendo-spacing, 2 ) | ||
Description
The vertical padding of the large Input components. | |||
$kendo-input-sm-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the small Input components. | |||
$kendo-input-md-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the medium Input components. | |||
$kendo-input-lg-font-size | var( --kendo-font-size, inherit ) | ||
Description
The font size of the large Input components. | |||
$kendo-input-sm-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the small Input components. | |||
$kendo-input-md-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the medium Input components. | |||
$kendo-input-lg-line-height | var( --kendo-line-height, normal ) | ||
Description
The line height of the large Input components. | |||
$kendo-input-sm-button-width | calc( #{$kendo-button-sm-line-height} * 1em + #{$kendo-button-sm-padding-y} * 2 ) | ||
Description
The width of the small Input button. | |||
$kendo-input-md-button-width | calc( #{$kendo-button-md-line-height} * 1em + #{$kendo-button-md-padding-y} * 2 ) | ||
Description
The width of the medium Input button. | |||
$kendo-input-lg-button-width | calc( #{$kendo-button-lg-line-height} * 1em + #{$kendo-button-lg-padding-y} * 2 ) | ||
Description
The width of the large Input button. | |||
$kendo-input-button-border-width | 1px | ||
Description
The border width of the Input button. | |||
$kendo-input-sm-spinner-width | $kendo-input-sm-button-width | ||
Description
The width of the small Input spinner button. | |||
$kendo-input-md-spinner-width | $kendo-input-md-button-width | ||
Description
The width of the medium Input spinner button. | |||
$kendo-input-lg-spinner-width | $kendo-input-lg-button-width | ||
Description
The width of the large Input spinner button. | |||
$kendo-input-spinner-icon-offset | null | ||
Description
The icon offset of the Input spinner button. | |||
$kendo-input-solid-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the solid Input components. | |||
$kendo-input-solid-bg | $kendo-color-white | ||
Description
The background color of the solid Input components. | |||
$kendo-input-solid-border | k-get-theme-color-var( neutral-130 ) | ||
Description
The border color of the solid Input components. | |||
$kendo-input-solid-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered solid Input components. | |||
$kendo-input-solid-hover-bg | $kendo-input-solid-bg | ||
Description
The background color of the hovered solid Input components. | |||
$kendo-input-solid-hover-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the hovered solid Input components. | |||
$kendo-input-solid-focus-text | $kendo-input-solid-text | ||
Description
The text color of the focused solid Input components. | |||
$kendo-input-solid-focus-bg | $kendo-input-solid-bg | ||
Description
The background color of the focused solid Input components. | |||
$kendo-input-solid-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused solid Input components. | |||
$kendo-input-solid-hover-focus-text | $kendo-input-solid-focus-text | ||
Description
The text color of the hovered and focused solid Input components. | |||
$kendo-input-solid-hover-focus-bg | $kendo-input-solid-focus-bg | ||
Description
The background color of the hovered and focused solid Input components. | |||
$kendo-input-solid-hover-focus-border | $kendo-input-solid-focus-border | ||
Description
The border color of the hovered and focused solid Input components. | |||
$kendo-input-solid-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled solid Input components. | |||
$kendo-input-solid-disabled-bg | $kendo-disabled-bg | ||
Description
The background color of the disabled solid Input components. | |||
$kendo-input-solid-disabled-border | $kendo-disabled-border | ||
Description
The border color of the disabled solid Input components. | |||
$kendo-input-outline-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the outline Input components. | |||
$kendo-input-outline-bg | $kendo-color-white | ||
Description
The background color of the outline Input components. | |||
$kendo-input-outline-border | k-get-theme-color-var( neutral-130 ) | ||
Description
The border color of the outline Input components. | |||
$kendo-input-outline-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered outline Input components. | |||
$kendo-input-outline-hover-bg | $kendo-color-white | ||
Description
The background color of the hovered outline Input components. | |||
$kendo-input-outline-hover-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the hovered outline Input components. | |||
$kendo-input-outline-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused outline Input components. | |||
$kendo-input-outline-focus-bg | $kendo-color-white | ||
Description
The background color of the focused outline Input components. | |||
$kendo-input-outline-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused outline Input components. | |||
$kendo-input-outline-hover-focus-text | $kendo-input-outline-focus-text | ||
Description
The text color of the hovered and focused outline Input components. | |||
$kendo-input-outline-hover-focus-bg | $kendo-input-outline-focus-bg | ||
Description
The background color of the hovered and focused outline Input components. | |||
$kendo-input-outline-hover-focus-border | $kendo-input-outline-focus-border | ||
Description
The border color of the hovered and focused outline Input components. | |||
$kendo-input-outline-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled outline Input components. | |||
$kendo-input-outline-disabled-bg | none | ||
Description
The background color of the disabled outline Input components. | |||
$kendo-input-outline-disabled-border | $kendo-disabled-text | ||
Description
The border color of the disabled outline Input components. | |||
$kendo-input-flat-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the flat Input components. | |||
$kendo-input-flat-bg | $kendo-color-white | ||
Description
The background color of the flat Input components. | |||
$kendo-input-flat-border | k-get-theme-color-var( neutral-130 ) | ||
Description
The border color of the flat Input components. | |||
$kendo-input-flat-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered flat Input components. | |||
$kendo-input-flat-hover-bg | $kendo-color-white | ||
Description
The background color of the hovered flat Input components. | |||
$kendo-input-flat-hover-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the hovered flat Input components. | |||
$kendo-input-flat-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused flat Input components. | |||
$kendo-input-flat-focus-bg | $kendo-color-white | ||
Description
The background color of the focused flat Input components. | |||
$kendo-input-flat-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused flat Input components. | |||
$kendo-input-flat-hover-focus-text | $kendo-input-flat-focus-text | ||
Description
The text color of the hovered and focused flat Input components. | |||
$kendo-input-flat-hover-focus-bg | $kendo-input-flat-focus-bg | ||
Description
The background color of the hovered and focused flat Input components. | |||
$kendo-input-flat-hover-focus-border | $kendo-input-flat-focus-border | ||
Description
The border color of the hovered and focused flat Input components. | |||
$kendo-input-flat-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled flat Input components. | |||
$kendo-input-flat-disabled-bg | none | ||
Description
The background color of the disabled flat Input components. | |||
$kendo-input-flat-disabled-border | $kendo-disabled-text | ||
Description
The border color of the disabled flat Input components. | |||
$kendo-picker-solid-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the solid Picker components. | |||
$kendo-picker-solid-bg | $kendo-color-white | ||
Description
The background color of the solid Picker components. | |||
$kendo-picker-solid-border | k-get-theme-color-var( neutral-130 )!default | ||
Description
The border color of the solid Picker components. | |||
$kendo-picker-solid-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered solid Picker components. | |||
$kendo-picker-solid-hover-bg | $kendo-color-white | ||
Description
The background color of hovered the solid Picker components. | |||
$kendo-picker-solid-hover-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the hovered solid Picker components. | |||
$kendo-picker-solid-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused solid Picker components. | |||
$kendo-picker-solid-focus-bg | $kendo-color-white | ||
Description
The background color of the focused solid Picker components. | |||
$kendo-picker-solid-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-text | $kendo-picker-solid-focus-text | ||
Description
The text color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-bg | $kendo-picker-solid-focus-bg | ||
Description
The background color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-hover-focus-border | $kendo-picker-solid-focus-border | ||
Description
The border color of the hovered and focused solid Picker components. | |||
$kendo-picker-solid-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled solid Picker components. | |||
$kendo-picker-solid-disabled-bg | k-get-theme-color-var( neutral-30 ) | ||
Description
The background color of the disabled solid Picker components. | |||
$kendo-picker-solid-disabled-border | $kendo-disabled-border | ||
Description
The border color of the disabled solid Picker components. | |||
$kendo-picker-outline-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the outline Picker components. | |||
$kendo-picker-outline-bg | none | ||
Description
The background color of the outline Picker components. | |||
$kendo-picker-outline-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the outline Picker components. | |||
$kendo-picker-outline-hover-text | $kendo-color-white | ||
Description
The text color of the hovered outline Picker components. | |||
$kendo-picker-outline-hover-bg | k-get-theme-color-var( neutral-190 ) | ||
Description
The background color of the hovered outline Picker components. | |||
$kendo-picker-outline-hover-border | $kendo-picker-outline-hover-bg!default | ||
Description
The border color of the hovered outline Picker components. | |||
$kendo-picker-outline-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused outline Picker components. | |||
$kendo-picker-outline-focus-bg | $kendo-color-white!default | ||
Description
The background color of the focused outline Picker components. | |||
$kendo-picker-outline-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-text | $kendo-color-white | ||
Description
The text color of the hovered and focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-bg | k-get-theme-color-var( neutral-190 ) | ||
Description
The background color of the hovered and focused outline Picker components. | |||
$kendo-picker-outline-hover-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the hovered and focused outline Picker components. | |||
$kendo-picker-outline-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled outline Picker components. | |||
$kendo-picker-outline-disabled-bg | none | ||
Description
The background color of the disabled outline Picker components. | |||
$kendo-picker-outline-disabled-border | $kendo-picker-outline-disabled-text!default | ||
Description
The border color of the disabled outline Picker components. | |||
$kendo-picker-flat-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the flat Picker components. | |||
$kendo-picker-flat-bg | none | ||
Description
The background color of the flat Picker components. | |||
$kendo-picker-flat-border | k-get-theme-color-var( neutral-130 ) | ||
Description
The border color of the flat Picker components. | |||
$kendo-picker-flat-hover-text | k-get-theme-color-var( neutral-190 ) | ||
Description
The text color of the hovered flat Picker components. | |||
$kendo-picker-flat-hover-bg | k-get-theme-color-var( neutral-20 ) | ||
Description
The background color of the hovered flat Picker components. | |||
$kendo-picker-flat-hover-border | k-get-theme-color-var( neutral-160 ) | ||
Description
The border color of the hovered flat Picker components. | |||
$kendo-picker-flat-focus-text | k-get-theme-color-var( neutral-160 ) | ||
Description
The text color of the focused flat Picker components. | |||
$kendo-picker-flat-focus-bg | $kendo-color-white | ||
Description
The background color of the focused flat Picker components. | |||
$kendo-picker-flat-focus-border | k-get-theme-color-var( primary-100 ) | ||
Description
The border color of the focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-text | $kendo-picker-flat-hover-text | ||
Description
The text color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-bg | $kendo-picker-flat-hover-bg | ||
Description
The background color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-hover-focus-border | $kendo-picker-flat-border | ||
Description
The border color of the hovered and focused flat Picker components. | |||
$kendo-picker-flat-disabled-text | $kendo-disabled-text | ||
Description
The text color of the disabled flat Picker components. | |||
$kendo-picker-flat-disabled-bg | none | ||
Description
The background color of the disabled flat Picker components. | |||
$kendo-picker-flat-disabled-border | $kendo-picker-flat-disabled-text | ||
Description
The border color of the disabled flat Picker components. | |||
$kendo-input-sizes | (
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 ) + #{$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 ) + #{$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 ) + #{$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 | (
input: (
solid: (
text: $kendo-input-solid-text,
bg: $kendo-input-solid-bg,
border: $kendo-input-solid-border,
| ||
Description
Colors map of the input. | |||
$kendo-input-prefix-bg | k-get-theme-color-var( neutral-20 ) | ||
Description
The background color of the Input prefix. | |||
$kendo-input-suffix-bg | k-get-theme-color-var( neutral-20 ) | ||
Description
The background color of the Input suffix. | |||
$kendo-input-invalid-border | var( --kendo-invalid-border, #{$kendo-invalid-border} ) | ||
Description
The border color of the invalid Input components. | |||
$kendo-input-invalid-text | var( --kendo-invalid-text, #{$kendo-invalid-text} ) | ||
Description
The text color of the invalid Input components. | |||
$kendo-input-placeholder-text | k-get-theme-color-var( neutral-130 ) | ||
Description
The text color of the Input placeholder. | |||
$kendo-input-placeholder-opacity | 1 | ||
Description
The opacity of the Input placeholder. | |||
$kendo-input-clear-value-text | k-get-theme-color-var( neutral-130 ) | ||
Description
The color of the Input clear value icon. | |||
$kendo-input-clear-value-opacity | .6 | ||
Description
The opacity of the Input clear value icon. | |||
$kendo-input-clear-value-hover-text | inherit | ||
Description
The color of the hovered Input clear value icon. | |||
$kendo-input-clear-value-hover-opacity | 1 | ||
Description
The opacity of the hovered Input clear value icon. |