10000 fix: update `WorkspacesEmpty.tsx` from material ui to tailwind by rohansinha01 · Pull Request #16886 · coder/coder · GitHub
[go: up one dir, main page]

Skip to content

fix: update WorkspacesEmpty.tsx from material ui to tailwind #16886

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

Merged
merged 7 commits into from
Mar 17, 2025

Conversation

rohansinha01
Copy link
Contributor

Attached screenshots of code that I updated on WorkspacesEmpty.tsx
Screenshot 2025-03-11 at 9 16 16 PM
Screenshot 2025-03-11 at 9 14 49 PM
Screenshot 2025-03-11 at 9 13 23 PM
Screenshot 2025-03-11 at 9 12 52 PM
Screenshot 2025-03-11 at 9 12 29 PM
Screenshot 2025-03-11 at 9 11 49 PM
Screenshot 2025-03-11 at 9 11 03 PM
Screenshot 2025-03-11 at 9 10 35 PM
Screenshot 2025-03-11 at 9 09 00 PM
Screenshot 2025-03-11 at 8 56 48 PM
Screenshot 2025-03-11 at 8 55 40 PM
Screenshot 2025-03-11 at 8 55 09 PM
Screenshot 2025-03-11 at 8 24 56 PM
Screenshot 2025-03-11 at 8 24 35 PM
Screenshot 2025-03-11 at 8 21 19 PM
Screenshot 2025-03-11 at 8 20 56 PM
Screenshot 2025-03-11 at 5 52 38 PM
Screenshot 2025-03-11 at 5 52 11 PM

@cdr-bot cdr-bot bot added the community Pull Requests and issues created by the community. label Mar 12, 2025
Copy link
github-actions bot commented Mar 12, 2025

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@Kira-Pilot Kira-Pilot requested review from aslilac and brettkolodny and removed request for aslilac March 12, 2025 01:28
@Kira-Pilot
Copy link
Member

@brettkolodny can you help review this PR?
@aslilac, tagging so this is on your radar and so you can assist :)

@rohansinha01
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

cdrci2 added a commit to coder/cla that referenced this pull request Mar 12, 2025
@brettkolodny brettkolodny changed the title rohansinha updated material ui to tailwind fix: update WorkspacesEmpty.tsx from material ui to tailwind Mar 12, 2025
backgroundColor: theme.palette.background.paper,
},
})}
className="w-[320px] p-4 rounded-md border border-divider text-left flex gap-4 no-underline text-inherit hover:bg-paper"
Copy link
Member

Choose a reason for hiding this comment

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

the old theme.palette.divider and theme.palette.background.paper colors haven't been carried over from material ui to tailwind, so border-divider and hover:bg-paper are not actually valid classes.

if you look at the failing chromatic tests, you can see what it looked like before and what it looks like now. you can see the set of available tailwind colors in our tailwind.config.js file, and their actual values in index.css. the match doesn't have to be exact, but the colors should be close.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Updated the colors to the closest that I could see which was border-surface-grey.

@mat
8000
ifali matifali requested a review from aslilac March 14, 2025 20:07
@brettkolodny
Copy link
Contributor

Looking good after those color changed!

@rohansinha01
Copy link
Contributor Author

Took another look at the code this morning and saw the colors were a little off and found better matching ones.

@aslilac
Copy link
Member
aslilac commented Mar 17, 2025

looks good! thank you!

@aslilac aslilac merged commit 83f1d82 into coder:main Mar 17, 2025
29 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Mar 17, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
community Pull Requests and issues created by the community.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0