UNPKG

react-garden

Version:

React + TypeScript + ThreeJS app using Material UI on NextJS, Apollo Client, GraphQL + WordPress REST APIs, for ThreeD web development.. a part of the threed.ai code family.

28 lines (22 loc) 665 B
// ThreeD Garden Helper Functions import pxToRem from "~/themes/theme-light/functions/pxToRem" // ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" import boxShadows from "~/themes/theme-light/base/boxShadows" import borders from "~/themes/theme-light/base/borders" const { transparent } = colors const { lg } = boxShadows const { borderRadius } = borders // types type Types = any const popover: Types = { styleOverrides: { paper: { backgroundColor: transparent.main, boxShadow: lg, padding: pxToRem(8), borderRadius: borderRadius.md, }, }, } export default popover