Web: Headline: Fix headline color.

This commit is contained in:
TatianaLopaeva 2021-02-26 15:46:02 +03:00
parent ca0c86f2d4
commit 6d70daa26a
2 changed files with 1 additions and 2 deletions

View File

@ -18,7 +18,6 @@ Headline.propTypes = {
};
Headline.defaultProps = {
//color: "#333333",
title: null,
truncate: false,
isInline: false,

View File

@ -19,7 +19,7 @@ const StyledHeading = styled(Heading)`
line-height: 65px;
font-size: ${(props) => size[props.headlineType]};
font-weight: ${(props) => weight[props.headlineType]};
color: ${(props) => props.theme.color};
color: ${(props) => (props.color ? props.color : props.theme.color)};
`;
StyledHeading.defaultProps = { theme: Base };