I removed the styles about background of CheckboxPrimitive.Root into the file components/ui/checkbox and style it manually like this :
className={cn(showPass && 'bg-green-400')}