Skip to content

Commit 8468ad5

Browse files
Switch back to noto for sans font
1 parent 81a90e4 commit 8468ad5

File tree

4 files changed

+17
-17
lines changed

4 files changed

+17
-17
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
"dependencies": {
1616
"@emotion/react": "^11.14.0",
1717
"@emotion/styled": "^11.14.0",
18+
"@fontsource-variable/noto-sans": "^5.1.1",
1819
"@fontsource-variable/source-code-pro": "^5.1.1",
19-
"@fontsource-variable/source-sans-3": "^5.1.1",
2020
"@mui/icons-material": "^6.4.4",
2121
"@mui/material": "^6.4.4",
2222
"d3": "^7.9.0",

src/www/fonts.scss

+8-8
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
/* source-sans-3-latin-wght-normal */
1+
/* noto-sans-latin-wght-normal */
22
@font-face {
3-
font-family: "Source Sans 3 Variable";
3+
font-family: "Noto Sans Variable";
44
font-style: normal;
55
font-display: swap;
6-
font-weight: 200 900;
7-
src: url(@fontsource-variable/source-sans-3/files/source-sans-3-latin-wght-normal.woff2)
6+
font-weight: 100 900;
7+
src: url(@fontsource-variable/noto-sans/files/noto-sans-latin-wght-normal.woff2)
88
format("woff2-variations");
99
unicode-range:
1010
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
1111
U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
1212
}
1313

14-
/* source-sans-3-latin-wght-italic */
14+
/* noto-sans-latin-wght-italic */
1515
@font-face {
16-
font-family: "Source Sans 3 Variable";
16+
font-family: "Noto Sans Variable";
1717
font-style: italic;
1818
font-display: swap;
19-
font-weight: 200 900;
20-
src: url(@fontsource-variable/source-sans-3/files/source-sans-3-latin-wght-italic.woff2)
19+
font-weight: 100 900;
20+
src: url(@fontsource-variable/noto-sans/files/noto-sans-latin-wght-italic.woff2)
2121
format("woff2-variations");
2222
unicode-range:
2323
U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,

src/www/theme.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const theme = createTheme({
1212
},
1313
typography: {
1414
fontFamily: [
15-
'"Source Sans 3 Variable"',
15+
'"Noto Sans Variable"',
1616
"system-ui",
1717
"Avenir",
1818
"Helvetica",

yarn.lock

+7-7
Original file line numberDiff line numberDiff line change
@@ -1530,17 +1530,17 @@ __metadata:
15301530
languageName: node
15311531
linkType: hard
15321532

1533-
"@fontsource-variable/source-code-pro@npm:^5.1.1":
1533+
"@fontsource-variable/noto-sans@npm:^5.1.1":
15341534
version: 5.1.1
1535-
resolution: "@fontsource-variable/source-code-pro@npm:5.1.1"
1536-
checksum: 10c0/b0768244b0e3305823dde2ed49d6f2bfbd925d6a82d9a010c3c844826bb81c30b5c5c0ef0f5df1e37da8cf30fabc2797a2f7528d5ca4bf88904326ca5b4b7ca4
1535+
resolution: "@fontsource-variable/noto-sans@npm:5.1.1"
1536+
checksum: 10c0/0341668dc3c3f24d5f358d7a2cd7f374385ed6742dace3fd0aa735a46af4747bec129798919827cf42e349e584199329770aac7fb5742d6e8e0fdcf820999cd4
15371537
languageName: node
15381538
linkType: hard
15391539

1540-
"@fontsource-variable/source-sans-3@npm:^5.1.1":
1540+
"@fontsource-variable/source-code-pro@npm:^5.1.1":
15411541
version: 5.1.1
1542-
resolution: "@fontsource-variable/source-sans-3@npm:5.1.1"
1543-
checksum: 10c0/a7552fb77f4844b838de55b57d923959ffbce1e071f4e3d9c0644c3e59f416183a1add59445e750d12aa6e38b937c40115b103af52c1e829b020dfdf9da55100
1542+
resolution: "@fontsource-variable/source-code-pro@npm:5.1.1"
1543+
checksum: 10c0/b0768244b0e3305823dde2ed49d6f2bfbd925d6a82d9a010c3c844826bb81c30b5c5c0ef0f5df1e37da8cf30fabc2797a2f7528d5ca4bf88904326ca5b4b7ca4
15441544
languageName: node
15451545
linkType: hard
15461546

@@ -7704,8 +7704,8 @@ __metadata:
77047704
"@emotion/react": "npm:^11.14.0"
77057705
"@emotion/styled": "npm:^11.14.0"
77067706
"@eslint/js": "npm:^9.20.0"
7707+
"@fontsource-variable/noto-sans": "npm:^5.1.1"
77077708
"@fontsource-variable/source-code-pro": "npm:^5.1.1"
7708-
"@fontsource-variable/source-sans-3": "npm:^5.1.1"
77097709
"@mui/icons-material": "npm:^6.4.4"
77107710
"@mui/material": "npm:^6.4.4"
77117711
"@types/d3": "npm:^7.4.3"

0 commit comments

Comments
 (0)