feat: app level theming

This commit is contained in:
Kyle Gill
2019-05-19 19:28:09 -06:00
parent a67744c31d
commit f3030d8091
11 changed files with 206 additions and 105 deletions

View File

@@ -120,7 +120,7 @@ class Start extends Component {
}
`}
render={data => {
return theme.name === "Light" ? (
return theme.name === "LIGHT" ? (
<Img
style={{
maxWidth: 320,
@@ -131,7 +131,15 @@ class Start extends Component {
fluid={data.landingGraphicLight.childImageSharp.fluid}
/>
) : (
<Img fluid={data.LandingGraphicDark.childImageSharp.fluid} />
<Img
style={{
maxWidth: 320,
width: "100%",
maxHeight: 350,
height: "100%",
}}
fluid={data.landingGraphicDark.childImageSharp.fluid}
/>
)
}}
/>