Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(card): Do not apply text color to slotted footer items (#8839)
**Related Issue:** #8855 ## Summary This removes the styles set on footer elements, as it could unintentionally style components slotted directly that themselves do not ensure a text color is set. The workaround is to add a wrapping div that itself is slotted in `footer-end` or `footer-start`. <img width="439" alt="Screenshot 2024-02-27 at 12 01 36 PM" src="https://github.com/Esri/calcite-design-system/assets/4733155/eec057d9-b6ab-45b7-bc50-b283e1f4f9d8"> The `heading` and `description` (and deprecated `title` and `subtitle`) should keep their default text styles as these are most often text slotted directly. In the future it might be good to make these string properties to incentivize consistency, keeping the option to slot in rich content like links, icons, etc., when needed.
- Loading branch information