From 63abda16939c92f7dec40f7eebfdd87a83474369 Mon Sep 17 00:00:00 2001 From: Manavpreet Singh <42695610+Manavpreeet@users.noreply.github.com> Date: Thu, 14 Dec 2023 08:59:37 +0530 Subject: [PATCH] chore: changed checkbox color (#12783) Co-authored-by: ManavpreetSingh <119919977+manavpreetsingh@users.noreply.github.com> --- apps/web/components/ui/form/CheckboxField.tsx | 2 +- .../ee/organizations/components/TeamInviteFromOrg.tsx | 2 +- packages/features/ee/workflows/pages/index.tsx | 4 ++-- packages/ui/components/form/checkbox/Checkbox.tsx | 2 +- .../ui/components/form/checkbox/MultiSelectCheckboxes.tsx | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/web/components/ui/form/CheckboxField.tsx b/apps/web/components/ui/form/CheckboxField.tsx index 8298fbb5b5..a189b6d413 100644 --- a/apps/web/components/ui/form/CheckboxField.tsx +++ b/apps/web/components/ui/form/CheckboxField.tsx @@ -49,7 +49,7 @@ const CheckboxField = forwardRef( {...rest} ref={ref} type="checkbox" - className="text-primary-600 focus:ring-primary-500 border-default bg-default h-4 w-4 rounded" + className="text-emphasis focus:ring-emphasis dark:text-muted border-default bg-default h-4 w-4 rounded" /> {description} diff --git a/packages/features/ee/organizations/components/TeamInviteFromOrg.tsx b/packages/features/ee/organizations/components/TeamInviteFromOrg.tsx index dcdd0e8809..3864361e98 100644 --- a/packages/features/ee/organizations/components/TeamInviteFromOrg.tsx +++ b/packages/features/ee/organizations/components/TeamInviteFromOrg.tsx @@ -92,7 +92,7 @@ function UserToInviteItem({ id={`${member.user.id}`} checked={isSelected} type="checkbox" - className="text-primary-600 focus:ring-primary-500 border-default hover:bg-subtle inline-flex h-4 w-4 place-self-center justify-self-end rounded checked:bg-gray-800" + className="text-emphasis focus:ring-emphasis dark:text-muted border-default hover:bg-subtle inline-flex h-4 w-4 place-self-center justify-self-end rounded checked:bg-gray-800" onChange={() => { onChange(); }} diff --git a/packages/features/ee/workflows/pages/index.tsx b/packages/features/ee/workflows/pages/index.tsx index 41ddc24559..c0714a3898 100644 --- a/packages/features/ee/workflows/pages/index.tsx +++ b/packages/features/ee/workflows/pages/index.tsx @@ -147,7 +147,7 @@ const Filter = (props: { { if (e.target.checked) { @@ -211,7 +211,7 @@ const Filter = (props: { } } }} - className="text-primary-600 focus:ring-primary-500 border-default inline-flex h-4 w-4 place-self-center justify-self-end rounded " + className="text-emphasis focus:ring-emphasis dark:text-muted border-default inline-flex h-4 w-4 place-self-center justify-self-end rounded " /> ))} diff --git a/packages/ui/components/form/checkbox/Checkbox.tsx b/packages/ui/components/form/checkbox/Checkbox.tsx index f1a4a3ea4d..5386c8c196 100644 --- a/packages/ui/components/form/checkbox/Checkbox.tsx +++ b/packages/ui/components/form/checkbox/Checkbox.tsx @@ -80,7 +80,7 @@ const CheckboxField = forwardRef( disabled={disabled} id={rest.id ? rest.id : id} className={classNames( - "text-primary-600 focus:ring-primary-500 border-default bg-default focus:bg-default active:bg-default h-4 w-4 rounded checked:hover:bg-gray-600 focus:outline-none focus:ring-0 ltr:mr-2 rtl:ml-2", + "text-emphasis focus:ring-emphasis dark:text-muted border-default bg-default focus:bg-default active:bg-default h-4 w-4 rounded checked:hover:bg-gray-600 focus:outline-none focus:ring-0 ltr:mr-2 rtl:ml-2", !error && disabled ? "cursor-not-allowed bg-gray-300 checked:bg-gray-300 hover:bg-gray-300 hover:checked:bg-gray-300" : "hover:bg-subtle hover:border-emphasis checked:bg-gray-800", diff --git a/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx b/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx index 3aaf68e8ab..d06c4c57ee 100644 --- a/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx +++ b/packages/ui/components/form/checkbox/MultiSelectCheckboxes.tsx @@ -35,7 +35,7 @@ const InputOption: React.FC>> = innerProps={props}>