Commit Graph

7 Commits

Author SHA1 Message Date
Elizabeth Mitchell
84536d7416 chore: update components to use custom properties from tokens
PiperOrigin-RevId: 601597083
2024-01-25 16:13:41 -08:00
Elizabeth Mitchell
9c5cff8f90 fix(labs): card content not clickable with outline fix
Fixes #5312

PiperOrigin-RevId: 592594621
2023-12-20 10:20:39 -08:00
Elizabeth Mitchell
53ec44b4b8 fix(labs): add card support for high contrast mode
PiperOrigin-RevId: 591038474
2023-12-14 13:38:48 -08:00
Elizabeth Mitchell
a0baa4dc10 chore(card): remove host padding and update demo
Cards often have content that extends to the bounds of the card. Instead of adding default padding that must be removed, cards' content should add their own padding as needed.

This makes adding full-width media and dividers easier.

Also moved background z-indices to -1 since the slot doesn't have a display and the z-index wasn't doing anything.

PiperOrigin-RevId: 587883362
2023-12-04 16:58:37 -08:00
Elizabeth Mitchell
0ebd7c786b chore(card): add styles and tests
PiperOrigin-RevId: 576660710
2023-10-25 15:19:48 -07:00
Elizabeth Mitchell
1b39ab74ce chore(card): add Sass theming apis
PiperOrigin-RevId: 576653714
2023-10-25 14:57:34 -07:00
Elizabeth Mitchell
dcfd35a7a3 chore(card): add boilerplate files
PiperOrigin-RevId: 576646068
2023-10-25 14:31:37 -07:00