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.

49 lines (38 loc) 1.01 kB
// ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" import typography from "~/themes/theme-light/base/typography" const { text, info } = colors const { size } = typography // types type Types = any const inputLabel: Types = { styleOverrides: { root: { fontSize: size.sm, color: text.main, lineHeight: 0.9, "&.Mui-focused": { color: info.main, }, "&.MuiInputLabel-shrink": { lineHeight: 1.5, fontSize: size.md, "~ .MuiInputBase-root .MuiOutlinedInput-notchedOutline legend": { fontSize: "0.85em", }, }, }, sizeSmall: { fontSize: size.xs, lineHeight: 1.625, "&.MuiInputLabel-shrink": { lineHeight: 1.6, fontSize: size.sm, "~ .MuiInputBase-root .MuiOutlinedInput-notchedOutline legend": { fontSize: "0.72em", }, }, }, }, } export default inputLabel