@geomak/ui 1.5.2 → 1.5.3

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.
package/dist/index.cjs CHANGED
@@ -489,11 +489,11 @@ function Tooltip({
489
489
  className: [
490
490
  // Layout + typography
491
491
  "pointer-events-none z-[500000] max-w-[220px] px-2.5 py-1.5",
492
- "text-xs font-medium leading-snug text-white",
493
- // Background + border — slightly translucent for depth
494
- "bg-foreground/95 rounded-md border border-white/5",
495
- // Shadow
496
- "shadow-md",
492
+ // Inverted surface: dark on light, light on dark — both readable
493
+ "bg-foreground text-background",
494
+ "text-xs font-medium leading-snug",
495
+ // Shape + shadow
496
+ "rounded-md shadow-md",
497
497
  // Out animation (always the same — just fade)
498
498
  "data-[state=closed]:animate-tooltip-out",
499
499
  // In animation — direction-aware
@@ -506,7 +506,7 @@ function Tooltip({
506
506
  {
507
507
  width: 10,
508
508
  height: 5,
509
- className: "fill-foreground/95"
509
+ className: "fill-foreground"
510
510
  }
511
511
  )
512
512
  ]