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.

54 lines (44 loc) 1.2 kB
// ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" import borders from "~/themes/theme-light/base/borders" import boxShadows from "~/themes/theme-light/base/boxShadows" // ThreeD Garden Helper Functions import pxToRem from "~/themes/theme-light/functions/pxToRem" const { grey, white } = colors const { borderRadius } = borders const { tabsBoxShadow } = boxShadows // types type Types = any const tabs: Types = { styleOverrides: { root: { position: "relative", backgroundColor: grey[100], borderRadius: borderRadius.xl, minHeight: "unset", padding: pxToRem(4), }, flexContainer: { height: "100%", position: "relative", zIndex: 10, }, fixed: { overflow: "unset !important", overflowX: "unset !important", }, vertical: { "& .MuiTabs-indicator": { width: "100%", }, }, indicator: { height: "100%", borderRadius: borderRadius.lg, backgroundColor: white.main, boxShadow: tabsBoxShadow.indicator, transition: "all 500ms ease", }, }, } export default tabs