saadeghi / daisyui

๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ ๐ŸŒผ โ€ƒThe most popular, free and open-source Tailwind CSS component library
https://daisyui.com
MIT License
31.97k stars 1.23k forks source link

bug: Theme generator copy / paste issue #3092

Closed juanabbona closed 1 week ago

juanabbona commented 1 week ago

What version of daisyUI are you using?

No response

Which browsers are you seeing the problem on?

No response

Reproduction URL

https://daisyui.com/theme-generator/

Describe your issue

If you double click a hex color field in the theme generator to select the whole value and copy it, when you paste it into another field in the generator the color preview square to the left is not updated and the generator preview freezes.

This error shows up in the browser console <span style="color: oklch(0.925604 0.025113 89.2173);">#F58549</span> is not a valid color.

What browsers are you seeing the problem on?

Arc

github-actions[bot] commented 1 week ago

Thank you @juanabbona for reporting issues. It helps daisyUI a lot ๐Ÿ’š
I'll be working on issues one by one. I will help with this one as soon as a I find a solution.
In the meantime providing more details and reproduction links would be helpful.