build ok,

This commit is contained in:
louiscklaw
2025-04-14 09:47:36 +08:00
parent a1248904d3
commit 287888bcb3
2 changed files with 21 additions and 1 deletions

View File

@@ -0,0 +1,18 @@
/* Japanese (Noto Sans JP) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@100..900&display=swap');
/* Simplified Chinese (Noto Sans SC) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@100..900&display=swap');
/* Traditional Chinese (Noto Sans TC) */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100..900&display=swap');
/* Sans (Noto Sans) - includes italic */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
body {
font-family: 'Noto Sans TC', sans-serif;
font-optical-sizing: auto;
font-weight: 400;
font-style: normal;
}

View File

@@ -1,8 +1,10 @@
import type { TypographyOptions } from '@mui/material/styles/createTypography';
import './google_fonts.css';
export const typography = {
fontFamily:
'"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
'"Noto Sans SC","Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
body1: { fontSize: '1rem', fontWeight: 400, lineHeight: 1.5 },
body2: { fontSize: '0.875rem', fontWeight: 400, lineHeight: 1.57 },
button: { fontWeight: 500 },