diff --git a/bun.lock b/bun.lock index 07a33e1..1f84eb8 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "name": "lncvrt-games-launcher-loader", "dependencies": { + "@fontsource/lexend": "5.2.11", "@tailwindcss/vite": "4.1.18", "@tauri-apps/api": "2.10.1", "@tauri-apps/plugin-dialog": "2.6.0", @@ -143,6 +144,8 @@ "@eslint/plugin-kit": ["@eslint/plugin-kit@0.4.1", "", { "dependencies": { "@eslint/core": "^0.17.0", "levn": "^0.4.1" } }, "sha512-43/qtrDUokr7LJqoF2c3+RInu/t4zfrpYdoSDfYyhg52rwLV6TnOvdG4fXm7IkSB3wErkcmJS9iEhjVtOSEjjA=="], + "@fontsource/lexend": ["@fontsource/lexend@5.2.11", "", {}, "sha512-bShbQr2g2sWl7GJNyIxdllZST1faVbebXN6H7AEEDCRms/g4orDLxWnmTVodOtiErdZVUJURq4jpafZ34nIkTw=="], + "@humanfs/core": ["@humanfs/core@0.19.1", "", {}, "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA=="], "@humanfs/node": ["@humanfs/node@0.16.7", "", { "dependencies": { "@humanfs/core": "^0.19.1", "@humanwhocodes/retry": "^0.4.0" } }, "sha512-/zUx+yOsIrG4Y43Eh2peDeKCxlRt/gET6aHfaKpuq267qXdYDFViVHfMaLyygZOnl0kGWxFIgsBy8QFuTLUXEQ=="], diff --git a/package.json b/package.json index 5ebc22f..b9195b0 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "tauri": "tauri" }, "dependencies": { + "@fontsource/lexend": "5.2.11", "@tailwindcss/vite": "4.1.18", "@tauri-apps/api": "2.10.1", "@tauri-apps/plugin-dialog": "2.6.0", diff --git a/src/App.css b/src/App.css index f95826e..6bd975f 100644 --- a/src/App.css +++ b/src/App.css @@ -1,6 +1,7 @@ @import "tailwindcss"; body { + font-family: 'Lexend', sans-serif; @apply bg-[rgb(24,24,24)] text-white select-none; } diff --git a/src/App.tsx b/src/App.tsx index 472c016..597d8f3 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,14 +13,16 @@ import { readTextFile, writeTextFile } from '@tauri-apps/plugin-fs' -import './App.css' import { message } from '@tauri-apps/plugin-dialog' +import '@fontsource/lexend' +import './App.css' + interface LauncherUpdate { - id: string - releaseDate: number - downloadUrl: string - sha512sum: string + id: string + releaseDate: number + downloadUrl: string + sha512sum: string } export default function App () { @@ -110,14 +112,20 @@ export default function App () { } setState('Starting...') - invoke('load') + // invoke('load') })() }, []) return ( <>