New to Kendo UI for Angular? Start a free 30-day trial

Customizing Filter

Variables

The following table lists the available variables for customization.

NameTypeDefault valueComputed value
$kendo-filter-padding-xString$kendo-padding-md-xvar(--kendo-spacing-2, 0.5rem)
Description
The horizontal padding of the Filter.
$kendo-filter-padding-yString$kendo-padding-md-yvar(--kendo-spacing-1, 0.25rem)
Description
The vertical padding of the Filter.
$kendo-filter-bottom-marginStringk-spacing(7.5)var(--kendo-spacing-7\.5, 1.875rem)
Description
The bottom margin of the Filter.
$kendo-filter-line-sizeNumber1px1px
Description
The width of the line that connects the Filter items.
$kendo-filter-operator-dropdown-widthNumber15em15em
Description
The width of the dropdown elements in the Filter items.
$kendo-filter-textStringvar( --kendo-component-text, initial )var(--kendo-component-text, initial)
Description
The text color of the Filter.
$kendo-filter-preview-field-textStringif($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-textStringif($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-bgStringvar( --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-borderStringif($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.

In this article

Not finding the help you need?