UNPKG

@carton-org/react-neumorphism

Version:

A React component library implementing the neumorphism design style

16 lines (15 loc) 379 B
const M = 4, o = (t) => `${4 * t}px`, x = (t) => 4 * t, X = { xs: o(1), sm: o(2), md: o(3), lg: o(4), xl: o(5) }; var L = ((t) => (t[t.XS = x(1)] = "XS", t[t.SM = x(2)] = "SM", t[t.MD = x(3)] = "MD", t[t.LG = x(4)] = "LG", t[t.XL = x(5)] = "XL", t))(L || {}); export { L as SpacingsNumber, o as getSpacing, x as getSpacingNumber, X as spacings, M as units };