Added color red to Text component

• Added:
- color red/error to Text component
This commit is contained in:
mgabdev 2020-09-11 17:55:24 -05:00
parent b608453939
commit dc23cca222
2 changed files with 2 additions and 0 deletions

View File

@ -80,6 +80,7 @@ class Text extends React.PureComponent {
cTertiary: color === COLORS.tertiary, cTertiary: color === COLORS.tertiary,
cBrand: color === COLORS.brand, cBrand: color === COLORS.brand,
cWhite: color === COLORS.white, cWhite: color === COLORS.white,
cError: color === COLORS.error,
inherit: color === COLORS.inherit, inherit: color === COLORS.inherit,
fs24PX: size === SIZES.extraExtraLarge, fs24PX: size === SIZES.extraExtraLarge,

View File

@ -425,6 +425,7 @@ pre {
.cPrimary { color: var(--text_color_primary); } .cPrimary { color: var(--text_color_primary); }
.cBlack { color: var(--color_black); } .cBlack { color: var(--color_black); }
.cError { color: var(--color_red); }
.cWhite { color: var(--color_white); } .cWhite { color: var(--color_white); }
.cWhite_onHover:hover { color: var(--color_white); } .cWhite_onHover:hover { color: var(--color_white); }