TheComputerM / svelte-materialify

A Material UI Design Component library for Svelte heavily inspired by vuetify.

Home Page:https://svelte-materialify.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support to customize Select Component color

pmutshipayi opened this issue · comments

I think it should be good to add a way to customize the Select component color, the way we do with TextField.

And check the source code I found that the Select component under the hood uses the TextField and the ListItemGroup.
the TextField has a color prop and the ListItemGroup has also class props that can be used to customize the color

So I think we can pass two props to Select one to specify the color of the TextField and the one the class of the ListItemGroup.

Example:

   <Select textFieldColor="#1DA57A" listClass="green-text" />

This way I think we will be able to customize the Select component color.