Browse Source
Merge pull request #18 from loeck/next
Fix backgroundColor on GrowScroll
master
Loëck Vézien
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
src/components/SideBar/index.js
|
|
@ -21,14 +21,14 @@ const Container = styled(GrowScroll).attrs({ |
|
|
|
flow: 4, |
|
|
|
py: 4, |
|
|
|
})` |
|
|
|
background-color: ${p => rgba(p.theme.color, 0.4)}; |
|
|
|
background-color: ${p => rgba(p.theme.colors[p.bg], 0.4)}; |
|
|
|
` |
|
|
|
|
|
|
|
class SideBar extends PureComponent<{}> { |
|
|
|
render() { |
|
|
|
return ( |
|
|
|
<Box noShrink style={{ width: 250 }}> |
|
|
|
<Container> |
|
|
|
<Container bg="night"> |
|
|
|
<Box flow={2}> |
|
|
|
<CapsSubtitle>{'Menu'}</CapsSubtitle> |
|
|
|
<div> |
|
|
|