malzariey / filament-daterangepicker-filter

MIT License
97 stars 43 forks source link

Style Not Match With Default Filament Style #30

Closed untillnesss closed 1 year ago

untillnesss commented 1 year ago

the style of the Text Field type Date Range is not the same as the style provided by the default Filament, so it's a bit odd.

image

The code is like this

image

malzariey commented 1 year ago

The white color is still following filament default font (Selected Value - Input Value). But you can always override the css. Filamentphp demo

untillnesss commented 1 year ago

The white color is still following filament default font (Selected Value - Input Value). But you can always override the css. Filamentphp demo

How to override the css.?

malzariey commented 1 year ago

Register your style and use the following selector:

input[x-ref="daterange"] {
    color: yellow !important;
}