From cbbce67189a3627ccd936ef9d07944655efd315d Mon Sep 17 00:00:00 2001 From: David Colon <38386583+Da-Colon@users.noreply.github.com> Date: Wed, 17 Apr 2024 13:19:49 -0400 Subject: [PATCH] add space-mono font --- package-lock.json | 6 ++++++ package.json | 1 + src/main.tsx | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 7db10a2088..c6b9e10fcc 100644 --- a/package-lock.json +++ b/package-lock.json @@ -14,6 +14,7 @@ "@emotion/styled": "^11.10.6", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/providers": "^5.7.2", + "@fontsource/space-mono": "^5.0.19", "@fractal-framework/fractal-contracts": "^0.7.0", "@graphprotocol/client-apollo": "^1.0.16", "@lido-sdk/contracts": "^3.0.2", @@ -4905,6 +4906,11 @@ "@ethersproject/strings": "^5.7.0" } }, + "node_modules/@fontsource/space-mono": { + "version": "5.0.19", + "resolved": "https://registry.npmjs.org/@fontsource/space-mono/-/space-mono-5.0.19.tgz", + "integrity": "sha512-gz9yaKtXCY+HutNvQ4APc15xwZ1f6pWXve5N55x5m/hOoGqgB9Auf3l7CitHNhNJkSKEmaM45M29b0rFeudXlg==" + }, "node_modules/@fractal-framework/fractal-contracts": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/@fractal-framework/fractal-contracts/-/fractal-contracts-0.7.0.tgz", diff --git a/package.json b/package.json index 3aaa7399dc..6c7915d7d3 100644 --- a/package.json +++ b/package.json @@ -9,6 +9,7 @@ "@emotion/styled": "^11.10.6", "@ethersproject/abstract-signer": "^5.7.0", "@ethersproject/providers": "^5.7.2", + "@fontsource/space-mono": "^5.0.19", "@fractal-framework/fractal-contracts": "^0.7.0", "@graphprotocol/client-apollo": "^1.0.16", "@lido-sdk/contracts": "^3.0.2", diff --git a/src/main.tsx b/src/main.tsx index e860c18af8..6ac68969af 100644 --- a/src/main.tsx +++ b/src/main.tsx @@ -4,7 +4,7 @@ import { RouterProvider } from 'react-router-dom'; import { useNetworkConfig } from './providers/NetworkConfig/NetworkConfigProvider'; import Providers from './providers/Providers'; import { router } from './router'; - +import '@fontsource/space-mono'; import 'react-toastify/dist/ReactToastify.min.css'; import './assets/css/Markdown.css';