Browse Source

#136

feature/136
みてるぞ 2 weeks ago
parent
commit
6010ad729b
4 changed files with 15 additions and 18 deletions
  1. +10
    -0
      frontend/package-lock.json
  2. +1
    -0
      frontend/package.json
  3. +3
    -2
      frontend/src/index.css
  4. +1
    -16
      frontend/tailwind.config.js

+ 10
- 0
frontend/package-lock.json View File

@@ -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",


+ 1
- 0
frontend/package.json View File

@@ -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",


+ 3
- 2
frontend/src/index.css View File

@@ -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;




+ 1
- 16
frontend/tailwind.config.js View File

@@ -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

Loading…
Cancel
Save