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 (45 loc) 1.35 kB
// ThreeD Garden Base Styles import typography from "~/themes/theme-light/base/typography" import borders from "~/themes/theme-light/base/borders" import colors from "~/themes/theme-light/base/colors" // ThreeD Garden Helper Functions import pxToRem from "~/themes/theme-light/functions/pxToRem" const { size, fontWeightRegular } = typography const { borderRadius } = borders const { dark } = colors // types type Types = any const tab: Types = { styleOverrides: { root: { display: "flex", alignItems: "center", flexDirection: "row", flex: "1 1 auto", textAlign: "center", maxWidth: "unset !important", minWidth: "unset !important", minHeight: "unset !important", fontSize: size.md, fontWeight: fontWeightRegular, textTransform: "none", lineHeight: "inherit", padding: pxToRem(4), borderRadius: borderRadius.lg, color: `${dark.main} !important`, opacity: "1 !important", "& .material-icons, .material-icons-round": { marginBottom: "0 !important", marginRight: pxToRem(6), }, "& svg": { marginBottom: "0 !important", marginRight: pxToRem(6), }, }, labelIcon: { paddingTop: pxToRem(4), }, }, } export default tab