Skip to content

Commit

Permalink
Fix the styleguide demo.
Browse files Browse the repository at this point in the history
  • Loading branch information
leMaik committed Mar 25, 2018
1 parent 4e11951 commit 4913855
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/Slide.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { red } = require('material-ui/colors');

### Landscape mode
```
const { red } = require('material-ui/styles/colors');
const { red } = require('material-ui/colors');
<Slide
media={<img src='http://www.icons101.com/icon_png/size_256/id_79394/youtube.png' />}
Expand Down
6 changes: 2 additions & 4 deletions styleguide/Wrapper.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import React, { Component } from 'react'
import lightBaseTheme from 'material-ui/styles/baseThemes/lightBaseTheme'
import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import getMuiTheme from 'material-ui/styles/getMuiTheme'
import { MuiThemeProvider } from 'material-ui/styles'

export default class Wrapper extends Component {
render () {
return (
<MuiThemeProvider muiTheme={getMuiTheme(lightBaseTheme)}>
<MuiThemeProvider>
<div style={{fontFamily: 'Roboto, sans-serif'}}>
{this.props.children}
</div>
Expand Down

0 comments on commit 4913855

Please sign in to comment.