Skip to content

Commit 44b7f0b

Browse files
authored
update font-family + update font-weight for poweredBy (#2482)
* update font-family + update font-weight for poweredBy * adding system-ui, -apple-system, Segoe UI to font-family + update CLASS.TAGLINE font-weight to 400 * update font-family for page.js * update font-family for template.jsx
1 parent b700997 commit 44b7f0b

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

Diff for: src/marks/template.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export function MarksElement({
7878
<style>
7979
{`
8080
.${CLASS.TEXT} {
81-
font-family: PayPalOpen-Regular, Helvetica, Arial, "Liberation Sans", sans-serif;
81+
font-family: PayPalPlain-Regular, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;
8282
font-size: 12px;
8383
vertical-align: middle;
8484
}

Diff for: src/ui/buttons/poweredBy.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ const POWERED_BY_PAYPAL_STYLE = `
1515
text-align: center;
1616
margin: 10px auto;
1717
height: 14px;
18-
font-family: PayPalOpen-Regular, Helvetica, Arial, "Liberation Sans", sans-serif;
18+
font-family: PayPalPlain-Regular, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;
1919
font-size: 11px;
20-
font-weight: normal;
20+
font-weight: 400;
2121
font-style: italic;
2222
font-stretch: normal;
2323
color: #7b8388;

Diff for: src/ui/buttons/styles/button.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const buttonStyle = `
1515
margin: 0;
1616
background: 0;
1717
border: 0;
18-
font-family: PayPalOpen-Regular, Helvetica, Arial, "Liberation Sans", sans-serif;
18+
font-family: PayPalPlain-Regular, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;
1919
text-transform: none;
2020
font-weight: 500;
2121
font-smoothing: antialiased;
@@ -80,7 +80,7 @@ export const buttonStyle = `
8080
.${CLASS.TAGLINE} {
8181
max-width: 100%;
8282
font-size: initial;
83-
font-weight: normal;
83+
font-weight: 400;
8484
display: block;
8585
text-align: center;
8686
width: auto;

Diff for: src/ui/buttons/styles/page.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { CLASS } from "../../../constants";
44

55
export const pageStyle = `
66
html, body {
7-
font-family: PayPalOpen-Regular, Helvetica, Arial, "Liberation Sans", sans-serif;
7+
font-family: PayPalPlain-Regular, system-ui, -apple-system, Roboto, "Segoe UI", Helvetica-Neue, Helvetica, Arial, sans-serif;
88
padding: 0;
99
margin: 0;
1010
width: 100%;

0 commit comments

Comments
 (0)