Skip to content

Commit

Permalink
Removed Icon nested component styling for Image.
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad committed Jan 11, 2018
1 parent 3dfa8ab commit 9d8f486
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion components/ImageBackground.js
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class ImageBackground extends PureComponent {

const AnimatedImage = connectAnimation(ImageBackground);
// We use identical styling to the Image component
const StyledImage = connectStyle('shoutem.ui.Image')(AnimatedImage);
const StyledImage = connectStyle('shoutem.ui.ImageBackground')(AnimatedImage);
export {
StyledImage as ImageBackground,
};
4 changes: 0 additions & 4 deletions theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -464,10 +464,6 @@ export default (variables = defaultThemeVariables) => ({

'.placeholder': {
backgroundColor: inverseColorBrightnessForAmount(variables.paperColor, 10),

'shoutem.ui.Icon': {
color: inverseColorBrightnessForAmount(variables.paperColor, 30),
},
},

heroAnimation(driver, { layout }) {
Expand Down

0 comments on commit 9d8f486

Please sign in to comment.