general: passing up inverse
This commit is contained in:
@@ -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}
|
||||||
|
|||||||
@@ -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 = {
|
||||||
|
|||||||
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user