Skip to content

Commit

Permalink
Merge pull request #534 from itexpert120/fix-mona-sans
Browse files Browse the repository at this point in the history
Fix font
  • Loading branch information
lachlanglen authored Apr 14, 2024
2 parents 1932f5f + 0f0d75a commit 88d984e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 34 deletions.
2 changes: 1 addition & 1 deletion apps/potlock/widget/Cart/Modal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const ModalHeaderText = styled.div`
text-align: center;
color: #2e2e2e;
font-size: 14px;
font-family: Mona-Sans;
font-family: "Mona Sans", sans-serif;
font-weight: 600;
line-height: 16px;
word-wrap: break-word;
Expand Down
33 changes: 1 addition & 32 deletions apps/potlock/widget/Index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,38 +24,7 @@ const loraCss = fetch(
const Theme = styled.div`
position: relative;
* {
font-family: "Mona-Sans";
font-feature-settings: "ss01" on, "salt" on;
font-style: normal;
font-weight: 400;
}
@font-face {
font-family: mona-sans;
font-style: normal;
font-weight: 400;
src: local("Mona-Sans"),
url(https://fonts.cdnfonts.com/s/91271/Mona-Sans-Regular.woff) format("woff");
}
@font-face {
font-family: mona-sans;
font-style: normal;
font-weight: 500;
src: local("Mona-Sans"),
url(https://fonts.cdnfonts.com/s/91271/Mona-Sans-Medium.woff) format("woff");
}
@font-face {
font-family: mona-sans;
font-style: normal;
font-weight: 600;
src: local("Mona-Sans"),
url(https://fonts.cdnfonts.com/s/91271/Mona-Sans-SemiBold.woff) format("woff");
}
@font-face {
font-family: mona-sans;
font-style: normal;
font-weight: 700;
src: local("Mona-Sans"),
url(https://fonts.cdnfonts.com/s/91271/Mona-Sans-Bold.woff) format("woff");
font-family: "Mona Sans", sans-serif;
}
${loraCss}
`;
Expand Down
2 changes: 1 addition & 1 deletion apps/potlock/widget/Project/ListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ const SectionTitle = styled.div`
font-size: 24px;
font-weight: 600;
color: #2e2e2e;
font-family: Mona-Sans;
font-family: "Mona Sans", sans-serif;
`;

const ProjectsCount = styled.div`
Expand Down

0 comments on commit 88d984e

Please sign in to comment.