Destructive actions can have destructive colors in examples
Currently, there are no visible destructive actions in the examples section. Even if a user changes the destructive color in the Theme Control Panel, there are very few instances where the change is reflected.
We could update the dashboard example in our editor to include a visible destructive element such as a ‘Delete’ button so users can clearly see how the destructive color is applied.
Shadcn follows the same pattern: https://ui.shadcn.com/examples/dashboard
If this seems good enough, can raise a PR after discussion!
Current
After Changes
https://github.com/user-attachments/assets/b452c358-c181-4403-9cd3-5a7b890974d8
It seems that there is no showcasing at all of the application of destructive colors, is that correct?
I agree, I found one instance so thought of highlighting it
Is it good to go, should I make a PR for it? @guplem @Rishit30G @jnsahaj ? Can you assign this issue to me?
Feel free to create a PR!
@jnsahaj I’ve submitted a PR. Please review it and share your feedback when you get a chance.