mirror of
https://github.com/luxfi/explore.git
synced 2026-09-24 00:28:18 +00:00
18 lines
437 B
TypeScript
18 lines
437 B
TypeScript
import type { StyleFunctionProps } from '@chakra-ui/theme-tools';
|
|
import { mode } from '@chakra-ui/theme-tools';
|
|
|
|
import getDefaultTransitionProps from './utils/getDefaultTransitionProps';
|
|
|
|
const global = (props: StyleFunctionProps) => ({
|
|
body: {
|
|
bg: mode('white', 'black')(props),
|
|
...getDefaultTransitionProps(),
|
|
'-webkit-tap-highlight-color': 'transparent',
|
|
},
|
|
form: {
|
|
w: '100%',
|
|
},
|
|
});
|
|
|
|
export default global;
|