New to Kendo UI for Angular? Start a free 30-day trial
Customizing Filter
Variables
The following table lists the available variables for customization.
Name | Type | Default value | Computed value |
---|---|---|---|
$kendo-filter-padding-x | String | $kendo-padding-md-x | var(--kendo-spacing-2, 0.5rem) |
Description
The horizontal padding of the Filter. | |||
$kendo-filter-padding-y | String | $kendo-padding-md-y | var(--kendo-spacing-1, 0.25rem) |
Description
The vertical padding of the Filter. | |||
$kendo-filter-bottom-margin | String | k-spacing(7.5) | var(--kendo-spacing-7\.5, 1.875rem) |
Description
The bottom margin of the Filter. | |||
$kendo-filter-line-size | Number | 1px | 1px |
Description
The width of the line that connects the Filter items. | |||
$kendo-filter-operator-dropdown-width | Number | 15em | 15em |
Description
The width of the dropdown elements in the Filter items. | |||
$kendo-filter-text | String | var( --kendo-component-text, initial ) | var(--kendo-component-text, initial) |
Description
The text color of the Filter. | |||
$kendo-filter-preview-field-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 Filter preview field. | |||
$kendo-filter-preview-operator-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 Filter preview operator. | |||
$kendo-filter-line-bg | String | var( --kendo-component-border, initial ) | var(--kendo-component-border, initial) |
Description
The background color of the line that connects the Filter items. | |||
$kendo-filter-toolbar-focus-border | String | if($kendo-enable-color-system, k-color( base-emphasis ), k-get-theme-color-var( neutral-130 )) | var(--kendo-color-base-emphasis, #605e5c) |
Description
The border color of the focused Filter. |