Expose padding as css variables for the ArcCard
component
#159
Replies: 2 comments 1 reply
-
I would support this change, as it would dramatically increase the use cases of the |
Beta Was this translation helpful? Give feedback.
-
The ARC core team had a catch up yesterday where this was discussed. We feel that exposing the padding of the We believe that exposing a card background colour variable would be possible here however I understand this would not sure your use case of wanting to style just the background of the header. Daragh's suggestion for a solution is that the design should be adjusted to better represent the ARC design system, and perhaps an |
Beta Was this translation helpful? Give feedback.
-
The dev team on TDA would like to request comments for a change that the
ArcCard
component exposes its enforced padding (https://github.com/arup-group/arc-components/blob/dev/src/components/card/arc-card.styles.ts#L28-L32) as a CSS variable.This will allow the
ArcCard
component to cover many more use cases when slotting elements into the header body and footer.Changes proposed something along the lines of:
Resulting in:
Beta Was this translation helpful? Give feedback.
All reactions