diff --git a/frontend/index.html b/frontend/index.html index 31f1b3008..7b34ac8e9 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -11,7 +11,8 @@ /> - + + Stirling PDF diff --git a/frontend/package-lock.json b/frontend/package-lock.json index 1438432a5..606ce3e7b 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -29,7 +29,6 @@ "i18next-browser-languagedetector": "^8.1.0", "i18next-http-backend": "^3.0.2", "jszip": "^3.10.1", - "material-symbols": "^0.33.0", "pdf-lib": "^1.17.1", "pdfjs-dist": "^3.11.174", "react": "^19.1.0", @@ -6097,12 +6096,6 @@ "semver": "bin/semver.js" } }, - "node_modules/material-symbols": { - "version": "0.33.0", - "resolved": "https://registry.npmjs.org/material-symbols/-/material-symbols-0.33.0.tgz", - "integrity": "sha512-t9/Gz+14fClRgN7oVOt5CBuwsjFLxSNP9BRDyMrI5el3IZNvoD94IDGJha0YYivyAow24rCS0WOkAv4Dp+YjNg==", - "license": "Apache-2.0" - }, "node_modules/math-intrinsics": { "version": "1.1.0", "resolved": "https://registry.npmjs.org/math-intrinsics/-/math-intrinsics-1.1.0.tgz", diff --git a/frontend/package.json b/frontend/package.json index cde323bcc..363325a0a 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -25,7 +25,6 @@ "i18next-browser-languagedetector": "^8.1.0", "i18next-http-backend": "^3.0.2", "jszip": "^3.10.1", - "material-symbols": "^0.33.0", "pdf-lib": "^1.17.1", "pdfjs-dist": "^3.11.174", "react": "^19.1.0", diff --git a/frontend/public/fonts/material-symbols-rounded.woff2 b/frontend/public/fonts/material-symbols-rounded.woff2 new file mode 100644 index 000000000..4eeeb09d0 Binary files /dev/null and b/frontend/public/fonts/material-symbols-rounded.woff2 differ diff --git a/frontend/src/index.css b/frontend/src/index.css index f7e5e0865..635e6de8b 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -1,8 +1,4 @@ -@import 'material-symbols/rounded.css'; - -.material-symbols-rounded { - font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; -} +@import './styles/material-symbols-rounded.css'; body { margin: 0; diff --git a/frontend/src/styles/material-symbols-rounded.css b/frontend/src/styles/material-symbols-rounded.css new file mode 100644 index 000000000..8e8eeac07 --- /dev/null +++ b/frontend/src/styles/material-symbols-rounded.css @@ -0,0 +1,12 @@ +@font-face { + font-family: "Material Symbols Rounded"; + font-style: normal; + font-weight: 100 700; + font-display: block; + src: url("/fonts/material-symbols-rounded.woff2") format("woff2"); +} + +.material-symbols-rounded { + font-family: "Material Symbols Rounded"; + font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24; +} \ No newline at end of file