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

+14
View File
@@ -3458,6 +3458,20 @@
padding: 0.5rem 0;
}
/* Delete is destructive - always red, regardless of the active design's
accent color. Selector nests one level deeper than the shared rules
above so it reliably wins the cascade instead of relying on source order. */
.ts-design-theme-card-actions .ts-design-theme-card-delete {
background: linear-gradient(to bottom, #d64545, #b23a3a);
border-color: #8f2c2c;
color: #fff;
}
.ts-design-theme-card-actions .ts-design-theme-card-delete:hover:not(:disabled) {
background: linear-gradient(to bottom, #e85d5d, #c94444);
border-color: #e85d5d;
}
.ts-design-store-card-actions {
margin-top: 0.5rem;
}