Web: Headline: Fix headline color.
This commit is contained in:
parent
ca0c86f2d4
commit
6d70daa26a
@ -18,7 +18,6 @@ Headline.propTypes = {
|
||||
};
|
||||
|
||||
Headline.defaultProps = {
|
||||
//color: "#333333",
|
||||
title: null,
|
||||
truncate: false,
|
||||
isInline: false,
|
||||
|
@ -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 };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user