Skip to content

Conversation

@mzaien
Copy link
Contributor

@mzaien mzaien commented Dec 22, 2020

Hello it is my pleasure to help in enhancing React-Query,
the button it turned to be more of an orange but it have almost double contrast ratio

@vercel
Copy link

vercel bot commented Dec 22, 2020

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/tannerlinsley/react-query/6kn3retkc
✅ Preview: https://react-query-git-fork-mzaien-master.tannerlinsley.vercel.app

danger: '#ff0085',
active: '#006bff',
warning: '#ffb200',
warning: '#ff6200',
Copy link
Member

Choose a reason for hiding this comment

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

This works! However, I think we could probably just make the text black for that button like the rest of the tools.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

For All other buttons? or just for the new one,
because it is kinda off having this button with different color (inconsistent)

Copy link
Member

Choose a reason for hiding this comment

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

Anything with the yellow background should have black text I think.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Got it 👍🏻, What do you thing if it was moved to this place to make it more consistent 👇
image

Copy link
Member

Choose a reason for hiding this comment

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

The order before was from most useful to least. What is this order inspired from?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

White text buttons then the black one
if it makes bad DX it shall remain as is

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sorry for making this PR as long as this, i wanted to make a good one 😅

Copy link
Member

Choose a reason for hiding this comment

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

I personally like the order as is. And no worries on the PR! These are the interactions that bring us all closer :)

@tannerlinsley
Copy link
Member

🎉 This PR is included in version 3.5.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants