diff --git a/src/components/Checkbox.tsx b/src/components/Checkbox.tsx index dab4746f..b6a346e5 100644 --- a/src/components/Checkbox.tsx +++ b/src/components/Checkbox.tsx @@ -4,10 +4,11 @@ import { ImCheckmark } from 'react-icons/im'; const SIZE = 'size-4.5'; -const boxStyles = clsx( +const BOX_STYLES = clsx( 'relative', 'inline-flex items-center justify-center', - 'rounded-md border', + 'rounded-md border ring-blue-600', + 'group-focus-within:ring group-focus-within:border-blue-600', SIZE, ); @@ -24,6 +25,7 @@ export default function Checkbox({ return ( : } diff --git a/src/components/SelectMenu.tsx b/src/components/SelectMenu.tsx index 8aee6fe9..6d60da75 100644 --- a/src/components/SelectMenu.tsx +++ b/src/components/SelectMenu.tsx @@ -16,7 +16,7 @@ export default function SelectMenu({ onChange, options, defaultOptionLabel, - tabIndex, + tabIndex = 0, error, readOnly, children,