Skip to content

Commit

Permalink
fix(docz-theme-default): change background based on toggle
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloavf committed Jun 21, 2018
1 parent ddf078d commit 2241f8b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const Wrapper = styled('div')`
position: relative;
flex-direction: column;
height: 100%;
background: ${p => p.theme.colors.grayLight};
background: ${p => wrapperToggle(p) !== '0' ? p.theme.colors.white : p.theme.colors.grayLight};
transition: transform 0.3s, background 0.3s;
transform: translateX(${wrapperToggle});
z-index: 99;
Expand Down

0 comments on commit 2241f8b

Please sign in to comment.