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.

61 lines (52 loc) 1.21 kB
/** * The base border styles for the ThreeD Garden UI Dashboard PRO Material. * You can add new border width, border color or border radius using this file. * You can customized the borders value for the entire ThreeD Garden UI Dashboard PRO Material using thie file. */ // ThreeD Garden Base Styles import colors from "~/themes/theme-light/base/colors" // ThreeD Garden Helper Functions import pxToRem from "~/themes/theme-light/functions/pxToRem" const { grey } = colors // types interface Types { borderColor: string borderWidth: { 0: number 1: string 2: string 3: string 4: string 5: string } borderRadius: { xs: string sm: string md: string lg: string xl: string xxl: string section: string } } const borders: Types = { borderColor: grey[300], borderWidth: { 0: 0, 1: pxToRem(1), 2: pxToRem(2), 3: pxToRem(3), 4: pxToRem(4), 5: pxToRem(5), }, borderRadius: { xs: pxToRem(1.6), sm: pxToRem(2), md: pxToRem(6), lg: pxToRem(8), xl: pxToRem(12), xxl: pxToRem(16), section: pxToRem(160), }, } export default borders