From c2744cbe079829539472076fadd8894c4b9a9b4e Mon Sep 17 00:00:00 2001 From: ephraimduncan Date: Tue, 7 Jul 2026 06:29:20 +0000 Subject: [PATCH] fix: replace typo'd tailwind classes that generate no css Audited every className token in the repo by compiling them against the shared tailwind config and diffing generated selectors. The following dead tokens were replaced with the intended, existing ones: - text-sbase -> text-base (document invite email button, botched sm->base edit) - text-primary-forground -> text-foreground (admin license card; the literal spelling fix would render 10% lightness text on the dark card, the inherited foreground colour is the intended look) - tracking-tigh -> tracking-tight (signing waiting page heading) - font-sm -> text-sm (4 delete-confirmation dialogs) - dark:text-muted-background -> dark:text-muted (field drag ghost in 4 flows; restores the dark mode readability fix intended by #1242) - placeholder:text-foreground-muted -> placeholder:text-muted-foreground (command palette input) - text-medium -> font-medium (org create dialog free plan, matches paid plans) - text-md -> text-base (envelope drop zone hint) - justify-left -> justify-start (member invite remove button, no visual change) - removed stray "gradie" fragment and text-dark (no dark colour exists) No visual change except where the dead class silently disabled intended styling (email button size, drag ghost dark mode text, dialog confirm text size). --- apps/remix/app/components/dialogs/folder-delete-dialog.tsx | 2 +- .../app/components/dialogs/organisation-create-dialog.tsx | 2 +- .../dialogs/organisation-email-domain-delete-dialog.tsx | 2 +- .../dialogs/organisation-member-invite-dialog.tsx | 2 +- apps/remix/app/components/dialogs/token-delete-dialog.tsx | 2 +- apps/remix/app/components/dialogs/webhook-delete-dialog.tsx | 2 +- .../components/embed/authoring/configure-fields-view.tsx | 2 +- apps/remix/app/components/general/admin-license-card.tsx | 2 +- .../envelope-editor/envelope-editor-fields-drag-drop.tsx | 2 +- .../general/envelope/envelope-drop-zone-wrapper.tsx | 2 +- apps/remix/app/routes/_recipient+/sign.$token+/waiting.tsx | 2 +- .../email/template-components/template-document-invite.tsx | 2 +- packages/ui/primitives/command.tsx | 2 +- packages/ui/primitives/document-flow/add-fields.tsx | 2 +- .../field-items-advanced-settings/dropdown-field.tsx | 2 +- .../ui/primitives/template-flow/add-template-fields.tsx | 6 ++---- 16 files changed, 17 insertions(+), 19 deletions(-) diff --git a/apps/remix/app/components/dialogs/folder-delete-dialog.tsx b/apps/remix/app/components/dialogs/folder-delete-dialog.tsx index e05f943b3..aca0e7e31 100644 --- a/apps/remix/app/components/dialogs/folder-delete-dialog.tsx +++ b/apps/remix/app/components/dialogs/folder-delete-dialog.tsx @@ -122,7 +122,7 @@ export const FolderDeleteDialog = ({ folder, isOpen, onOpenChange }: FolderDelet Confirm by typing:{' '} - {deleteMessage} + {deleteMessage} diff --git a/apps/remix/app/components/dialogs/organisation-create-dialog.tsx b/apps/remix/app/components/dialogs/organisation-create-dialog.tsx index 183dfbeec..c76bc00a2 100644 --- a/apps/remix/app/components/dialogs/organisation-create-dialog.tsx +++ b/apps/remix/app/components/dialogs/organisation-create-dialog.tsx @@ -336,7 +336,7 @@ const BillingPlanForm = ({ value, onChange, plans, canCreateFreeOrganisation }: >
-

+

Free

diff --git a/apps/remix/app/components/dialogs/organisation-email-domain-delete-dialog.tsx b/apps/remix/app/components/dialogs/organisation-email-domain-delete-dialog.tsx index c903cd079..a0308e530 100644 --- a/apps/remix/app/components/dialogs/organisation-email-domain-delete-dialog.tsx +++ b/apps/remix/app/components/dialogs/organisation-email-domain-delete-dialog.tsx @@ -115,7 +115,7 @@ export const OrganisationEmailDomainDeleteDialog = ({ Confirm by typing{' '} - {deleteMessage} + {deleteMessage} diff --git a/apps/remix/app/components/dialogs/organisation-member-invite-dialog.tsx b/apps/remix/app/components/dialogs/organisation-member-invite-dialog.tsx index a033e7bff..d68c0f5d3 100644 --- a/apps/remix/app/components/dialogs/organisation-member-invite-dialog.tsx +++ b/apps/remix/app/components/dialogs/organisation-member-invite-dialog.tsx @@ -370,7 +370,7 @@ export const OrganisationMemberInviteDialog = ({ trigger, ...props }: Organisati