Skip to content

Commit

Permalink
feat: restore ColorModeSwitch, make default light mode
Browse files Browse the repository at this point in the history
  • Loading branch information
antonio-altr committed Mar 14, 2024
1 parent 66fdf9c commit cc7a854
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion theme/config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type ThemeConfig } from '@chakra-ui/react';

const config: ThemeConfig = {
initialColorMode: 'dark',
initialColorMode: 'light',
useSystemColorMode: false,
disableTransitionOnChange: false,
};
Expand Down
1 change: 1 addition & 0 deletions ui/snippets/topBar/TopBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ const TopBar = () => {
<Divider mr={ 3 } ml={{ base: 2, sm: 3 }} height={ 4 } orientation="vertical"/>
</>
) }
<ColorModeSwitch/>
</Flex>
</Flex>
);
Expand Down

0 comments on commit cc7a854

Please sign in to comment.