Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WV-196] fix replace Nunito to Poppins font TEAM REVIEW #3831

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ const WeVoteBody = styled('div')`
background-color: #fff; // rgb(235, 236, 238); // #fafafa;
color: #333;
display: block;
font-family: "Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
font-family: "Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif;
line-height: 1.4;
margin: 0 auto;
// max-width: 960px;
Expand Down
4 changes: 2 additions & 2 deletions src/css/main.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@charset "UTF-8";
@import "https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap";
@import "https://fonts.googleapis.com/css2?family=Poppins:wght@300..700&display=swap";

/*!
July 31, 2023: ran https://www.cssportal.com/css-optimize/ to shrink the size of the file
Expand Down Expand Up @@ -54,7 +54,7 @@ html {
body {
background-color:#fff;
color:#000;
font-family:"Nunito Sans","Helvetica Neue Light","Helvetica Neue","Helvetica","Arial",sans-serif;
font-family:"Poppins","Helvetica Neue Light","Helvetica Neue","Helvetica","Arial",sans-serif;
font-size:16px;
font-style:normal;
font-weight:normal;
Expand Down
6 changes: 3 additions & 3 deletions src/js/components/Ready/ElectionCountdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ const CardCountdownInternalWrapper = styled('div')`
const CardTitleUpcoming = styled('h1')(({ theme }) => (`
color: #2E3C5D !important;
font-size: 64px;
font-weight: 900;
font-weight: 600;
margin-bottom: 8px;
margin-top: 12px;
text-align: center;
Expand All @@ -345,7 +345,7 @@ const CardTitleUpcoming = styled('h1')(({ theme }) => (`
const CardTitleToday = styled('h1')(({ theme }) => (`
color: #2E3C5D !important;
font-size: 60px;
font-weight: 900;
font-weight: 600;
margin-bottom: 8px;
margin-top: 0;
text-align: center;
Expand All @@ -358,7 +358,7 @@ const CardSubTitle = styled('h3', {
shouldForwardProp: (prop) => !['desktopMode', 'center'].includes(prop),
})(({ desktopMode, center }) => (`
font-size: ${desktopMode ? '18px' : '22px'};
font-weight: 700;
font-weight: 500;
color: #2E3C5D !important;
margin-bottom: 0 !important;
margin-top: ${desktopMode ? '24px' : null};
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Values/IssueCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ const FollowersWrapper = styled('div')`

const IssueName = styled('h3')`
font-size: 18px;
font-weight: bold;
font-weight: 500;
margin-bottom: 0;
`;

Expand Down
Loading