Skip to content

Commit 7d24564

Browse files
committed
style(font): Unify font to Mincho typeface
1 parent b17984b commit 7d24564

File tree

10 files changed

+4
-18
lines changed

10 files changed

+4
-18
lines changed

src/App.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ function App() {
2626
score: 25000,
2727
});
2828
return (
29+
<div style={{
30+
fontFamily: "YuMincho, Hiragino Mincho ProN, serif"
31+
}}>
2932
<Router>
3033
<Routes>
3134
<Route path="/" element={<Start setPlayerInfo={setPlayerInfo} />} />
@@ -43,6 +46,7 @@ function App() {
4346
<Route path="*" element={<NotFound />} />
4447
</Routes>
4548
</Router>
49+
</div>
4650
);
4751
}
4852

src/index.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
:root {
2-
font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
32
line-height: 1.5;
43
font-weight: 400;
54

@@ -49,7 +48,6 @@ button {
4948
padding: 0.6em 1.2em;
5049
font-size: 1em;
5150
font-weight: 500;
52-
font-family: inherit;
5351
background-color: #1a1a1a;
5452
cursor: pointer;
5553
transition: border-color 0.25s;

src/pages/Play/GameInterface.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,6 @@ const GameInterface = (props: GameInterfaceProps) => {
215215
flexDirection: "column",
216216
alignItems: "center",
217217
padding: "1rem",
218-
fontFamily: "Arial, sans-serif",
219218
width: "80vw",
220219
height: "80vh",
221220
gap: "1rem",

src/pages/Play/components/DrawEnd.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ export default function DrawEnd(props: DrawEndProps) {
1414
<div
1515
style={{
1616
marginTop: "10px",
17-
fontFamily:
18-
"Noto Serif JP, Source Han Serif JP, Hiragino Mincho ProN,Yu Mincho, serif",
1917
fontSize: "80px",
2018
marginBottom: "20px",
2119
}}

src/pages/Play/components/TsumoEnd.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ export default function TsumoEnd(props: TsumoEndProps) {
1717
>
1818
<div
1919
style={{
20-
fontFamily:
21-
"Noto Serif JP, Source Han Serif JP, Hiragino Mincho ProN, Yu Mincho, serif",
2220
fontSize: "8rem",
2321
fontWeight: "1000",
2422
color: "red",

src/pages/Play/styles/DrawEnd.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
.title {
66
margin-top: 10px;
7-
font-family: "Noto Serif JP", "Source Han Serif JP", "Hiragino Mincho ProN",
8-
"Yu Mincho", serif;
97
font-size: 80px;
108
margin-bottom: 20px;
119
}

src/pages/Play/styles/FinishGame.module.css

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@
44

55
.title {
66
margin-top: 10px;
7-
font-family: "Noto Serif JP", "Source Han Serif JP", "Hiragino Mincho ProN",
8-
"Yu Mincho", serif;
97
font-size: 80px;
108
margin-bottom: 20px;
119
}

src/pages/Result/style.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export const containerStyle: { [key: string]: string } = {
99
flexDirection: "column",
1010
alignItems: "center",
1111
padding: "20px",
12-
fontFamily: "'Arial', sans-serif",
1312
minWidth: "400px",
1413
maxHeight: "800px",
1514
gap: "16px",

src/styles/Start.module.css

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,20 @@
22
position: fixed;
33
top: 40px;
44
left: 40px;
5-
font-family: "Noto Sans", serif;
65
font-size: 18px;
76
color: #ffffff;
87
}
98

109
.mainTitle {
1110
font-size: 6em;
1211
text-align: center;
13-
font-family: "Noto Sans", serif;
1412
font-weight: bold;
1513
color: #ffffff;
1614
}
1715

1816
.subTitle {
1917
font-size: 1.5em;
2018
text-align: center;
21-
font-family: "Noto Sans", serif;
2219
color: #ffffff;
2320
}
2421

@@ -46,7 +43,6 @@
4643
height: 70px;
4744
background-color: #fd903c;
4845
color: white;
49-
font-family: "Noto Sans", serif;
5046
font-size: 1.5em;
5147
border-radius: 6px;
5248
margin: 15px;
@@ -56,7 +52,6 @@
5652
width: 220px;
5753
background-color: #85a4ba;
5854
color: white;
59-
font-family: "Noto Sans", serif;
6055
border-radius: 6px;
6156
}
6257

src/styles/Tutorial.module.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ img {
66
display: flex;
77
flex-direction: column;
88
align-items: center;
9-
font-family: "Arial", sans-serif;
109
gap: 16px;
1110
color: #2b2b2b;
1211
background-color: white;

0 commit comments

Comments
 (0)