fui-fancyui
Version:
FancyUI Libary
10 lines (9 loc) • 298 B
JavaScript
import c from "../../theme/themeStore/themeStore.js";
import m from "../checkThemeValue/checkThemeValue.js";
function h(e, t) {
const r = c.getState().theme;
return m(t) && (t = r.spacing[t]), m(e) && (e = r.borderRadius[e]), `calc(${e || "0px"} - ${t || "0px"})`;
}
export {
h as default
};