Skip to content

Commit bde8640

Browse files
author
Kate
committed
update hover effect
1 parent 19f6730 commit bde8640

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/components/Header/AuthNav/AuthNav.styled.jsx

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,10 @@ export const NavLinkStyled = styled(NavLink)`
2727
2828
:hover:not(.active),
2929
:focus-visible:not(.active) {
30-
/* background-color: ${props => props.theme.colors.hoverButton}; */
30+
background-color: ${props => props.theme.colors.hoverOrange};
3131
32-
color: ${props =>
33-
props.primary ? props.theme.colors.black : props.theme.colors.hoverButton};
34-
border-color: ${props => props.theme.colors.hoverButton};
32+
color: ${props => props.theme.colors.white};
33+
border-color: ${props => props.theme.colors.hoverOrange};
3534
}
3635
3736
@media (min-width: 768px) {

src/theme.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ export const theme = {
3333
femaleColor: '#FF8787',
3434
hoverButton: ' #FF6101',
3535
notFoundPage: '#f5ece4',
36+
hoverOrange: '#ff7e2f',
3637
},
3738

3839
//border-radius

0 commit comments

Comments
 (0)