We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b758730 commit e5e2085Copy full SHA for e5e2085
src/components/themr.js
@@ -85,7 +85,7 @@ export default (componentName, localTheme, options = {}) => (ThemedComponent) =>
85
function themeable(style = {}, theme) {
86
if (!theme) return style
87
return Object.keys(theme).reduce((result, key) => (
88
- Object.assign(result, { [key]:
+ Object.assign({}, result, { [key]:
89
style[key] && theme[key].indexOf(style[key]) === -1
90
? `${style[key]} ${theme[key]}`
91
: theme[key] || style[key]
0 commit comments