Added color red to Text component
• Added: - color red/error to Text component
This commit is contained in:
parent
b608453939
commit
dc23cca222
|
@ -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,
|
||||||
|
|
|
@ -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); }
|
||||||
|
|
Loading…
Reference in New Issue