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.
42 lines (33 loc) • 923 B
text/typescript
// ThreeD Garden Base Styles
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 { borderRadius } = borders
const { light } = colors
// types
type Types = any
const linearProgress: Types = {
styleOverrides: {
root: {
height: pxToRem(6),
borderRadius: borderRadius.md,
overflow: "visible",
position: "relative",
},
colorPrimary: {
backgroundColor: light.main,
},
colorSecondary: {
backgroundColor: light.main,
},
bar: {
height: pxToRem(6),
borderRadius: borderRadius.sm,
position: "absolute",
transform: `translate(0, 0) !important`,
transition: "width 0.6s ease !important",
},
},
}
export default linearProgress