Rebase changes

This commit is contained in:
Timothy Armes
2024-09-25 17:59:04 +02:00
parent 697131b0f3
commit 75fd05a3d7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -92,7 +92,7 @@ export const RadioGroupField = <
value={option.value} value={option.value}
className={({ checked }) => className={({ checked }) =>
twMerge( twMerge(
"flex flex-1 cursor-pointer items-center justify-center rounded-lg border px-5 py-3 text-center text-sm font-medium focus:outline-none", "flex flex-1 cursor-pointer items-center justify-center rounded-lg border px-5 py-3 text-center font-medium focus:outline-none",
"border-gray-300 bg-gray-50 text-gray-900", "border-gray-300 bg-gray-50 text-gray-900",
"dark:border-gray-600 dark:bg-gray-700 dark:text-white", "dark:border-gray-600 dark:bg-gray-700 dark:text-white",
checked && checked &&
+1 -1
View File
@@ -26,7 +26,7 @@ export const classNames = <Option, IsMulti extends boolean = false>(
indicatorSeparator: () => "w-px text-gray-900 dark:text-white", indicatorSeparator: () => "w-px text-gray-900 dark:text-white",
control: (state) => control: (state) =>
twMerge( twMerge(
"group flex w-full items-center justify-between rounded-lg border p-2.5 text-sm", "group flex w-full items-center justify-between rounded-lg border p-2.5",
"border-gray-300 bg-gray-50 text-gray-900 focus-within:border-primary-500 focus-within:ring-primary-500", "border-gray-300 bg-gray-50 text-gray-900 focus-within:border-primary-500 focus-within:ring-primary-500",
"dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus-within:border-primary-500 dark:focus-within:ring-primary-500", "dark:border-gray-600 dark:bg-gray-700 dark:text-white dark:placeholder-gray-400 dark:focus-within:border-primary-500 dark:focus-within:ring-primary-500",