jadrake75 / ng-scrolling-table

MIT License
8 stars 2 forks source link

Provide theme compatibility to angular-material #80

Open jadrake75 opened 9 years ago

jadrake75 commented 9 years ago

The angular-material project looks interesting and it might be a good idea to have ng-scrolling-table aligned with the theming of this. Proposal would be to use themed classes where appropriate within ng-scrolling-table to give it a material L&F and behavior

Xanir commented 9 years ago

To what extend are you planning on supplying a theme? Are you wanting to supply a fully themed component or something that only provided the bare essentials, such as the layering such that Material describes, and leave the actual theming to the users of the component?

jadrake75 commented 9 years ago

Maybe nothing so extreme. Material does not really cover tables to my understanding as they mostly focus on list views. But that doesn't always work and there is a place for tables. If we think about the table itself the styles could largely be described as

control fonts borders control background (for things like buttons - analogous to table headers?) content background (for rows) and maybe a style for striping color for selection highlight should be based on a theme color/style defined in material

We should be able to abstract the styles such that when ng-scrolling-table is used in a material angular project it looks and feels like it belongs rather than a standout

Xanir commented 9 years ago

How does this related to #55