mirror of
https://github.com/nextui-org/nextui.git
synced 2025-12-08 19:26:11 +00:00
fix(theme): hover-opacity in Link & Breadcrumb (#5170)
* Utilize `hover-opacity` in <Link> component. * Add changeset * chore(changeset): add issue number * chore(theme): use hover-opacity for breadcrumb isCurrent = false * chore(changeset): update changeset msg --------- Co-authored-by: աӄա <wingkwong.code@gmail.com>
This commit is contained in:
parent
99a5bc2f4c
commit
f223e1ff63
5
.changeset/quick-coats-raise.md
Normal file
5
.changeset/quick-coats-raise.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@heroui/theme": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Utilize `hover-opacity` in Link & Breadcrumb component (#5169)
|
||||||
@ -84,7 +84,7 @@ const breadcrumbItem = tv({
|
|||||||
item: "cursor-default",
|
item: "cursor-default",
|
||||||
},
|
},
|
||||||
false: {
|
false: {
|
||||||
item: ["hover:opacity-80", "active:opacity-disabled"],
|
item: ["hover:opacity-hover", "active:opacity-disabled"],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
isDisabled: {
|
isDisabled: {
|
||||||
|
|||||||
@ -50,7 +50,7 @@ const link = tv({
|
|||||||
"after:transition-background",
|
"after:transition-background",
|
||||||
"after:absolute",
|
"after:absolute",
|
||||||
],
|
],
|
||||||
false: "hover:opacity-80 active:opacity-disabled transition-opacity",
|
false: "hover:opacity-hover active:opacity-disabled transition-opacity",
|
||||||
},
|
},
|
||||||
isDisabled: {
|
isDisabled: {
|
||||||
true: "opacity-disabled cursor-default pointer-events-none",
|
true: "opacity-disabled cursor-default pointer-events-none",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user