fix(react/Input): sync color on hover of Input in InputFrame
This commit is contained in:
parent
086cbe77a9
commit
c2178ef473
@ -4,7 +4,8 @@ import React from "react";
|
|||||||
const inputColors = {
|
const inputColors = {
|
||||||
background: {
|
background: {
|
||||||
default: "bg-neutral-50 dark:bg-neutral-900",
|
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:
|
||||||
"invalid:bg-red-100 invalid:dark:bg-red-900 has-[input:invalid]:bg-red-100 dark:has-[input:invalid]:bg-red-900",
|
"invalid:bg-red-100 invalid:dark:bg-red-900 has-[input:invalid]:bg-red-100 dark:has-[input:invalid]:bg-red-900",
|
||||||
invalidHover:
|
invalidHover:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user