From 7508f3fdcb1791ef7a3c66ca33076387e0bd1e60 Mon Sep 17 00:00:00 2001 From: Alex Windett Date: Fri, 3 Feb 2017 11:25:29 +0000 Subject: [PATCH] adding names to key sections of app and updating breakpoints --- frontend/src/components/article/index.js | 10 ++++++- frontend/src/components/header/index.js | 2 +- frontend/src/containers/app.js | 6 ++-- ui/src/shared/constants/breakpoints.js | 37 ++++++++++++++++++++++-- 4 files changed, 47 insertions(+), 8 deletions(-) diff --git a/frontend/src/components/article/index.js b/frontend/src/components/article/index.js index 77e57f8a..716d9914 100644 --- a/frontend/src/components/article/index.js +++ b/frontend/src/components/article/index.js @@ -1,4 +1,10 @@ const Styled = require('styled-components'); +const constants = require('@ui/shared/constants'); + +const { + colors, + sizes +} = constants; const { default: styled @@ -6,5 +12,7 @@ const { // Main Contonent Wrapper Styles module.exports = styled.article` - background-color: #fafafa; + background-color: ${colors.base.grey}; + + ${sizes.sm} `; diff --git a/frontend/src/components/header/index.js b/frontend/src/components/header/index.js index fe3c2001..d884abd4 100644 --- a/frontend/src/components/header/index.js +++ b/frontend/src/components/header/index.js @@ -113,7 +113,7 @@ const Header = ({ ); return ( - + diff --git a/frontend/src/containers/app.js b/frontend/src/containers/app.js index aa46b8bc..83e879f2 100644 --- a/frontend/src/containers/app.js +++ b/frontend/src/containers/app.js @@ -85,14 +85,14 @@ module.exports = (props) => {
-