import { BoxProps } from "@chakra-ui/react" ; import { mode } from "./tl-mode" ; type layerStyles = Record < string , BoxProps | any > ; export const layerStyles = { card : { ... mode ( "bg" , "white" , "whiteAlpha.200" ) , } , "card-dark" : { ... mode ( "bg" , "white" , "whiteAlpha.50" ) , } , neutral : { ... mode ( "bg" , "gray.50" , "bg.800" ) , } , } ;