Skip to content

Commit ef3de14

Browse files
committed
add taiwan fonts
1 parent 6dc8d20 commit ef3de14

10 files changed

+99
-85
lines changed

app/(private)/taiwan/page.md

Lines changed: 71 additions & 73 deletions
Large diffs are not rendered by default.

app/globals.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
@import "../styles/typesetting-article.css";
1919

2020
/* @import "../styles/i81n/chinese.css"; */
21-
/* @import "../styles/i81n/taiwan.css"; */
21+
@import "../styles/i81n/taiwan.css";
2222
/* @import "../styles/i81n/arabic.css"; */
2323
/* @import "../styles/i81n/vietnamese.css"; */
2424
/* @import "../styles/i81n/japanese.css"; */
@@ -85,7 +85,7 @@
8585
/* SurveyWithCodeVietnamese, */
8686
/* SurveyWithCodeKorean, */
8787
/* SurveyWithCodeChinese, */
88-
/* SurveyWithCodeTaiwan, */
88+
SurveyWithCodeTaiwan,
8989
SurveyWithCode,
9090
Katex_Main,
9191
"Segoe UI",
2.55 MB
Binary file not shown.
2.17 MB
Binary file not shown.
2.41 MB
Binary file not shown.
2.33 MB
Binary file not shown.
2.44 MB
Binary file not shown.
2.39 MB
Binary file not shown.
2.47 MB
Binary file not shown.

styles/i81n/taiwan.css

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,55 @@
11
@font-face {
2-
font-family: "SurveyWithCodeChinese";
3-
src: url("/fonts/chinese/SurveyWithCodeChinese-Light.woff2") format("woff2");
2+
font-family: "SurveyWithCodeTaiwan";
3+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-ExtraLight.woff2") format("woff2");
4+
font-weight: 200;
5+
font-style: normal;
6+
font-display: swap;
7+
}
8+
9+
@font-face {
10+
font-family: "SurveyWithCodeTaiwan";
11+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-Light.woff2") format("woff2");
412
font-weight: 300;
513
font-style: normal;
614
font-display: swap;
715
}
816

917
@font-face {
10-
font-family: "SurveyWithCodeChinese";
11-
src: url("/fonts/chinese/SurveyWithCodeChinese-Regular.woff2") format("woff2");
18+
font-family: "SurveyWithCodeTaiwan";
19+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-Regular.woff2") format("woff2");
1220
font-weight: 400;
1321
font-style: normal;
1422
font-display: swap;
1523
}
1624

1725
@font-face {
18-
font-family: "SurveyWithCodeChinese";
19-
src: url("/fonts/chinese/SurveyWithCodeChinese-Medium.woff2") format("woff2");
26+
font-family: "SurveyWithCodeTaiwan";
27+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-Medium.woff2") format("woff2");
2028
font-weight: 500;
2129
font-style: normal;
2230
font-display: swap;
2331
}
2432

2533
@font-face {
26-
font-family: "SurveyWithCodeChinese";
27-
src: url("/fonts/chinese/SurveyWithCodeChinese-SemiBold.woff2") format("woff2");
34+
font-family: "SurveyWithCodeTaiwan";
35+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-SemiBold.woff2") format("woff2");
2836
font-weight: 600;
2937
font-style: normal;
3038
font-display: swap;
3139
}
3240

3341
@font-face {
34-
font-family: "SurveyWithCodeChinese";
35-
src: url("/fonts/chinese/SurveyWithCodeChinese-Bold.woff2") format("woff2");
42+
font-family: "SurveyWithCodeTaiwan";
43+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-Bold.woff2") format("woff2");
3644
font-weight: 700;
3745
font-style: normal;
3846
font-display: swap;
3947
}
48+
49+
@font-face {
50+
font-family: "SurveyWithCodeTaiwan";
51+
src: url("/fonts/taiwan/SurveyWithCodeTaiwan-Heavy.woff2") format("woff2");
52+
font-weight: 900;
53+
font-style: normal;
54+
font-display: swap;
55+
}

0 commit comments

Comments
 (0)