Skip to content

Commit 7dc5df8

Browse files
committed
style(components): update hover text color for better visibility
Improve visibility of hover states by changing text color to black on white/15 background
1 parent 404a2b9 commit 7dc5df8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/packages/components/base/Floatings/Dropdown.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ export default function Dropdown({
7979
role="button"
8080
className={cn([
8181
'btn btn-ghost btn-sm transition-all duration-300',
82-
liquidGlass && 'liquid-glass-shadow hover:bg-white/15',
82+
liquidGlass && 'liquid-glass-shadow hover:bg-white/15 hover:text-black',
8383
disabled && 'btn-disabled opacity-60 cursor-not-allowed'
8484
])}
8585
onClick={handleToggle}

src/packages/components/layouts/Header/Menu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ export default function Menu() {
6565
disabled={isActive}
6666
className={cn([
6767
'btn btn-sm btn-ghost bg-transparent border-0 transition-all duration-300',
68-
'text-white hover:text-white hover:bg-white/15',
68+
'text-white hover:text-black hover:bg-white/15',
6969
isActive
70-
? 'bg-white/60 text-black border-b-2 border-b-primary/50'
70+
? 'bg-white/60 text-black'
7171
: ''
7272
])}
7373
>

0 commit comments

Comments
 (0)