vitmalina / w2ui

UI widgets for modern apps. Data table, forms, toolbars, sidebar, tabs, tooltips, popups. All under 120kb (gzipped).
http://w2ui.com
MIT License
2.65k stars 731 forks source link

There are colors embedded in the JavaScript #1853

Open mdavis1960 opened 5 years ago

mdavis1960 commented 5 years ago

Search for '1px solid' and you will find color references to silver, #aaa, #ddd, #BABABA, #efefef, etc. in w2field.js, w2grid.js, w2toolbar.js, and w2utils.js. Why was this done and can I fix it?

This is a great library except for how difficult it has been to restyle it to fix nicely into my site. How are the colors managed? There are so many colors used all over the .less, why not user variables for the colors to make it easier to restyle, especially the colors?

mpf82 commented 3 years ago

Moving the styling away from the DOM and into the CSS file (where it makes sense) is on the roadmap for 2.0

I will tag this issue as a feature request and leave it open for now.

josephclaytonhansen commented 4 months ago

with 2.0 released, is this fixed?