-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Migrate EventCard to Shadcn #13966
Migrate EventCard to Shadcn #13966
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Thanks @nloureiro
Okay can update to 16px fontsize. With that we can probably normalise line height too?
We can handle that in #13967, which is the upcoming events grid wrapper |
yes, makes sense
ok, got it |
Updated font size implementation after discussion with @nloureiro: Mobile: 16px font size Rationale:
Changes implemented && ready for review :) |
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.
@minimalsm looks good, will add a small fix to use cn
function.
src/components/EventCard.tsx
Outdated
w="full" | ||
h="full" | ||
<Card | ||
className={`border-lightBorder flex h-full flex-col rounded-md border ${className}`} |
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.
Ah, what did you mean with lightBorder
?
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.
No idea, just going to remove lol
Co-authored-by: Pablo Pettinari <[email protected]>
Description
Notes
Hardcoded 1.6rem line height for the description text (per OldText) as the defaults we have varied too much from the current design. Our designers should pull this component in line with current DS.
Slight differences in spacing compared to the original design (which had kind of unusual spacing). IMO, these are improvements but defer to @nloureiro
I've hardcoded the background colors (
bg-[#FCFCFC] dark:bg-[#272627]
) in the CardHeader. Our default theme values didn't provide a good match for this use case. another area where we might want to consult with designRelated Issue
#13946