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} onMouseUp={handleCenterTapRelease}
onTouchEnd={handleCenterTapRelease} onTouchEnd={handleCenterTapRelease}
> >
<Suspense fallback={<TerminalSplash />}> <Suspense fallback={<TerminalSplash inverse />}>
<CustomScrollbar <CustomScrollbar
autoHide={true} autoHide={true}
autoHideDelay={1500} autoHideDelay={1500}

View File

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

View File

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