tweakcn icon indicating copy to clipboard operation
tweakcn copied to clipboard

Destructive actions can have destructive colors in examples

Open Rishit30G opened this issue 4 months ago • 5 comments

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

Image

After Changes

https://github.com/user-attachments/assets/b452c358-c181-4403-9cd3-5a7b890974d8

Rishit30G avatar Jul 29 '25 04:07 Rishit30G

It seems that there is no showcasing at all of the application of destructive colors, is that correct?

guplem avatar Aug 29 '25 08:08 guplem

I agree, I found one instance so thought of highlighting it

Rishit30G avatar Aug 29 '25 09:08 Rishit30G

Is it good to go, should I make a PR for it? @guplem @Rishit30G @jnsahaj ? Can you assign this issue to me?

sujal12344 avatar Sep 23 '25 08:09 sujal12344

Feel free to create a PR!

jnsahaj avatar Oct 27 '25 12:10 jnsahaj

@jnsahaj I’ve submitted a PR. Please review it and share your feedback when you get a chance.

sujal12344 avatar Oct 27 '25 14:10 sujal12344