3 ms·
They took the time to make a marketing landing page but couldn't take a few mins to put up the material-components-web demo online? That's one of the web's kill
by TheAceOfHearts 10y ago
They took the time to make a marketing landing page but couldn't take a few mins to put up the material-components-web demo online? That's one of the web's killer features! It's a bit disappointing to find that missing.
I'm ambivalent about material design. I'd love it if the spec were being developed in the open, instead of just throwing an update over the wall every few months. In the past I've noticed contradictions or bugs in the spec, but I don't have anywhere to report it. Can we report those to material-components [0]? In other cases I find the text confusing. Not that I blame the authors, since writing good documentation is very challenging. But people would be empowered to help improve it if were open.
Here's an example of a seeming contradiction in the buttons spec [1]: go to the "Size and padding" section. It shows "64dp min width" and it has "8dp external padding" on each side: 64dp + 8dp + 8dp = 80dp. But then below that it says "Minimum width: 88dp". Where does the remaining 8dp come from? Which one is correct? The "Minimum width: 88dp" point appears a few time, but it's contradicted by multiple buttons on the same page. For example, the dialog's "agree" button or the "share" button in the Top 10 Australian beaches card.
[0] https://github.com/material-components/material-components https://github.com/material-components/material-components
[1] https://material.io/guidelines/components/buttons.html https://material.io/guidelines/components/buttons.html
- susi22 10y agoThe demo is mostly here: https://getmdl.io/ https://getmdl.io/ A complete new implementation has been underway since roughly the beginning of this year. They called it v2.0 of mdl and has been under heavy development. Some of their designs is pretty nice: https://github.com/material-components/material-components-web/blob/master/docs/architecture.md https://github.com/material-components/material-components-w... With the linked announcement they just renamed the mdl project to "material-components-web", nothing more: https://github.com/google/material-design-lite/issues/4984 https://github.com/google/material-design-lite/issues/4984 https://github.com/material-components/material-components-web/commit/8d46ba05ecbc19af2d887cabbc0e3a88bf59be48 https://github.com/material-components/material-components-w... I just cloned their new repo and started the compiled demos. I see no difference in behavior/design of the new components compared to the old mdl but the architecture is much more modular and can easily be used in any JS framework.