From 1a6026e6d420eac3b08425fc7f2b331e863d0c91 Mon Sep 17 00:00:00 2001 From: Cedric GESTES Date: Thu, 21 May 2015 12:52:22 +0200 Subject: [PATCH] docs: fix get-started --- docs/src/app/components/pages/get-started.jsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/src/app/components/pages/get-started.jsx b/docs/src/app/components/pages/get-started.jsx index 73e09c3579ffd0..18ec37ece90058 100644 --- a/docs/src/app/components/pages/get-started.jsx +++ b/docs/src/app/components/pages/get-started.jsx @@ -3,17 +3,19 @@ var mui = require('mui'); var CodeBlock = require('../code-example/code-block.jsx'); var FullWidthSection = require('../full-width-section.jsx'); var Spacing = mui.Styles.Spacing; +var Typography = mui.Styles; class GetStarted extends React.Component { getStyles() { + var canvasColor = this.context.muiTheme.palette.canvasColor; return { root: { paddingTop: Spacing.desktopKeylineIncrement }, fullWidthSection: { maxWidth: '650px', - margin: '0 auto' + margin: '0 auto' }, headline: { fontSize: '24px', @@ -141,4 +143,8 @@ class GetStarted extends React.Component { } +GetStarted.contextTypes = { + muiTheme: React.PropTypes.object +} + module.exports = GetStarted;