@forgeroute/ui 0.5.13 → 0.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -446,9 +446,10 @@ function stripeAppearanceFromTheme(tokens) {
446
446
  const filled = Object.fromEntries(Object.entries(props).filter(([, v]) => !!v && v.trim()));
447
447
  if (Object.keys(filled).length) rules[selector] = filled;
448
448
  };
449
- if (tokens.border) {
450
- rule(".Input", { border: `1px solid ${tokens.border.trim()}` });
451
- rule(".Tab", { border: `1px solid ${tokens.border.trim()}` });
449
+ const border = tokens.border?.trim();
450
+ if (border) {
451
+ rule(".Input", { border: `1px solid ${border}` });
452
+ rule(".Tab", { border: `1px solid ${border}` });
452
453
  }
453
454
  if (tokens.text) rule(".Label", { color: tokens.text });
454
455
  return {