general: passing up inverse
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -7,7 +7,7 @@ export interface SpinnerProps {
|
||||
size?: "sm" | "md" | "lg" | "xl" | number;
|
||||
class?: string;
|
||||
"aria-label"?: string;
|
||||
inverse: boolean;
|
||||
inverse?: boolean;
|
||||
}
|
||||
|
||||
const sizeMap = {
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user