@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.js CHANGED
@@ -457,11 +457,11 @@ function Tooltip({
457
457
  className: [
458
458
  // Layout + typography
459
459
  "pointer-events-none z-[500000] max-w-[220px] px-2.5 py-1.5",
460
- "text-xs font-medium leading-snug text-white",
461
- // Background + border — slightly translucent for depth
462
- "bg-foreground/95 rounded-md border border-white/5",
463
- // Shadow
464
- "shadow-md",
460
+ // Inverted surface: dark on light, light on dark — both readable
461
+ "bg-foreground text-background",
462
+ "text-xs font-medium leading-snug",
463
+ // Shape + shadow
464
+ "rounded-md shadow-md",
465
465
  // Out animation (always the same — just fade)
466
466
  "data-[state=closed]:animate-tooltip-out",
467
467
  // In animation — direction-aware
@@ -474,7 +474,7 @@ function Tooltip({
474
474
  {
475
475
  width: 10,
476
476
  height: 5,
477
- className: "fill-foreground/95"
477
+ className: "fill-foreground"
478
478
  }
479
479
  )
480
480
  ]