From ac38a512c4e2a006e20f40394671bafda0ffa170 Mon Sep 17 00:00:00 2001 From: Ivan Kordonets Date: Tue, 12 Mar 2024 16:40:40 -0500 Subject: [PATCH] [WV-196] fix font weight --- src/js/components/Ready/PledgeToVote.jsx | 2 +- src/js/components/Style/ReadyIntroductionStyles.jsx | 2 +- src/js/components/Style/ReadyPageCommonStyles.jsx | 2 +- src/js/components/Values/IssuesByOrganizationDisplayList.jsx | 2 +- src/js/components/Values/ValueIconAndText.jsx | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/js/components/Ready/PledgeToVote.jsx b/src/js/components/Ready/PledgeToVote.jsx index 81a02ba2f..fb56dc845 100644 --- a/src/js/components/Ready/PledgeToVote.jsx +++ b/src/js/components/Ready/PledgeToVote.jsx @@ -216,7 +216,7 @@ const CardTitle = styled('h2')` display: inline-block; font-size: 26px; color: black !important; - font-weight: 800; + font-weight: 600; margin-top: 0; margin-bottom: 0; `; diff --git a/src/js/components/Style/ReadyIntroductionStyles.jsx b/src/js/components/Style/ReadyIntroductionStyles.jsx index 151a0eb5e..45e984fb3 100644 --- a/src/js/components/Style/ReadyIntroductionStyles.jsx +++ b/src/js/components/Style/ReadyIntroductionStyles.jsx @@ -30,7 +30,7 @@ export const IntroHeader = styled('div', { padding-top: 0; padding-bottom: 0; ${titleLarge ? 'font-size: 26px;' : 'font-size: 18px;'} - font-weight: 800; + font-weight: 600; margin: 0 !important; ${titleCentered ? 'text-align: center;' : ''} ${theme.breakpoints.down('xs')} { diff --git a/src/js/components/Style/ReadyPageCommonStyles.jsx b/src/js/components/Style/ReadyPageCommonStyles.jsx index 9ab376d1f..8469480af 100644 --- a/src/js/components/Style/ReadyPageCommonStyles.jsx +++ b/src/js/components/Style/ReadyPageCommonStyles.jsx @@ -59,7 +59,7 @@ export const ViewBallotButtonWrapper = styled('div')` export const ReadyTitle = styled('h2')(({ theme }) => (` font-size: 26px; - font-weight: 800; + font-weight: 600; margin: 0 0 12px; ${theme.breakpoints.down('sm')} { font-size: 14px; diff --git a/src/js/components/Values/IssuesByOrganizationDisplayList.jsx b/src/js/components/Values/IssuesByOrganizationDisplayList.jsx index 6d4f1b07c..4943d7315 100644 --- a/src/js/components/Values/IssuesByOrganizationDisplayList.jsx +++ b/src/js/components/Values/IssuesByOrganizationDisplayList.jsx @@ -328,7 +328,7 @@ const ValueIconAndTextOrganization = styled('span', { align-items: start; display: flex; flex: none; - ${issueFollowedByVoter ? 'font-weight: 800;' : ''} + ${issueFollowedByVoter ? 'font-weight: 600;' : ''} padding: 2px 4px 2px 0; position: relative; width: fit-content; diff --git a/src/js/components/Values/ValueIconAndText.jsx b/src/js/components/Values/ValueIconAndText.jsx index f7a38f445..7fd1eaa06 100644 --- a/src/js/components/Values/ValueIconAndText.jsx +++ b/src/js/components/Values/ValueIconAndText.jsx @@ -266,7 +266,7 @@ const ValueIconAndTextSpan = styled('span', { align-items: start; display: flex; flex: none; - ${issueFollowedByVoter ? 'font-weight: 800;' : ''} + ${issueFollowedByVoter ? 'font-weight: 600;' : ''} padding: 4px; position: relative; width: fit-content;