@@ -9,6 +9,7 @@ | |||||
"version": "0.0.0", | "version": "0.0.0", | ||||
"license": "ISC", | "license": "ISC", | ||||
"dependencies": { | "dependencies": { | ||||
"@fontsource-variable/noto-sans-jp": "^5.2.9", | |||||
"@radix-ui/react-dialog": "^1.1.14", | "@radix-ui/react-dialog": "^1.1.14", | ||||
"@radix-ui/react-switch": "^1.2.5", | "@radix-ui/react-switch": "^1.2.5", | ||||
"@radix-ui/react-toast": "^1.2.14", | "@radix-ui/react-toast": "^1.2.14", | ||||
@@ -947,6 +948,15 @@ | |||||
"node": "^18.18.0 || ^20.9.0 || >=21.1.0" | "node": "^18.18.0 || ^20.9.0 || >=21.1.0" | ||||
} | } | ||||
}, | }, | ||||
"node_modules/@fontsource-variable/noto-sans-jp": { | |||||
"version": "5.2.9", | |||||
"resolved": "https://registry.npmjs.org/@fontsource-variable/noto-sans-jp/-/noto-sans-jp-5.2.9.tgz", | |||||
"integrity": "sha512-osPL5f7dvGDjuMuFwDTGPLG37030D8X5zk+3BWea6txAVDFeE/ZIrKW0DY0uSDfRn9+NiKbiFn/2QvZveKXTog==", | |||||
"license": "OFL-1.1", | |||||
"funding": { | |||||
"url": "https://github.com/sponsors/ayuhito" | |||||
} | |||||
}, | |||||
"node_modules/@humanfs/core": { | "node_modules/@humanfs/core": { | ||||
"version": "0.19.1", | "version": "0.19.1", | ||||
"resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", | "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", | ||||
@@ -11,6 +11,7 @@ | |||||
"preview": "vite preview" | "preview": "vite preview" | ||||
}, | }, | ||||
"dependencies": { | "dependencies": { | ||||
"@fontsource-variable/noto-sans-jp": "^5.2.9", | |||||
"@radix-ui/react-dialog": "^1.1.14", | "@radix-ui/react-dialog": "^1.1.14", | ||||
"@radix-ui/react-switch": "^1.2.5", | "@radix-ui/react-switch": "^1.2.5", | ||||
"@radix-ui/react-toast": "^1.2.14", | "@radix-ui/react-toast": "^1.2.14", | ||||
@@ -1,3 +1,5 @@ | |||||
@import "@fontsource-variable/noto-sans-jp"; | |||||
@tailwind base; | @tailwind base; | ||||
@tailwind components; | @tailwind components; | ||||
@tailwind utilities; | @tailwind utilities; | ||||
@@ -7,7 +9,6 @@ | |||||
body | body | ||||
{ | { | ||||
@apply overflow-x-clip; | @apply overflow-x-clip; | ||||
@apply font-jpSans; | |||||
} | } | ||||
a | a | ||||
@@ -22,7 +23,7 @@ | |||||
:root | :root | ||||
{ | { | ||||
font-family: system-ui, Avenir, Helvetica, Arial, sans-serif; | |||||
font-family: "Noto Sans JP Variable", system-ui, Avenir, Helvetica, Arial, sans-serif; | |||||
line-height: 1.5; | line-height: 1.5; | ||||
font-weight: 400; | font-weight: 400; | ||||
@@ -23,20 +23,5 @@ export default { | |||||
keyframes: { | keyframes: { | ||||
'rainbow-scroll': { | 'rainbow-scroll': { | ||||
'0%': { backgroundPosition: '0% 50%' }, | '0%': { backgroundPosition: '0% 50%' }, | ||||
'100%': { backgroundPosition: '200% 50%' } } }, | |||||
fontFamily: { | |||||
jpSans: ['Noto Sans JP', | |||||
'Hiragino Kaku Gothic ProN', | |||||
'ヒラギノ角ゴ ProN W3', | |||||
'Yu Gothic', | |||||
'游ゴシック体', | |||||
'Meiryo', | |||||
'sans-serif'], | |||||
jpSerif: ['Noto Serif JP', | |||||
'Hiragino Mincho ProN', | |||||
'ヒラギノ明朝 ProN W3', | |||||
'Yu Mincho', | |||||
'游明朝', | |||||
'MS PMincho', | |||||
'serif'] } } }, | |||||
'100%': { backgroundPosition: '200% 50%' } } } } }, | |||||
plugins: [] } satisfies Config | plugins: [] } satisfies Config |