fix(react/Input): sync color on hover of Input in InputFrame

This commit is contained in:
p-sw 2024-07-24 23:43:48 +09:00
parent 086cbe77a9
commit c2178ef473

View File

@ -4,7 +4,8 @@ import React from "react";
const inputColors = {
background: {
default: "bg-neutral-50 dark:bg-neutral-900",
hover: "hover:bg-neutral-100 dark:hover:bg-neutral-800",
hover:
"hover:bg-neutral-100 dark:hover:bg-neutral-800 has-[input:hover]:bg-neutral-100 dark:has-[input:hover]:bg-neutral-800",
invalid:
"invalid:bg-red-100 invalid:dark:bg-red-900 has-[input:invalid]:bg-red-100 dark:has-[input:invalid]:bg-red-900",
invalidHover: