zakodium-oss / react-science

React components and tools to build scientific applications.
https://react-science.pages.dev
MIT License
3 stars 6 forks source link

fix: include alpha in hex code for semi-transparent colors #758

Closed hamed-musallam closed 2 months ago

hamed-musallam commented 2 months ago

I updated the toState function which is responsible for managing the color on the color picker component to include the alpha channel in the hex color when the alpha is less than 100%.

cloudflare-workers-and-pages[bot] commented 2 months ago

Deploying react-science with  Cloudflare Pages  Cloudflare Pages

Latest commit: 69eb407
Status: ✅  Deploy successful!
Preview URL: https://191fa1d0.react-science.pages.dev
Branch Preview URL: https://fix-color-picker-alpha.react-science.pages.dev

View logs