Header is close

This commit is contained in:
MotorTruck1221 2025-03-18 01:46:09 -06:00
parent a972e43c2c
commit e56d2189ad
No known key found for this signature in database
GPG key ID: 08F417E2B8B61EA4
5 changed files with 17 additions and 1 deletions

View file

@ -34,6 +34,7 @@
]
},
"devDependencies": {
"@fontsource/inter": "^5.2.5",
"@iconify-json/lucide": "^1.2.30",
"@types/node": "^22.13.10",
"tsx": "^4.19.3"

8
pnpm-lock.yaml generated
View file

@ -42,6 +42,9 @@ importers:
specifier: ^1.1.7
version: 1.1.7
devDependencies:
'@fontsource/inter':
specifier: ^5.2.5
version: 5.2.5
'@iconify-json/lucide':
specifier: ^1.2.30
version: 1.2.30
@ -282,6 +285,9 @@ packages:
'@fastify/static@8.1.1':
resolution: {integrity: sha512-TW9eyVHJLytZNpBlSIqd0bl1giJkEaRaPZG+5AT3L/OBKq9U8D7g/OYmc2NPQZnzPURGhMt3IAWuyVkvd2nOkQ==}
'@fontsource/inter@5.2.5':
resolution: {integrity: sha512-kbsPKj0S4p44JdYRFiW78Td8Ge2sBVxi/PIBwmih+RpSXUdvS9nbs1HIiuUSPtRMi14CqLEZ/fbk7dj7vni1Sg==}
'@iconify-json/lucide@1.2.30':
resolution: {integrity: sha512-0EaiofYbUwnp15sNC3cOJi0oD5DbbfDKbnIEA6jJ+WGHigyePgBVmx/5/S97XQmvl+Ix/Md3oGLKxkI5szL0rg==}
@ -2496,6 +2502,8 @@ snapshots:
fastq: 1.19.1
glob: 11.0.1
'@fontsource/inter@5.2.5': {}
'@iconify-json/lucide@1.2.30':
dependencies:
'@iconify/types': 2.0.0

View file

@ -1,6 +1,7 @@
---
import "@styles/themes/default.css";
import "@styles/global.css";
import "@fontsource/inter";
import { ClientRouter } from "astro:transitions";
import SettingsLoader from "@components/SettingsLoader.astro";
import Header from "@components/Header.astro";
@ -16,7 +17,7 @@ import Header from "@components/Header.astro";
<title>Radius</title>
<ClientRouter fallback="animate" />
</head>
<body class="h-full w-full bg-(--background)">
<body class="h-full w-full bg-(--background) font-override">
<Header />
<div class="h-full w-full fixed bg-(--background)">
<slot />

View file

@ -1 +1,6 @@
@import "tailwindcss";
.font-override {
font-family: var(--font-family), Inter, sans-serif;
}

View file

@ -21,4 +21,5 @@
--destructive-foreground: hsl(0 0% 100%);
--ring: hsl(215.09 100% 98.03%);
--radius: hsl(0.4rem);
--font-family: Inter;
}