Browse Source

Fix backgroundColor on GrowScroll

master
Loëck Vézien 7 years ago
parent
commit
f0a14690ae
No known key found for this signature in database GPG Key ID: CBCDCE384E853AC4
  1. 4
      src/components/SideBar/index.js

4
src/components/SideBar/index.js

@ -21,14 +21,14 @@ const Container = styled(GrowScroll).attrs({
flow: 4, flow: 4,
py: 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<{}> { class SideBar extends PureComponent<{}> {
render() { render() {
return ( return (
<Box noShrink style={{ width: 250 }}> <Box noShrink style={{ width: 250 }}>
<Container> <Container bg="night">
<Box flow={2}> <Box flow={2}>
<CapsSubtitle>{'Menu'}</CapsSubtitle> <CapsSubtitle>{'Menu'}</CapsSubtitle>
<div> <div>

Loading…
Cancel
Save