departuremono.com

This commit is contained in:
2026-03-26 02:03:25 +08:00
parent d55d7e90f0
commit 5e1009616c
7 changed files with 16 additions and 5 deletions

View File

@@ -73,6 +73,17 @@
--noise: 1; --noise: 1;
} }
@font-face {
font-family: "DepartureFontMono";
src: url("/DepartureMono-Regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
}
@theme {
--font-custom: "DepartureFontMono", sans-serif;
}
:root { :root {
background-color: transparent; background-color: transparent;
} }

View File

@@ -55,6 +55,6 @@
} }
</script> </script>
<div class="w-screen h-screen bg-transparent"> <div class="w-screen h-screen bg-transparent font-custom">
{@render children?.()} {@render children?.()}
</div> </div>

View File

@@ -50,7 +50,7 @@
<div class="flex flex-col gap-2 h-full max-h-full"> <div class="flex flex-col gap-2 h-full max-h-full">
<div class="size-full flex flex-col max-h-full gap-2 h-full relative"> <div class="size-full flex flex-col max-h-full gap-2 h-full relative">
<div class="absolute top-2 right-2"> <div class="absolute top-2 right-2">
<p class="text-xs font-mono opacity-50">v{appVersion}</p> <p class="text-xs opacity-50">v{appVersion}</p>
</div> </div>
<div class="tabs tabs-lift h-full flex-1"> <div class="tabs tabs-lift h-full flex-1">
<label class="tab"> <label class="tab">

View File

@@ -24,7 +24,7 @@
<div class="size-full absolute bg-gridded opacity-25"></div> <div class="size-full absolute bg-gridded opacity-25"></div>
<div class="size-full absolute"> <div class="size-full absolute">
<div <div
class="flex flex-row size-full items-end justify-between text-[8px] text-primary p-1 font-mono" class="flex flex-row size-full items-end justify-between text-[8px] text-primary p-1"
> >
<div class="text-start flex flex-col"> <div class="text-start flex flex-col">
<p>Scale</p> <p>Scale</p>

View File

@@ -33,7 +33,7 @@
</p> </p>
</div> </div>
{#if errorMessage} {#if errorMessage}
<p class="text-xs opacity-70 wrap-break-word font-mono"> <p class="text-xs opacity-70 wrap-break-word">
{errorMessage} {errorMessage}
</p> </p>
{/if} {/if}

View File

@@ -90,7 +90,7 @@
{@const status = getFriendStatus(userId)} {@const status = getFriendStatus(userId)}
<div class="badge py-3 text-xs text-left flex flex-row gap-2"> <div class="badge py-3 text-xs text-left flex flex-row gap-2">
<span class="font-bold">{getFriendById(userId)?.name}</span> <span class="font-bold">{getFriendById(userId)?.name}</span>
<div class="flex flex-row font-mono gap-2"> <div class="flex flex-row gap-2">
<span> <span>
{position.cursor.mapped.x.toFixed(3)}, {position.cursor.mapped.x.toFixed(3)},
{position.cursor.mapped.y.toFixed(3)} {position.cursor.mapped.y.toFixed(3)}

Binary file not shown.