From dc23cca2220350d8bf2fee1ce7cc78872bc81d33 Mon Sep 17 00:00:00 2001 From: mgabdev <> Date: Fri, 11 Sep 2020 17:55:24 -0500 Subject: [PATCH] Added color red to Text component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit • Added: - color red/error to Text component --- app/javascript/gabsocial/components/text.js | 1 + app/javascript/styles/global.css | 1 + 2 files changed, 2 insertions(+) diff --git a/app/javascript/gabsocial/components/text.js b/app/javascript/gabsocial/components/text.js index 212dd9cb..a4b43b20 100644 --- a/app/javascript/gabsocial/components/text.js +++ b/app/javascript/gabsocial/components/text.js @@ -80,6 +80,7 @@ class Text extends React.PureComponent { cTertiary: color === COLORS.tertiary, cBrand: color === COLORS.brand, cWhite: color === COLORS.white, + cError: color === COLORS.error, inherit: color === COLORS.inherit, fs24PX: size === SIZES.extraExtraLarge, diff --git a/app/javascript/styles/global.css b/app/javascript/styles/global.css index edd2c8b4..f00ead8e 100644 --- a/app/javascript/styles/global.css +++ b/app/javascript/styles/global.css @@ -425,6 +425,7 @@ pre { .cPrimary { color: var(--text_color_primary); } .cBlack { color: var(--color_black); } +.cError { color: var(--color_red); } .cWhite { color: var(--color_white); } .cWhite_onHover:hover { color: var(--color_white); }