chore: app dir improvement (#4750)

* chore: remove constants package.

* fix: useRouter import in editor.

* chore: improve `peekCycle` and `peekModule` logic.

* style: update app progress bar color.
This commit is contained in:
Prateek Shourya 2024-06-10 19:05:32 +05:30 committed by GitHub
parent a88f2e3cba
commit 7ac07b7b73
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
14 changed files with 10 additions and 394 deletions

View file

@ -29,7 +29,7 @@ export const AppProvider: FC<IAppProvider> = (props) => {
const { resolvedTheme } = useTheme();
return (
<>
<AppProgressBar height="4px" color="#fffd00" options={{ showSpinner: false }} shallowRouting />
<AppProgressBar height="4px" color="#3F76FF" options={{ showSpinner: false }} shallowRouting />
<Toast theme={resolveGeneralTheme(resolvedTheme)} />
<StoreProvider>
<ThemeProvider themes={["light", "dark", "light-contrast", "dark-contrast", "custom"]} defaultTheme="system">