Skip to content

Commit

Permalink
accessing muiTheme variables the new way
Browse files Browse the repository at this point in the history
After 0.12.0 breaking changes for theming, spacing and components themes are accessed in a different way.
  • Loading branch information
igorbt committed Oct 2, 2015
1 parent 496d600 commit 2339a53
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/grid-list/grid-tile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ let GridTile = React.createClass({

getStyles()
{
let spacing = this.context.muiTheme.spacing;
let themeVariables = this.context.muiTheme.component.gridTile;
let spacing = this.context.muiTheme.rawTheme.spacing;
let themeVariables = this.context.muiTheme.gridTile;
let actionPos = this.props.actionIcon ? this.props.actionPosition : null;
let gutterLess = spacing.desktopGutterLess;

Expand Down

0 comments on commit 2339a53

Please sign in to comment.