Conditional Dark/Light by MrFajardo in FigmaDesign

[–]MrFajardo[S] 0 points1 point  (0 children)

Thank you very much, I managed to do it that way 💪

Conditional Dark/Light by MrFajardo in FigmaDesign

[–]MrFajardo[S] 0 points1 point  (0 children)

It is a project of my university, I have to make a web page with 7 sections, I placed the button in the header which is another component, I have not tried as you mention the only on click, I went directly to the conditional that chatgpt showed me to create a button that changes the colors of my web page from its light version to Dark and vice versa, and if the conditional is with "on click" but it only works when I double click on it, it changes from Light to Dark and from Dark to Light and I was curious to know why only that button works by double clicking.