Skip to content

Commit

Permalink
Merge pull request #2 from kiki-le-singe/cleanup_styles
Browse files Browse the repository at this point in the history
refactor(styles): remove some useless styles
  • Loading branch information
kiki-le-singe authored Aug 9, 2016
2 parents efbdc96 + bf23317 commit 24ff704
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 23 deletions.
7 changes: 0 additions & 7 deletions src/common/components/views/About/About.css

This file was deleted.

7 changes: 0 additions & 7 deletions src/common/components/views/About/index.jsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
import React, { PropTypes } from 'react'
import classNames from 'classnames'

import titleStyles from 'common/styles/local/title.css'
import styles from './About.css'

const contextTypes = {
router: PropTypes.object
Expand All @@ -19,9 +15,6 @@ export default function About(props, context) {
<h1>About</h1>
<button onClick={closeView}>Close</button>
</header>
<div className="page-content">
<h1 className={classNames(styles.title, titleStyles.h1)}>About</h1>
</div>
</div>
)
}
Expand Down
1 change: 0 additions & 1 deletion src/common/components/views/Hello/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export default function Hello(props, context) {
<h1>Hello</h1>
<button onClick={closeView}>Close</button>
</header>
<div className="page-content">Hello <span className="text">World!</span></div>
</div>
)
}
Expand Down
6 changes: 1 addition & 5 deletions src/common/styles/global/views/hello.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
.page-hello {
color: green;

@nest & .text {
color: blue;
}
color: black;
}
3 changes: 0 additions & 3 deletions src/common/styles/local/title.css

This file was deleted.

0 comments on commit 24ff704

Please sign in to comment.