From 8b94406730ffaf32fa39618a0662894c8f5b47db Mon Sep 17 00:00:00 2001 From: Hunter Caron Date: Wed, 5 Aug 2026 11:35:54 +0200 Subject: [PATCH] Improve dark theme deletion button styling --- plugins/code-link/src/App.css | 14 ++++++++++++++ plugins/code-link/src/App.tsx | 2 +- 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/plugins/code-link/src/App.css b/plugins/code-link/src/App.css index 3629169d6..9d4e04e47 100644 --- a/plugins/code-link/src/App.css +++ b/plugins/code-link/src/App.css @@ -113,6 +113,20 @@ html, .destructive-button:active { background: #cf2e55; } + +[data-framer-theme="dark"] .framer-button-primary.destructive-button { + background: #ff3366; +} + +[data-framer-theme="dark"] .framer-button-primary.destructive-button:hover, +[data-framer-theme="dark"] .framer-button-primary.destructive-button:focus { + background: #e7315e; +} + +[data-framer-theme="dark"] .framer-button-primary.destructive-button:active { + background: #cf2e55; +} + /* Copy Button */ .copy-button { display: flex; diff --git a/plugins/code-link/src/App.tsx b/plugins/code-link/src/App.tsx index a6d0d84c3..43b0f5bbb 100644 --- a/plugins/code-link/src/App.tsx +++ b/plugins/code-link/src/App.tsx @@ -355,7 +355,7 @@ function DeletePanel({ files, onConfirm, onKeep }: DeletePanelProps) { } : { title: "Confirm Deletion", - description: "Code file was deleted locally and will be permanently removed from this Project.", + description: "File was deleted locally and will be permanently removed from this Project.", } const lines = files.map(file => file.content?.split("\n").length ?? 0)