From baa1e3a6c5ef5b2da838671ca2c9af13cacfe81d Mon Sep 17 00:00:00 2001 From: Jeremy Ruppel Date: Mon, 10 Aug 2026 15:57:51 -0400 Subject: [PATCH] fix(site): make delete dialog confirmation text use primary color (#28002) ## Summary In the workspace delete confirmation dialog, the text typed into the "Workspace name" confirmation field rendered in the same secondary color as the placeholder, making it hard to distinguish entered text from the placeholder. The shared `Input` component uses `text-inherit`, so it picked up the dialog description's secondary text color. This sets the confirmation input's text to `text-content-primary` (white on dark), while the placeholder remains `text-content-secondary`. ## Changes - `WorkspaceDeleteDialog.tsx`: add `className="text-content-primary"` to the confirmation `Input`. ##### Before https://github.com/user-attachments/assets/88dbb230-feb6-416c-b516-9cc92950a0b8 ##### After https://github.com/user-attachments/assets/74296b9e-cbdf-40fe-ba3d-6fbcf5d4a9d5 --- _This PR was generated by Coder Agents on behalf of @jeremyruppel._ --- .../workspaces/WorkspaceMoreActions/WorkspaceDeleteDialog.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/site/src/modules/workspaces/WorkspaceMoreActions/WorkspaceDeleteDialog.tsx b/site/src/modules/workspaces/WorkspaceMoreActions/WorkspaceDeleteDialog.tsx index ef4df7bd9a..59c193e996 100644 --- a/site/src/modules/workspaces/WorkspaceMoreActions/WorkspaceDeleteDialog.tsx +++ b/site/src/modules/workspaces/WorkspaceMoreActions/WorkspaceDeleteDialog.tsx @@ -100,6 +100,7 @@ export const WorkspaceDeleteDialog: FC = ({