Skip to content

Commit 3c933eb

Browse files
authored
remove redundant font-family declarations (#1926)
1 parent f6480e8 commit 3c933eb

30 files changed

+69
-197
lines changed

components/BillStatusCard/BillStatusCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ const StatusStyle = styled.div`
6666
background-color: white;
6767
color: black;
6868
69-
font-family: Nunito;
7069
font-style: normal;
7170
font-weight: 500;
7271
font-size: 1.5rem;

components/ContactInfo/ContactInfo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ export const Container = styled.div`
77
align-items: flex-end;
88
gap: 5px;
99
font-size: 22;
10-
font-family: Nunito;
1110
`
1211
export const Link = styled.a`
1312
color: inherit;

components/EditProfilePage/StyledEditProfileComponents.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const StyledTabNav = styled(Nav).attrs(props => ({
1919
}
2020
2121
text-align: center;
22-
font-family: Nunito;
2322
font-size: 1.25rem;
2423
color: var(--bs-dark);
2524
@@ -82,7 +81,6 @@ export const TabNavItem = ({
8281
export const StyledDropdownNav = styled(NavDropdown).attrs(props => ({
8382
className: props.className
8483
}))`
85-
font-family: Nunito;
8684
font-size: 1.25rem;
8785
width: auto;
8886
margin: auto;
@@ -140,7 +138,6 @@ export const StyledHr = styled.hr`
140138

141139
export const Header = styled(Row)`
142140
font-size: 3rem;
143-
font-family: Nunito;
144141
font-weight: 500;
145142
margin-top: 3.5rem;
146143
margin-bottom: 3.5rem;

components/FollowingCard/FollowingCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ const Container = styled.div`
2020
const Link = styled.a`
2121
text-decoration: none;
2222
color: inherit;
23-
font-family: Nunito;
2423
font-size: 20px;
2524
line-height: 25px;
2625
`

components/Footer/Footer.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,15 +24,13 @@ const TextHeader = styled.h6`
2424
font-size: 1rem;
2525
font-weight: bold;
2626
color: #fff;
27-
font-family: Nunito;
2827
padding: 0.5rem 1rem 0 0;
2928
margin: 0;
3029
`
3130

3231
const BrowseHeader = styled(NavLink)`
3332
font-size: 1rem;
3433
color: #fff;
35-
font-family: Nunito;
3634
padding: 0.5rem 1rem 0 0;
3735
margin: 0 0 10px 0;
3836
@@ -50,7 +48,6 @@ const BrowseHeader = styled(NavLink)`
5048

5149
const StyledInternalLink = styled(NavLink)`
5250
color: rgba(255, 255, 255, 0.55);
53-
font-family: Nunito;
5451
letter-spacing: -0.63px;
5552
padding-top: 4;
5653
margin: 5px 0;

components/HeroHeader/HeroHeader.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
color: white;
33
background-color: #1a3185;
44
overflow: hidden;
5-
font-family: "Nunito";
65
}
76

87
.btncontainer {

components/Newsfeed/StyledNewsfeedComponents.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ export const Header = styled(Row)`
1919
`
2020

2121
export const HeaderTitle = styled(Col)`
22-
font-family: "Nunito";
2322
font-style: normal;
2423
font-weight: 700;
2524
font-size: 40px;

components/OurTeam/OurTeam.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import styled from "styled-components"
21
import { useState } from "react"
32
import { Col, Row, Container } from "../bootstrap"
43
import Tab from "react-bootstrap/Tab"
@@ -13,7 +12,7 @@ import { useTranslation } from "next-i18next"
1312
export const OurTeam = () => {
1413
const isMobile = useMediaQuery("(max-width: 768px)")
1514
return (
16-
<StyledContainer className="ptx-4">
15+
<Container className="ptx-4">
1716
<Tab.Container defaultActiveKey="steering_committee">
1817
{isMobile ? <TabDropdown /> : <TabGroup />}
1918
<Row className="p-3 g-0">
@@ -32,7 +31,7 @@ export const OurTeam = () => {
3231
</Col>
3332
</Row>
3433
</Tab.Container>
35-
</StyledContainer>
34+
</Container>
3635
)
3736
}
3837

@@ -112,7 +111,3 @@ const TabDropdown = () => {
112111
</Row>
113112
)
114113
}
115-
116-
const StyledContainer = styled(Container)`
117-
font-family: "Nunito";
118-
`

components/Policies/PolicyPage.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
.policyContent {
22
margin-top: 1rem;
3-
font-family: "Nunito";
43
}
54

65
.sharedValues {
@@ -45,7 +44,6 @@
4544
}
4645

4746
.values {
48-
font-family: "Nunito";
4947
font-style: normal;
5048
font-weight: 700;
5149
font-size: 1rem;

components/ProfileCard.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,6 @@ const Container = styled.div`
3535
margin: 20px;
3636
border-radius: 20px;
3737
color: white;
38-
font-family: "Nunito";
3938
`
4039

4140
const Wrapper = styled.div`

0 commit comments

Comments
 (0)