svelte-material-ui icon indicating copy to clipboard operation
svelte-material-ui copied to clipboard

How to customize Chips?

Open robsch opened this issue 3 years ago • 1 comments

It's quite hard for me finding out how to customize smui items.

I'd like to use Chips as a filter. It's working so far, I just want to style things differently. So how could I do that: instead of showing a check mark I just want to change the the background and the foreground color when a Chip is selected.

Can anyone show an example? Or is smui not the right library for such customizations?

robsch avatar Jul 09 '21 06:07 robsch

I just added this style :global(.mdc-chip--selected){ background-color: orange !important; }

debordem avatar Feb 16 '22 18:02 debordem