Skip to content

fix: colors in token warnings#5787

Merged
just-toby merged 1 commit into
mainfrom
feat/update-warning-colors
Jan 4, 2023
Merged

fix: colors in token warnings#5787
just-toby merged 1 commit into
mainfrom
feat/update-warning-colors

Conversation

@just-toby
Copy link
Copy Markdown
Contributor

@just-toby just-toby commented Jan 4, 2023

https://uniswaplabs.atlassian.net/browse/WEB-1612?atlOrigin=eyJpIjoiYTgxYTE1MWU5ZjcyNDI5NWIwNTA0OTI0MzlhZGE1ZGMiLCJwIjoiaiJ9

updates the token warnings to use the correct colors matching design spec: https://www.figma.com/file/kNSDBMpOzxSTOP6MerohLm/Web-Design-Spec?node-id=8031%3A95901&t=KxoNn01mFw7AgQDh-0

also, updates the hooks for getting the colors so that we're not unnecessarily storing the colors in state variables.

and adds some unit tests for these hooks.

@just-toby just-toby requested a review from cartcrom January 4, 2023 22:25
@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 4, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
interface ✅ Ready (Inspect) Visit Preview Jan 4, 2023 at 10:30PM (UTC)

Copy link
Copy Markdown
Contributor

@cartcrom cartcrom left a comment

Choose a reason for hiding this comment

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

Looks great! Appreciate the tests and refactors

@just-toby just-toby merged commit e88a50d into main Jan 4, 2023
@just-toby just-toby deleted the feat/update-warning-colors branch January 4, 2023 23:14
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