Design store: make the delete button red in every design

Explicit red instead of the theme's accent color, so it stays visually
distinct as a destructive action regardless of the active design. The
confirm() prompt before deletion was already there.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Hu2cuPLqpuKVfd9wWFFakU
This commit is contained in:
MoepchiandClaude Sonnet 5 committed 2026-09-18 10:32:59 +00:00
1 parent ed9fb80a9b
commit cfd9503313
2 files changed
+15

No files matched your search

+1
View File
@@ -5421,6 +5421,7 @@ function DesignPanel({
</ActionIcon>
</button>
<button
className="ts-design-theme-card-delete"
onClick={() => {
if (window.confirm(t("design.custom.deleteConfirm"))) onDeleteCustomTheme(theme.id);
}}