UNPKG

@coko/client

Version:

Client side common code for coko apps

11 lines (10 loc) 396 B
import { get as e } from "./funcs.js"; //#region src/toolkit/themeHelper.ts var t = (e) => (t) => `calc(${t.theme.gridUnit} * ${e})`, n = (t) => (n) => e(n.theme, t), r = ({ theme: e, validationStatus: t = "default" }) => ({ error: e.colorError, success: e.colorSuccess, default: e.colorBorder, warning: e.colorWarning })[t]; //#endregion export { t as grid, n as th, r as validationColor };