Commit 99f15fed authored by tom's avatar tom

breakpoint and example

parent db51c201
......@@ -10,7 +10,7 @@ const Home: NextPage = () => {
return (
<Page>
<Center h="100%">
<Center h="100%" fontSize={{ base: 'sm', lg: 'xl' }}>
<VStack gap={ 4 }>
<Box>home page for { router.query.network_type } { router.query.network_sub_type } network</Box>
</VStack>
......
const breakpoints = {
lg: '1000px',
};
export default breakpoints;
......@@ -3,6 +3,7 @@ import { extendTheme } from '@chakra-ui/react';
import components from './components/index';
import config from './config';
import borders from './foundations/borders';
import breakpoints from './foundations/breakpoints';
import colors from './foundations/colors';
import typography from './foundations/typography';
import global from './global';
......@@ -16,6 +17,7 @@ const overrides = {
styles: {
global,
},
breakpoints,
};
export default extendTheme(overrides);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment