From 0e01aaa09cf833c649cf9a9a16bdbc431a8a145a Mon Sep 17 00:00:00 2001 From: Pol Gubau Amores Date: Sun, 13 Aug 2023 22:35:11 +0200 Subject: [PATCH] Pol Gubau; MW-Less styles config --- src/components/Text/Styled.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/components/Text/Styled.tsx b/src/components/Text/Styled.tsx index 019d3e38..a2366a36 100644 --- a/src/components/Text/Styled.tsx +++ b/src/components/Text/Styled.tsx @@ -1,7 +1,6 @@ import styled from "styled-components"; import "../../style/baseTheme.scss"; interface TextStyledProps { - $weight?: string; $color?: string; $maxLines?: number; } @@ -25,25 +24,21 @@ const TextStyled = styled.div` h4 { font-size: 1.5rem; margin: 0; - font-weight: ${(props) => props.$weight}; } h5 { font-size: 1.25rem; margin: 0; - font-weight: ${(props) => props.$weight}; } h6 { font-size: 1rem; margin: 0; - font-weight: ${(props) => props.$weight}; } p { font-size: 1rem; margin: 0; - font-weight: ${(props) => props.$weight}; } overflow: hidden; display: -webkit-box;