material-components / material-components-web-catalog

Catalog of Material Components for the web (MDC Web)
https://material-components.github.io/material-components-web-catalog/
Apache License 2.0
116 stars 42 forks source link

Card variants should not include catalog-specific classes #285

Open asyncLiz opened 4 years ago

asyncLiz commented 4 years ago

See https://github.com/material-components/material-components-web/issues/5925

Current variants use catalog-specific classes that show off different layouts. These can be misleading since the sample code cannot be copied without the CSS from the catalog.

Additionally, these are not true "variants" of the card. The only variants of the card are the normal elevated card and the outlined card.