1
0
mirror of https://github.com/spacebarchat/client.git synced 2024-11-25 03:32:54 +01:00

feat: urbanist font

This commit is contained in:
Puyodead1 2023-04-27 22:12:39 -04:00
parent 835a1e5e1c
commit c0cb3b7618
No known key found for this signature in database
GPG Key ID: A4FA4FEC0DD353FC
4 changed files with 13 additions and 10 deletions

View File

@ -15,6 +15,7 @@
"@emotion/react": "^11.10.6", "@emotion/react": "^11.10.6",
"@emotion/styled": "^11.10.6", "@emotion/styled": "^11.10.6",
"@fontsource/roboto": "^4.5.8", "@fontsource/roboto": "^4.5.8",
"@fontsource/urbanist": "^4.5.17",
"@hcaptcha/react-hcaptcha": "^1.8.0", "@hcaptcha/react-hcaptcha": "^1.8.0",
"@mattjennings/react-modal-stack": "^1.0.4", "@mattjennings/react-modal-stack": "^1.0.4",
"@mui/material": "^5.11.13", "@mui/material": "^5.11.13",

View File

@ -1,4 +1,4 @@
lockfileVersion: '5.4' lockfileVersion: '6.0'
dependencies: dependencies:
'@emotion/react': '@emotion/react':
@ -10,6 +10,9 @@ dependencies:
'@fontsource/roboto': '@fontsource/roboto':
specifier: ^4.5.8 specifier: ^4.5.8
version: 4.5.8 version: 4.5.8
'@fontsource/urbanist':
specifier: ^4.5.17
version: 4.5.17
'@hcaptcha/react-hcaptcha': '@hcaptcha/react-hcaptcha':
specifier: ^1.8.0 specifier: ^1.8.0
version: 1.8.0(react-dom@18.2.0)(react@18.2.0) version: 1.8.0(react-dom@18.2.0)(react@18.2.0)
@ -2233,6 +2236,10 @@ packages:
resolution: {integrity: sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==} resolution: {integrity: sha512-CnD7zLItIzt86q4Sj3kZUiLcBk1dSk81qcqgMGaZe7SQ1P8hFNxhMl5AZthK1zrDM5m74VVhaOpuMGIL4gagaA==}
dev: false dev: false
/@fontsource/urbanist@4.5.17:
resolution: {integrity: sha512-zE3a23W/l038Ty7btpUC4mKoD7d3c4CqOkX89agNC/nUGctjalA7FlWvnQAbzP65ZmWc20aBueGMeCQmfJQ+cA==}
dev: false
/@hcaptcha/react-hcaptcha@1.8.0(react-dom@18.2.0)(react@18.2.0): /@hcaptcha/react-hcaptcha@1.8.0(react-dom@18.2.0)(react@18.2.0):
resolution: {integrity: sha512-OXuD9I1PaPjXQKMymeMQ88pa/AIT77wORbYlM+s9z+viPtaxi5FZX9Pigb4pgXfBAymTYMrFCsSajTqV0pkfag==} resolution: {integrity: sha512-OXuD9I1PaPjXQKMymeMQ88pa/AIT77wORbYlM+s9z+viPtaxi5FZX9Pigb4pgXfBAymTYMrFCsSajTqV0pkfag==}
peerDependencies: peerDependencies:

View File

@ -1,8 +1,6 @@
body { body {
margin: 0; margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", font-family: "Urbanist", sans-serif;
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased; -webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
} }

View File

@ -1,7 +1,4 @@
import "@fontsource/roboto/300.css"; import "@fontsource/urbanist";
import "@fontsource/roboto/400.css";
import "@fontsource/roboto/500.css";
import "@fontsource/roboto/700.css";
import { ModalStack } from "@mattjennings/react-modal-stack"; import { ModalStack } from "@mattjennings/react-modal-stack";
import ReactDOM from "react-dom/client"; import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom"; import { BrowserRouter } from "react-router-dom";
@ -10,7 +7,7 @@ import Theme from "./contexts/Theme";
import "./index.css"; import "./index.css";
const root = ReactDOM.createRoot( const root = ReactDOM.createRoot(
document.getElementById("root") as HTMLElement document.getElementById("root") as HTMLElement,
); );
root.render( root.render(
<BrowserRouter> <BrowserRouter>
@ -18,5 +15,5 @@ root.render(
<App /> <App />
<Theme /> <Theme />
</ModalStack> </ModalStack>
</BrowserRouter> </BrowserRouter>,
); );