raster-foundry / blasterjs

React UI library designed and built by Azavea
https://raster-foundry-blaster.netlify.com
Other
6 stars 3 forks source link

Use key "overrides" instead of "styles" in theme #248

Closed alkamin closed 4 years ago

alkamin commented 4 years ago

Overview

In styled-components@5 styles became a magic string resulting in any style overrides to be absent from the theme provided to children of the ThemeProvider component. This PR changes the key of style overrides from styles to overrides.

Checklist

Upgrade instructions

Consumer applications will need to update their theme files by renaming the style overrides -- the styles property (both at the top level of the theme file and at the component level) to overrides.

Testing Instructions

TKTK

Closes #246