From 1a1bfd465abf5ea19363d1a12da1cb8f8c8584b6 Mon Sep 17 00:00:00 2001 From: Vladimir Volek Date: Mon, 24 Sep 2018 15:20:37 +0200 Subject: [PATCH] Added default text color --- src/config/colors.js | 2 ++ src/support/BaseStyles.js | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/config/colors.js b/src/config/colors.js index f6f5421f..c9eb2cca 100644 --- a/src/config/colors.js +++ b/src/config/colors.js @@ -2,6 +2,8 @@ export default { WHITE: '#FFFFFF', BACKGROUND: '#EBEBEB', + TEXT: '#333333', + HEADER: '#1A1A1A', BODY: '#E3E3E3', MAIN: '#FBFBFB', diff --git a/src/support/BaseStyles.js b/src/support/BaseStyles.js index 74e21313..d6100a2a 100644 --- a/src/support/BaseStyles.js +++ b/src/support/BaseStyles.js @@ -1,4 +1,5 @@ import { injectGlobal } from 'styled-components'; +import colors from 'config/colors'; import normalize from 'styled-normalize'; const baseStyles = () => injectGlobal` @@ -11,6 +12,7 @@ const baseStyles = () => injectGlobal` font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", Arial, sans-serif; font-weight: 400; font-size: 14px; + color: ${colors.TEXT}; } * , *:before , *:after {