From 2bd4051fa5c9b8a294e8bac4308c901a15b9645e Mon Sep 17 00:00:00 2001 From: Henry Date: Thu, 17 Apr 2025 14:16:37 +0100 Subject: [PATCH] fix: missing light mode colours for delete workspace modal --- apps/web/src/components/Button.tsx | 4 ++-- .../settings/components/DeleteWorkspaceConfirmation.tsx | 5 ++++- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/apps/web/src/components/Button.tsx b/apps/web/src/components/Button.tsx index 228a8965..8034fe9f 100644 --- a/apps/web/src/components/Button.tsx +++ b/apps/web/src/components/Button.tsx @@ -36,10 +36,10 @@ const Button = ({ variant === "secondary" && "border-[1px] border-light-600 bg-light-50 text-light-1000 dark:border-dark-600 dark:bg-dark-300 dark:text-dark-1000", variant === "danger" && - "dark:text-red-1000 border-[1px] border-red-600 bg-red-50 dark:border-red-600 dark:bg-red-500", + "dark:text-red-1000 border-[1px] border-red-600 bg-red-500 dark:border-red-600 dark:bg-red-500", variant === "ghost" && "bg-none text-light-1000 shadow-none hover:bg-light-300 dark:text-dark-1000 dark:hover:bg-dark-200", - props.disabled && "opacity-50", + props.disabled && "opacity-60", ); const content = ( diff --git a/apps/web/src/views/settings/components/DeleteWorkspaceConfirmation.tsx b/apps/web/src/views/settings/components/DeleteWorkspaceConfirmation.tsx index ceb62f25..d7bd20a7 100644 --- a/apps/web/src/views/settings/components/DeleteWorkspaceConfirmation.tsx +++ b/apps/web/src/views/settings/components/DeleteWorkspaceConfirmation.tsx @@ -77,7 +77,10 @@ export function DeleteWorkspaceConfirmation() { />
-

+

I acknowledge that all of the workspace data will be permanently deleted and want to proceed.