Skip to content

Commit

Permalink
Update color scheme classes on Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
frontdevde committed Oct 17, 2017
1 parent ca4a6f7 commit 00bcd5a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions client/layout/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,14 +140,15 @@ const Layout = React.createClass( {
render: function() {
const sectionClass = classnames(
'layout',
'color-scheme',
`is-${ this.props.colorSchemePreference }`,
`is-group-${ this.props.section.group }`,
`is-section-${ this.props.section.name }`,
`focus-${ this.props.currentLayoutFocus }`,
{ 'is-support-user': this.props.isSupportUser },
{ 'has-no-sidebar': ! this.props.hasSidebar },
{ 'wp-singletree-layout': !! this.props.primary },
{ 'has-chat': this.props.chatIsOpen },
`is-${ this.props.colorSchemePreference }-theme`
{ 'has-chat': this.props.chatIsOpen }
),
loadingClass = classnames( {
layout__loader: true,
Expand Down

0 comments on commit 00bcd5a

Please sign in to comment.