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.

35 lines (27 loc) 766 B
// ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" import typography from "~/themes/theme-light/base/typography" import borders from "~/themes/theme-light/base/borders" const { info, inputBorderColor, dark } = colors const { size } = typography const { borderWidth } = borders // types type Types = any const input: Types = { styleOverrides: { root: { fontSize: size.sm, color: dark.main, "&:hover:not(.Mui-disabled):before": { borderBottom: `${borderWidth[1]} solid ${inputBorderColor}`, }, "&:before": { borderColor: inputBorderColor, }, "&:after": { borderColor: info.main, }, }, }, } export default input