Skip to content
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

feat: migrate Card to tailwind #14683

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

feat: migrate Card to tailwind #14683

wants to merge 1 commit into from

Conversation

corwintines
Copy link
Member

Description

  • Migrate src/components/Card/index.tsx from Chakra to tailwind
  • Fixes uses of this component to also be tailwind

Copy link

netlify bot commented Jan 15, 2025

Deploy Preview for ethereumorg ready!

Name Link
🔨 Latest commit 7f1479f
🔍 Latest deploy log https://app.netlify.com/sites/ethereumorg/deploys/678747a16ea3850008b63546
😎 Deploy Preview https://deploy-preview-14683--ethereumorg.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
7 paths audited
Performance: 44 (🔴 down 4 from production)
Accessibility: 92 (no change from production)
Best Practices: 89 (🔴 down 9 from production)
SEO: 98 (no change from production)
PWA: 59 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link
Member

@pettinarip pettinarip left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@corwintines left a couple of comments related to colors before we move forward with it.

<div
className={cn(
"flex flex-col justify-between space-y-4",
"rounded-sm bg-ednBackground",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"rounded-sm bg-ednBackground",
"rounded-sm bg-background-highlight",

className={cn(
"flex flex-col justify-between space-y-4",
"rounded-sm bg-ednBackground",
"border border-solid border-lightBorder",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"border border-solid border-lightBorder",
"border border-solid border-low-contrast",

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes mentioned before would avoid adding these colors as we don't want to support them anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants