Skip to content

Commit

Permalink
Fix components styles import (#8264)
Browse files Browse the repository at this point in the history
* Fix the color indicator style import

* Remove button style import
  • Loading branch information
mmtr authored and gziolo committed Jul 30, 2018
1 parent 371a15d commit 278ee19
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 10 deletions.
5 changes: 0 additions & 5 deletions packages/components/src/button/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ import classnames from 'classnames';
*/
import { createElement, forwardRef } from '@wordpress/element';

/**
* Internal dependencies
*/
import './style.scss';

export function Button( props, ref ) {
const {
href,
Expand Down
5 changes: 0 additions & 5 deletions packages/components/src/color-indicator/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@
*/
import classnames from 'classnames';

/**
* Internal dependencies
*/
import './style.scss';

const ColorIndicator = ( { className, colorValue, ...props } ) => (
<span
className={ classnames( 'component-color-indicator', className ) }
Expand Down
1 change: 1 addition & 0 deletions packages/components/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
@import './button-group/style.scss';
@import './button/style.scss';
@import './checkbox-control/style.scss';
@import './color-indicator/style.scss';
@import './color-palette/style.scss';
@import './dashicon/style.scss';
@import './date-time/style.scss';
Expand Down

0 comments on commit 278ee19

Please sign in to comment.