Skip to content

Commit

Permalink
revert: heading style
Browse files Browse the repository at this point in the history
  • Loading branch information
guillobits committed Oct 15, 2024
1 parent 84ce62e commit 45c93a7
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions src/components/backoffice/dashboard/Dashboard.styles.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ export const StyledDashboardRightColumn = styled.div`

export const StyledDashboardTitleContainer = styled.div`
padding-bottom: 20px;
display: flex;
flex-direction: column;
gap: 20px;
`;

export const StyledDashboardCardContentContainer = styled.div`
Expand Down
8 changes: 0 additions & 8 deletions src/components/utils/Headings/Headings.styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const StyledH1 = styled.h1<StyledHeadingProps>`
return COLORS.black;
}};
text-align: ${(props) => (props.center ? 'center' : 'left')};
margin: 0;
`;

export const StyledH2 = styled.h2<StyledHeadingProps>`
Expand All @@ -37,7 +36,6 @@ export const StyledH2 = styled.h2<StyledHeadingProps>`
span.orange {
color: ${COLORS.primaryBlue};
}
margin: 0;
`;

export const StyledH3 = styled.h3<StyledHeadingProps>`
Expand All @@ -55,7 +53,6 @@ export const StyledH3 = styled.h3<StyledHeadingProps>`
}};
text-align: ${(props) => (props.center ? 'center' : 'left')};
font-size: ${(props) => (props.mobile ? '18px' : '24px')};
margin: 0;
`;

export const StyledH4 = styled.h4<StyledHeadingProps>`
Expand All @@ -72,14 +69,12 @@ export const StyledH4 = styled.h4<StyledHeadingProps>`
}};
text-align: ${(props) => (props.center ? 'center' : 'left')};
font-size: ${(props) => (props.mobile ? '16px' : '20px')};
margin: 0;
`;

export const StyledH5 = styled.h5<StyledHeadingProps>`
font-weight: ${(props) => props.weight};
line-height: 24px;
margin-top: 0;
/* margin-bottom: 24px; */
color: ${(props) => {
if (COLORS[props.color]) {
return COLORS[props.color];
Expand All @@ -91,14 +86,12 @@ export const StyledH5 = styled.h5<StyledHeadingProps>`
}};
text-align: ${(props) => (props.center ? 'center' : 'left')};
font-size: ${(props) => (props.mobile ? '14px' : '16px')};
margin: 0;
`;

export const StyledH6 = styled.h6<StyledHeadingProps>`
font-size: 14px;
font-weight: ${(props) => props.weight};
line-height: 14px;
margin-bottom: 24px;
color: ${(props) => {
if (COLORS[props.color]) {
return COLORS[props.color];
Expand All @@ -109,5 +102,4 @@ export const StyledH6 = styled.h6<StyledHeadingProps>`
return COLORS.black;
}};
text-align: ${(props) => (props.center ? 'center' : 'left')};
margin: 0;
`;

0 comments on commit 45c93a7

Please sign in to comment.