Skip to content

Commit

Permalink
fix change background colour of NavBar container
Browse files Browse the repository at this point in the history
  • Loading branch information
Carolinevp committed Jun 11, 2021
1 parent fc513a4 commit 0d3ab54
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/NavBar/NavBar.style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import styled from 'styled-components'

import { transition } from '../animations'
import { Background } from '../Background'
import { palette } from '../palette'
import { theme } from '../theme'

const EXPANDED_SIZE = 332
Expand Down Expand Up @@ -55,7 +54,7 @@ export const NavBarContainer = styled.ul<{ backgroundColor: string }>`
flex-direction: column;
transition: ${transition('width')};
font-family: ${theme.font()};
background: ${palette.purpleDawn[900]};
background: ${(props) => props.backgroundColor};
&[data-hover-icon='true'] {
width: ${DEFAULT_SIZE + 6}px;
Expand Down

0 comments on commit 0d3ab54

Please sign in to comment.