From 90300ce84888d7d485f4835c6367800bc4962008 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 9f65ede..1187e20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,8 +8,8 @@ "name": "profectus", "version": "0.6.2", "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", @@ -2055,14 +2055,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 4247f71..029f6b4 100644 --- a/package.json +++ b/package.json @@ -14,8 +14,8 @@ "lint:fix": "eslint --fix --max-warnings 0 src" }, "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 f84ba5f..7734dd7 100644 --- a/src/main.css +++ b/src/main.css @@ -70,3 +70,17 @@ ul { :disabled { pointer-events: none; } + +.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; +}