-
Notifications
You must be signed in to change notification settings - Fork 264
feat: card ui revamp #4630
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
base: main
Are you sure you want to change the base?
feat: card ui revamp #4630
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Skipped Deployment
|
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.
Just blocking on the color, otherwise e2e looks good.
packages/shared/tailwind/colors.ts
Outdated
@@ -121,7 +121,7 @@ const colors = { | |||
10: '#68A6FC', | |||
20: '#5C9BFA', | |||
30: '#508CF9', | |||
40: '#427EF7', | |||
40: '#5C9BFA', |
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.
This should never change actually 🤯
Why is this different now?
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.
It's a bit subtler indeed, but also wonder if it's due to you being used to the old style 😅 I'll raise it to design to see what they have to say! |
@rebelchris |
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.
Looks good to me :)
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.
One last thing. This should be an experiment. My fault on this one 🙈 🙏
@@ -135,7 +138,7 @@ export const ArticleGrid = forwardRef(function ArticleGrid( | |||
showFeedback && styles.read, | |||
)} | |||
> | |||
<CardTextContainer> | |||
<CardTextContainer className={classNames(postUiExp && 'mx-4')}> |
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.
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.
@sshanzel I think its a bit misleading because if you click in a level or two to see the actual text distance, its 16
Screen.Recording.2025-07-10.at.15.34.47.mov
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.
If the outer container does not havew the right padding, then yeah, mx-4 should be good.
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.
Looks amazing. Just check whether the icon was accidentally removed.
Changes
Usually I'd post screenshots, but since this is about the post cards themselves, it's probably nicer to just use the preview! 😄
DESIGN
Events
Did you introduce any new tracking events?
Experiment
Did you introduce any new experiments?
Manual Testing
Caution
Please make sure existing components are not breaking/affected by this PR
Jira ticket
MI-915
Preview domain
https://mi-915.preview.app.daily.dev