function i(t) {
  if (!t || typeof t != "string") return !1;
  const r = t.trim();
  return !!(/^var\(--[a-zA-Z0-9-_]+\)$/.test(r) || /^\d+(\.\d+)?$/.test(r) || /^\d+(\.\d+)?(px|rem|em|pt|%|vh|vw|vmin|vmax)$/.test(r));
}
export {
  i as default
};
//# sourceMappingURL=isValidFontSize.js.map
