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.
38 lines (30 loc) • 827 B
text/typescript
// ThreeD Garden Base Styles
import colors from "~/themes/theme-light/base/colors"
import borders from "~/themes/theme-light/base/borders"
// ThreeD Garden Helper Functions
import pxToRem from "~/themes/theme-light/functions/pxToRem"
const { background } = colors
const { borderRadius } = borders
// types
type Types = any
const sidenav: Types = {
styleOverrides: {
root: {
width: pxToRem(240),
whiteSpace: "nowrap",
border: "none",
},
paper: {
width: pxToRem(240),
backgroundColor: background.sidenav,
height: `calc(100vh - ${pxToRem(0)})`,
margin: pxToRem(0),
borderRadius: 0, // borderRadius.xl,
border: "none",
},
paperAnchorDockedLeft: {
borderRight: "none",
},
},
}
export default sidenav