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
[x] Relevant documentation pages have been created or updated
[ ] Description of PR is in an appropriate section of the changelog and grouped with similar changes if possible
[NA] Relevant status has been updated on the status page
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.
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 theThemeProvider
component. This PR changes the key of style overrides fromstyles
tooverrides
.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) tooverrides
.Testing Instructions
TKTK
Closes #246