general: passing up inverse

This commit is contained in:
Michael Freno
2026-01-13 21:24:25 -05:00
parent 48f01b6171
commit 6325f963ed
3 changed files with 4 additions and 4 deletions

View File

@@ -176,7 +176,7 @@ function AppLayout(props: { children: any }) {
onMouseUp={handleCenterTapRelease}
onTouchEnd={handleCenterTapRelease}
>
<Suspense fallback={<TerminalSplash />}>
<Suspense fallback={<TerminalSplash inverse />}>
<CustomScrollbar
autoHide={true}
autoHideDelay={1500}

View File

@@ -7,7 +7,7 @@ export interface SpinnerProps {
size?: "sm" | "md" | "lg" | "xl" | number;
class?: string;
"aria-label"?: string;
inverse: boolean;
inverse?: boolean;
}
const sizeMap = {

View File

@@ -1,11 +1,11 @@
import { Spinner } from "~/components/Spinner";
export function TerminalSplash() {
export function TerminalSplash(props?: { inverse?: boolean }) {
return (
<div class="bg-base flex min-h-screen w-full flex-col items-center justify-center overflow-hidden">
<div class="text-text max-w-3xl p-8">
<div class="flex items-center justify-center">
<Spinner size="xl" />
<Spinner size="xl" inverse={props?.inverse} />
</div>
</div>
</div>