kartik-v / yii2-widgets

Collection of useful widgets for Yii Framework 2.0
http://demos.krajee.com/widgets
Other
558 stars 176 forks source link

Material theme for your widgets #312

Open karmac2015 opened 8 years ago

karmac2015 commented 8 years ago

Hello Kartik,

I suggest you add the material theme option to your widgets (example in Select2 theme option)

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/36228577-material-theme-for-your-widgets?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github).
kartik-v commented 8 years ago

Not sure on this. Can you submit a PR?

karmac2015 commented 8 years ago

Here you can see an implementation of material design for bootstrap.

friek108 commented 7 years ago

@karmac2015 That's one library, there's also MDBootstrap which whilst not as popular just yet, seems to be much more extensive.

@kartik-v I've just started a project using MaterializedCss. It's pretty good and not based on bootstrap, but proving impossible to use these widgets outside of bootstrap. Do you think it is practical/possible to develop widgets in the future independent of a framework (like bootstrap)?

After using materializedcss, I don't really want to go back to bootstrap when using Material Design mainly because it's just so fast, lightweight and very simple out of the box.. (see more here) but I might have to do so (just because of your widgets!)

kartik-v commented 7 years ago

Yes this can be begun as a variation framework for all widgets to work with different themes... feel free to start as a pull request. The starting point is yii2-krajee-base.

Will dig in and add my thoughts as and when I get time.

friek108 commented 7 years ago

Not sure what the best approach would be. From some brief thinking, some of the options could be:

Also to consider is the priority of something like this for most yii2 users.