NileshPatel17 / ng-multiselect-dropdown

Multiple Select Dropdown Component
https://nileshpatel17.github.io/ng-multiselect-dropdown/
326 stars 287 forks source link

Custome style support #78

Open ghost opened 6 years ago

ghost commented 6 years ago

Feature request: Adding custom CSS

Firstly, thanks to a great library. It works like charm. My problem is that I am trying to customize the dropdown menu and the colors according to my theme. I understand there is no custom style support currently. Please take a look at this feature request.

Thanks in advance!

SvilenYanovski commented 5 years ago

I've used a workaround fix in order to style some dropdown components like that:

:host::ng-deep.selected-item { border-radius: 6px !important; background: #999999 !important; border: 1px solid #999999 !important; }

for example this will change the background of the selected items to grayish and will round a little bit more the borders.

It works, but ng-deep is deprecated...

ghost commented 5 years ago

I know @SvilenYanovski That's just a hack. What I am asking is a feature request.

pawel-dubilowicz commented 5 years ago

+1 (and thanks for the hack @SvilenYanovski )