Skip to content

Commit 5f1d15d

Browse files
committed
feat: use Noto Serif JP font
1 parent 3b5b854 commit 5f1d15d

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

src/components/Attraction/index.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ function Attraction(props: AttractionProps) {
3333

3434
<Grid
3535
container
36+
item
3637
xs
3738
sm
3839
sx={{

src/themes/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
1+
import "./styles.css";
2+
13
export { darkTheme } from "./dark.theme";
24
export { lightTheme } from "./light.theme";

src/themes/styles.css

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@import url("https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@400;500;600;700&display=swap");

src/themes/typography.ts

+10
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@ import { TypographyOptions } from "@mui/material/styles/createTypography";
22

33
const typographyOptions: TypographyOptions = {
44
fontSize: 16,
5+
fontFamily: [
6+
'"Noto Serif JP"',
7+
"Roboto",
8+
'"Helvetica Neue"',
9+
"Arial",
10+
"sans-serif",
11+
'"Apple Color Emoji"',
12+
'"Segoe UI Emoji"',
13+
'"Segoe UI Symbol"',
14+
].join(","),
515
h1: {
616
fontSize: 24,
717
fontWeight: 600,

0 commit comments

Comments
 (0)