snapshot-labs / sx-ui

An open source interface for Snapshot X protocol.
https://snapshotx.xyz
MIT License
34 stars 29 forks source link

chore: Add color variables from Figma and refactor #865

Closed samuveth closed 8 months ago

samuveth commented 8 months ago

Summary

Add color variables from the design system on Figma.

Also fixes a small bug where the disabled button text color wasn't the correct one because of missing rgb().

This PR mostly adds the color variables, we will start using them all in future PRs

How to test

  1. Open two tabs with both versions to compare and click through the UI
Sekhmet commented 8 months ago

@samuveth can you link to Figma?

samuveth commented 8 months ago

https://www.figma.com/file/TnYkSDoOvjaxbRpwSfXGhO/%23library?node-id=72%3A2774&mode=dev

Sekhmet commented 8 months ago

@samuveth I think we will have some changes to the naming (positive to success) etc. Do you think this should wait?

samuveth commented 8 months ago

Yes, I will make those changes

samuveth commented 8 months ago

Done