fix: text and theme icon colors (#920)
This commit is contained in:
parent
a4a1c20c7c
commit
7e715d08ec
@ -25,7 +25,7 @@ export const SplashLoader = ({ text = 'Loading' }: { text?: string }) => {
|
|||||||
);
|
);
|
||||||
})}
|
})}
|
||||||
</div>
|
</div>
|
||||||
<div>{text}</div>
|
<div className="text-white">{text}</div>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -28,7 +28,7 @@ function AppBody({ Component, pageProps }: AppProps) {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeContext.Provider value={theme}>
|
<ThemeContext.Provider value={theme}>
|
||||||
<div className="h-full text-white relative text-black-60 dark:text-white-60 z-0 grid grid-rows-[min-content,1fr]">
|
<div className="h-full relative text-black-60 dark:text-white-60 z-0 grid grid-rows-[min-content,1fr]">
|
||||||
<AppLoader>
|
<AppLoader>
|
||||||
<div className="flex items-stretch border-b-[7px] bg-black border-vega-pink dark:border-vega-yellow">
|
<div className="flex items-stretch border-b-[7px] bg-black border-vega-pink dark:border-vega-yellow">
|
||||||
<Navbar />
|
<Navbar />
|
||||||
@ -41,7 +41,11 @@ function AppBody({ Component, pageProps }: AppProps) {
|
|||||||
store.setVegaWalletManageDialog(open);
|
store.setVegaWalletManageDialog(open);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
<ThemeSwitcher onToggle={toggleTheme} className="-my-4" />
|
<ThemeSwitcher
|
||||||
|
onToggle={toggleTheme}
|
||||||
|
className="-my-4"
|
||||||
|
sunClassName="text-white"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<main data-testid={pageProps.page} className="dark:bg-black">
|
<main data-testid={pageProps.page} className="dark:bg-black">
|
||||||
|
@ -8,8 +8,7 @@ export interface SplashProps {
|
|||||||
export const Splash = ({ children }: SplashProps) => {
|
export const Splash = ({ children }: SplashProps) => {
|
||||||
const splashClasses = classNames(
|
const splashClasses = classNames(
|
||||||
'w-full h-full',
|
'w-full h-full',
|
||||||
'flex items-center justify-center',
|
'flex items-center justify-center'
|
||||||
'text-white'
|
|
||||||
);
|
);
|
||||||
return <div className={splashClasses}>{children}</div>;
|
return <div className={splashClasses}>{children}</div>;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user