diff --git a/app/components/projects/ProjectItem.js b/app/components/projects/ProjectItem.js index f0af9fc..e5d49ec 100644 --- a/app/components/projects/ProjectItem.js +++ b/app/components/projects/ProjectItem.js @@ -74,7 +74,9 @@ export default class ProjectItem extends React.Component { console.log(this.props.userDetails); const project = this.props.project; const mostRecentBuild = this.state.recentBuild; - const statusColour = mostRecentBuild.failed ? '#ED5C5C' : '#42C88A'; + const statusColour = mostRecentBuild.failed ? + GlobalStyles.get('CIRCLE_TEST_FAIL') : + GlobalStyles.get('CIRCLE_TEST_PASS'); let username; if (this.props.userDetails && this.props.userDetails.login !== project.username) { username = project.username + '/'; diff --git a/app/settings/styles.js b/app/settings/styles.js index 3f3855f..d0f67e6 100644 --- a/app/settings/styles.js +++ b/app/settings/styles.js @@ -7,5 +7,7 @@ export default Map({ CIRCLE_BG: '#F5F5F5', CIRCLE_TEXT: '#212121', CIRCLE_ITEM_BG: '#fff', - CIRCLE_ITEM_BORDER: '#E5E5E5' + CIRCLE_ITEM_BORDER: '#E5E5E5', + CIRCLE_TEST_FAIL: '#ED5C5C', + CIRCLE_TEST_PASS: '#42C88A' });