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.
26 lines (19 loc) • 495 B
text/typescript
// ThreeD Garden Base Styles
import borders from "~/themes/theme-light/base/borders"
// ThreeD Garden Helper Functions
import pxToRem from "~/themes/theme-light/functions/pxToRem"
const { borderRadius } = borders
// types
type Types = any
const cardMedia: Types = {
styleOverrides: {
root: {
borderRadius: borderRadius.xl,
margin: `${pxToRem(16)} ${pxToRem(16)} 0`,
},
media: {
width: "auto",
},
},
}
export default cardMedia