From ba03b8b32bf06d0a2e8006705917f1a00dd3d746 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 17 Mar 2024 10:18:18 -0500 Subject: [PATCH] Update fontsource dependencies --- package-lock.json | 16 ++++++++-------- package.json | 4 ++-- src/main.css | 14 ++++++++++++++ 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/package-lock.json b/package-lock.json index f747006..74ceb7b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "profectus", "version": "0.6.1", "dependencies": { - "@fontsource/material-icons": "^4.5.4", - "@fontsource/roboto-mono": "^4.5.8", + "@fontsource/material-icons": "^5.0.16", + "@fontsource/roboto-mono": "^5.0.17", "@pixi/app": "~6.3.2", "@pixi/constants": "~6.3.2", "@pixi/core": "~6.3.2", @@ -1702,14 +1702,14 @@ } }, "node_modules/@fontsource/material-icons": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/@fontsource/material-icons/-/material-icons-4.5.4.tgz", - "integrity": "sha512-YGmXkkEdu6EIgpFKNmB/nIXzZocwSmbI01Ninpmml8x8BT0M6RR++V1KqOfpzZ6Cw/FQ2/KYonQ3x4IY/4VRRA==" + "version": "5.0.16", + "resolved": "https://registry.npmjs.org/@fontsource/material-icons/-/material-icons-5.0.16.tgz", + "integrity": "sha512-QjlHDR78ojpZfHEHJE0ltDYwyX0pWT6iMS2I9e/bJenVSktFcM+iyCHwjKmA+SDaLf5ASmx1QZNuNT4DNmsrHg==" }, "node_modules/@fontsource/roboto-mono": { - "version": "4.5.10", - "resolved": "https://registry.npmjs.org/@fontsource/roboto-mono/-/roboto-mono-4.5.10.tgz", - "integrity": "sha512-KrJdmkqz6DszT2wV/bbhXef4r0hV3B0vw2mAqei8A2kRnvq+gcJLmmIeQ94vu9VEXrUQzos5M9lH1TAAXpRphw==" + "version": "5.0.17", + "resolved": "https://registry.npmjs.org/@fontsource/roboto-mono/-/roboto-mono-5.0.17.tgz", + "integrity": "sha512-MU6FrAyG7DWMCL8mu0JDPvB2tnFcn/lYvVKixzqHb2uefRsLaD6OBFfF1q5RMFsKcFHyPySHM7ZcGw/Q6A1/FA==" }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", diff --git a/package.json b/package.json index 3c1c415..6a1e7bf 100644 --- a/package.json +++ b/package.json @@ -12,8 +12,8 @@ "serve": "vite preview --host" }, "dependencies": { - "@fontsource/material-icons": "^4.5.4", - "@fontsource/roboto-mono": "^4.5.8", + "@fontsource/material-icons": "^5.0.16", + "@fontsource/roboto-mono": "^5.0.17", "@pixi/app": "~6.3.2", "@pixi/constants": "~6.3.2", "@pixi/core": "~6.3.2", diff --git a/src/main.css b/src/main.css index 60188bd..ee8b9a8 100644 --- a/src/main.css +++ b/src/main.css @@ -66,3 +66,17 @@ ul { .Vue-Toastification__toast { margin: unset; } + +.material-icons { + font-family: 'Material Icons'; + font-weight: normal; + font-style: normal; + font-size: 24px; + display: inline-block; + line-height: 1; + text-transform: none; + letter-spacing: normal; + word-wrap: normal; + white-space: nowrap; + direction: ltr; +}