Skip to content

Commit

Permalink
Merge pull request #10 from ViktorSvertoka/Dima-DiaryPage1
Browse files Browse the repository at this point in the history
Fix(Fonts) Error correction
  • Loading branch information
ViktorSvertoka authored Sep 15, 2023
2 parents ff53651 + 1358809 commit c7aa17d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 18 deletions.
7 changes: 2 additions & 5 deletions src/components/DashboardItem/DashboardItem.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,18 +25,15 @@ const Title = styled.h3`
font-feature-settings:
'clig' off,
'liga' off;
font-family: Roboto;
font-family: 'RobotoBold', sans-serif;
font-size: 12px;
font-style: normal;
font-weight: 400;
line-height: 18px;
`;

const Value = styled.p`
color: #efede8;
font-family: Roboto;
font-family: 'RobotoBold';
font-size: 24px;
font-weight: 700;
line-height: 32px;
margin-top: auto;
`;
Expand Down
12 changes: 3 additions & 9 deletions src/components/Diary/DayProducts/DayProducts.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,8 @@ const WrapperTitleBtn = styled.div`

const Title = styled.h3`
color: rgba(239, 237, 232, 0.5);
font-family: Roboto;
font-family: 'RobotoMedium';
font-size: 14px;
font-style: normal;
font-weight: 400;
line-height: 18px;
`;

Expand All @@ -37,10 +35,8 @@ const AddBtn = styled.button`
padding: 0;
background-color: transparent;
color: #e6533c;
font-family: Roboto;
font-family: 'RobotoMedium';
font-size: 16px;
font-style: normal;
font-weight: 500;
line-height: 24px;
`;

Expand All @@ -51,10 +47,8 @@ const DefaultText = styled.p`
transform: translate(-50%, -50%);
color: rgba(239, 237, 232, 0.3);
font-family: Roboto;
font-family: 'RobotoRegular';
font-size: 16px;
font-style: normal;
font-weight: 400;
line-height: 24px;
`;

Expand Down
4 changes: 1 addition & 3 deletions src/components/Diary/DaySwitch/DaySwitch.styled.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ const DateLabel = styled.p`
align-items: center;
justify-content: center;
color: #efede8;
font-family: Roboto;
font-family: 'RobotoBold';
font-size: 24px;
font-style: normal;
font-weight: 700;
line-height: 32px;
`;

Expand Down
2 changes: 1 addition & 1 deletion src/styles/globalStyles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ h6 {
}
h2{
font-family: 'RobotoBold', sans-serif;
font-family: 'RobotoBold';
color: #EFEDE8;
}
Expand Down

0 comments on commit c7aa17d

Please sign in to comment.