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) • 988 B
text/typescript
// ThreeD Garden Base Styles
import typography from "~/themes/theme-light/base/typography"
import colors from "~/themes/theme-light/base/colors"
// ThreeD Garden Helper Functions
import pxToRem from "~/themes/theme-light/functions/pxToRem"
import rgba from "~/themes/theme-light/functions/rgba"
const { size, fontWeightRegular } = typography
const { white } = colors
// types
type Types = any
const stepLabel: Types = {
styleOverrides: {
label: {
marginTop: `${pxToRem(8)} !important`,
fontWeight: fontWeightRegular,
fontSize: size.xs,
color: "#9fc9ff",
textTransform: "uppercase",
"&.Mui-active": {
fontWeight: `${fontWeightRegular} !important`,
color: `${rgba(white.main, 0.8)} !important`,
},
"&.Mui-completed": {
fontWeight: `${fontWeightRegular} !important`,
color: `${rgba(white.main, 0.8)} !important`,
},
},
},
}
export default stepLabel