From fb98b1e95f25ff7f53778781d1c1c8b29a96102c Mon Sep 17 00:00:00 2001 From: jjreset <61910024+jjreset@users.noreply.github.com> Date: Tue, 30 May 2023 09:36:40 +0900 Subject: new font source Change typeface-roboto to @fontsource/roboto --- modern/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modern/package.json b/modern/package.json index 66d751eb..ba85defc 100644 --- a/modern/package.json +++ b/modern/package.json @@ -5,6 +5,7 @@ "dependencies": { "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", + "@fontsource/roboto": "^4.5.8", "@mapbox/mapbox-gl-draw": "^1.4.1", "@maplibre/maplibre-gl-geocoder": "^1.5.0", "@mui/icons-material": "^5.11.16", @@ -29,7 +30,6 @@ "react-window": "^1.8.8", "recharts": "^2.5.0", "redux": "^4.2.1", - "typeface-roboto": "1.1.13", "wellknown": "^0.5.0", "workbox-background-sync": "^6.5.4", "workbox-broadcast-update": "^6.5.4", -- cgit v1.2.3 From 89014a555ac1263c4fc9541ca492d5b568e6a43e Mon Sep 17 00:00:00 2001 From: jjreset <61910024+jjreset@users.noreply.github.com> Date: Tue, 30 May 2023 09:38:14 +0900 Subject: Update index.js --- modern/src/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modern/src/index.js b/modern/src/index.js index 936fe7c1..652f72c4 100644 --- a/modern/src/index.js +++ b/modern/src/index.js @@ -1,4 +1,5 @@ -import 'typeface-roboto'; +import '@fontsource/roboto/400.css'; +import '@fontsource/roboto/500.css'; import React from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; -- cgit v1.2.3 From d409d4c8dcb2b200dc6b724c12cd26961993d5e6 Mon Sep 17 00:00:00 2001 From: jjreset <61910024+jjreset@users.noreply.github.com> Date: Tue, 30 May 2023 10:40:28 +0900 Subject: Update index.js --- modern/src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modern/src/index.js b/modern/src/index.js index 652f72c4..072e6c77 100644 --- a/modern/src/index.js +++ b/modern/src/index.js @@ -1,5 +1,5 @@ -import '@fontsource/roboto/400.css'; -import '@fontsource/roboto/500.css'; +import '@fontsource/roboto/latin-400.css'; +import '@fontsource/roboto/latin-500.css'; import React from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; -- cgit v1.2.3 From 2e8fe02238412d2a6abdd89b2fc07c86916cdd1d Mon Sep 17 00:00:00 2001 From: jjreset <61910024+jjreset@users.noreply.github.com> Date: Tue, 30 May 2023 14:57:18 +0900 Subject: add 700 --- modern/src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modern/src/index.js b/modern/src/index.js index 072e6c77..50cecce3 100644 --- a/modern/src/index.js +++ b/modern/src/index.js @@ -1,5 +1,6 @@ import '@fontsource/roboto/latin-400.css'; import '@fontsource/roboto/latin-500.css'; +import '@fontsource/roboto/latin-700.css'; import React from 'react'; import { createRoot } from 'react-dom/client'; import { BrowserRouter } from 'react-router-dom'; -- cgit v1.2.3 From 2db79caac3515093b7ffe31e2ce55a3dc64431c3 Mon Sep 17 00:00:00 2001 From: jjreset <61910024+jjreset@users.noreply.github.com> Date: Tue, 30 May 2023 15:33:39 +0900 Subject: Update package-lock.json --- modern/package-lock.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/modern/package-lock.json b/modern/package-lock.json index 8fd507be..b7346504 100644 --- a/modern/package-lock.json +++ b/modern/package-lock.json @@ -10,6 +10,7 @@ "dependencies": { "@emotion/react": "^11.10.6", "@emotion/styled": "^11.10.6", + "@fontsource/roboto": "^5.0.1", "@mapbox/mapbox-gl-draw": "^1.4.1", "@maplibre/maplibre-gl-geocoder": "^1.5.0", "@mui/icons-material": "^5.11.16", @@ -34,7 +35,6 @@ "react-window": "^1.8.8", "recharts": "^2.5.0", "redux": "^4.2.1", - "typeface-roboto": "1.1.13", "wellknown": "^0.5.0", "workbox-background-sync": "^6.5.4", "workbox-broadcast-update": "^6.5.4", @@ -2391,6 +2391,11 @@ "engines": { "node": "^12.22.0 || ^14.17.0 || >=16.0.0" } + }, + "node_modules/@fontsource/roboto": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/@fontsource/roboto/-/roboto-5.0.1.tgz", + "integrity": "sha512-pWF64nF35Tfoh2kWgOuJYEFTLkpn+O3/GIR//u1MGD9b1yR+UBwYKXmcNx9CRyNPjMdWjkdN9GKDHhaWZRYbnw==" }, "node_modules/@humanwhocodes/config-array": { "version": "0.11.8", @@ -17514,11 +17519,6 @@ "is-typedarray": "^1.0.0" } }, - "node_modules/typeface-roboto": { - "version": "1.1.13", - "resolved": "https://registry.npmjs.org/typeface-roboto/-/typeface-roboto-1.1.13.tgz", - "integrity": "sha512-YXvbd3a1QTREoD+FJoEkl0VQNJoEjewR2H11IjVv4bp6ahuIcw0yyw/3udC4vJkHw3T3cUh85FTg8eWef3pSaw==" - }, "node_modules/unbox-primitive": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/unbox-primitive/-/unbox-primitive-1.0.2.tgz", -- cgit v1.2.3