-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: record object chip background color when idle (not hovered) #4662
fix: record object chip background color when idle (not hovered) #4662
Conversation
Welcome!
Hello there, congrats on your first PR! We're excited to have you contributing to this project. |
Thanks @emadbaqeri I think the issue only referred to StyledBoardCardHeader only (check RecordBoardCard.tsx and probably change it there). You'll have to add this variant to the recordChip as I see it's only available at the entityChip level now cc @Bonapara |
I not sure I understand this so I'm asking a dummy question, you mean I should do something like this? export type RecordChipProps = {
...,
variant?: EntityChipVariant;
};
<RecordChip variant={EntityChipVariant.Transparent} /> And this way we can control the |
Yes that's how I would have done it too! That way we can follow the design that's on the issue |
I've updated the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you for contributing @emadbaqeri :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should pass the variant in StyledBoardCardHeader, not change the default variant for all RecordChips :)
(look at the design on the issue, it's only the header of the card)
…ect_chip_background_color_when_idle
@FelixMalfait is it ok for you now? |
…ect_chip_background_color_when_idle
Fixes #4651
Screen.Recording.2024-03-26.at.15.08.16.mov