rancher / dashboard

The Rancher UI
https://rancher.com
Apache License 2.0
465 stars 264 forks source link

[@rancher/components] Card.vue: Toggle box-shadow #8798

Open rak-phillip opened 1 year ago

rak-phillip commented 1 year ago

The default styles for Card.vue contain a box-shadow. There are multiple instances where the box-shadow is undesirable and it would be nice if the box-shadow could be disabled for the card component.

I think the best course of action would be to remove the box-shadow entirely and allow the consumer to define box-shadows as needed, but I can see how this would be a regression in existing styles so it's probably best to keep box-shadow enabled by default and allow for disabling it.

🔳 Acceptance Criteria

gaktive commented 1 year ago

Depends on what's decided on rancher/dashboard#8859 for the overall approach to cards.