Skip to content

Commit

Permalink
replace rest of Nunito into Poppins
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivan Kordonets committed Feb 29, 2024
1 parent eb87cbc commit 05b5260
Show file tree
Hide file tree
Showing 12 changed files with 36 additions and 38 deletions.
10 changes: 5 additions & 5 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -2387,7 +2387,7 @@ h1,h2,h3,h4,h5,h6 {
.card-main__display-name {
display:inline-block;
font-size:18px;
font-weight:700;
font-weight:600;
margin-right:8px;
vertical-align:middle
}
Expand Down Expand Up @@ -3671,7 +3671,7 @@ a {
}

.intro-story__h1 {
font-weight:800;
font-weight:600;
font-size:24px;
padding:32px 0 0
}
Expand All @@ -3687,7 +3687,7 @@ a {
}

.intro-story__h1--alt {
font-weight:700;
font-weight:600;
font-size:30px;
padding-top:32px
}
Expand Down Expand Up @@ -3892,7 +3892,7 @@ a {

.issue-icon-list__issue-icon {
color:#999;
font-weight:900;
font-weight:600;
height:calc(16px + 4px);
width:calc(16px + 4px);
flex:none;
Expand Down Expand Up @@ -4533,7 +4533,7 @@ a {

.header-nav__icon--about {
font-size:.8rem;
font-weight:700;
font-weight:600;
height:24px;
display:flex;
align-items:center;
Expand Down
2 changes: 1 addition & 1 deletion src/js/common/components/Settings/VoterPhotoUpload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ const styles = (theme) => ({
dropzoneText: {
color: '#818181',
fontSize: '18px',
fontFamily: "'Nunito Sans', 'Helvetica Neue Light', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
fontFamily: "'Poppins', 'Helvetica Neue Light', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",
fontWeight: '300',
paddingLeft: 5,
paddingRight: 5,
Expand Down
2 changes: 1 addition & 1 deletion src/js/common/pages/CampaignStart/CampaignStartIntro.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ const StepText = styled('div')(({ theme }) => (`

const StepTitle = styled('div')(({ theme }) => (`
font-size: 20px;
font-weight: 600;
font-weight: 500;
padding: 0 8px;
text-align: left;
${theme.breakpoints.down('sm')} {
Expand Down
2 changes: 1 addition & 1 deletion src/js/common/stories/button.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.storybook-button {
font-family: 'Nunito Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-family: 'Poppins', 'Helvetica Neue', Helvetica, Arial, sans-serif;
font-weight: 700;
border: 0;
border-radius: 3em;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ const StepNumber = styled('div')(({ theme }) => (`

const StepTitle = styled('div')(({ theme }) => (`
font-size: 20px;
font-weight: 600;
font-weight: 500;
padding: 0 8px;
text-align: left;
vertical-align: top;
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Navigation/HeaderBarSuspense.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export default function HeaderBarSuspense () {
position: 'relative',
color: 'rgb(51, 51, 51)',
backgroundColor: 'white',
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif',
height: '48px',
boxShadow: standardBoxShadow('wide'),
}}
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Ready/ReadyTaskBallot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -886,7 +886,7 @@ const styles = (theme) => ({
color: 'rgb(51, 51, 51)',
display: 'flex',
flexDirection: 'column',
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, sans-serif',
fontSize: 16,
height: 173,
lineHeight: 22,
Expand Down
2 changes: 1 addition & 1 deletion src/js/components/Share/SharedItemIntroduction.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ const StepNumber = styled('div')(({ theme }) => (`

const StepTitle = styled('div')(({ theme }) => (`
font-size: 20px;
font-weight: 600;
font-weight: 500;
padding: 0 8px;
text-align: left;
vertical-align: top;
Expand Down
12 changes: 6 additions & 6 deletions src/js/components/Style/muiStyleOverrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const muiStyleOverrides = {
styleOverrides: {
root: {
boxShadow: 'unset',
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontSize: '16px',
textTransform: 'none',
userSelect: 'none',
Expand All @@ -35,31 +35,31 @@ const muiStyleOverrides = {
MuiChip: {
styleOverrides: {
root: {
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontSize: 16,
},
},
},
MuiFormControlLabel: {
styleOverrides: {
root: {
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
marginBottom: '-.5rem',
},
},
},
MuiInputBase: {
styleOverrides: {
root: {
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontSize: 16,
},
},
},
MuiMenuItem: {
styleOverrides: {
root: {
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
marginTop: '-6px',
minHeight: 34,
},
Expand All @@ -68,7 +68,7 @@ const muiStyleOverrides = {
MuiTab: {
styleOverrides: {
root: {
fontFamily: '"Nunito Sans", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontFamily: '"Poppins", "Helvetica Neue Light", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
fontSize: 16,
outline: 'none !important',
textTransform: 'none',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,8 +142,8 @@ export default function AddCandidateExtensionForm (props) {
name="candidateName"
id="candidateName"
defaultValue={candidate.candidateName}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CandidateTextField
Expand All @@ -154,8 +154,8 @@ export default function AddCandidateExtensionForm (props) {
name="candidateSpecificEndorsementUrl"
id="candidateSpecificEndorsementUrl"
defaultValue={candidate.candidateSpecificEndorsementUrl}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CandidateTextField
Expand All @@ -167,8 +167,8 @@ export default function AddCandidateExtensionForm (props) {
name="endorsementPageUrl"
id="endorsementURL"
defaultValue={candidate.endorsementPageUrl}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CheckBoxArea>
Expand Down Expand Up @@ -216,10 +216,10 @@ export default function AddCandidateExtensionForm (props) {
// id="candidateURL"
defaultValue={candidate.endorsementText}
InputLabelProps={{
style: { fontFamily: 'Nunito Sans' },
style: { fontFamily: 'Poppins' },
shrink: true,
}}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
rows="5"
// maxRows="5"
Expand All @@ -242,7 +242,7 @@ const CandidateForm = styled('div')`

const CandidateTextField = styled(TextField)`
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;
margin-bottom: 10px;
`;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ export default function EditCandidateForExtensionForm (props) {
label="Candidate Name"
name="candidateName"
defaultValue={candidate.candidateName}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CandidateTextField
Expand All @@ -76,8 +76,8 @@ export default function EditCandidateForExtensionForm (props) {
label="Campaign URL"
name="candidateCampaignUrl"
defaultValue={candidate.candidateCampaignUrl}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' }, shrink: true }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' }, shrink: true }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CandidateTextField
Expand All @@ -88,8 +88,8 @@ export default function EditCandidateForExtensionForm (props) {
label="Endorsement URL"
name="endorsementPageUrl"
defaultValue={candidate.endorsementPageUrl}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' } }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
/>
<CheckBoxArea>
Expand Down Expand Up @@ -135,8 +135,8 @@ export default function EditCandidateForExtensionForm (props) {
label="Endorsement Text"
name="statementText"
defaultValue={candidate.statementText === 'null' ? '' : candidate.statementText}
InputLabelProps={{ style: { fontFamily: 'Nunito Sans' }, shrink: true }}
InputProps={{ style: { fontFamily: 'Nunito Sans' } }}
InputLabelProps={{ style: { fontFamily: 'Poppins' }, shrink: true }}
InputProps={{ style: { fontFamily: 'Poppins' } }}
onBlur={handleBlur}
rows="5"
// maxRows="5"
Expand All @@ -161,7 +161,7 @@ const CandidateForm = styled('div')`

const CandidateTextField = styled(TextField)`
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;
margin-bottom: 10px;
`;

Expand Down
2 changes: 0 additions & 2 deletions storybook-static/README.TXT

This file was deleted.

0 comments on commit 05b5260

Please sign in to comment.