Commit a4a6b22
committed
Use inline styles for tooltip colors to ensure they render
Switched from Tailwind utility classes (bg-popover, text-popover-foreground)
to inline styles with CSS custom properties. This ensures the tooltip
background, text, border, and arrow colors are applied correctly regardless
of Tailwind's utility generation.
- backgroundColor: var(--color-popover)
- color: var(--color-popover-foreground)
- borderColor: var(--color-border)
- Arrow fill: var(--color-popover)
This approach guarantees the tooltips have proper styling while still
allowing consumers to override via className or style props.1 parent 68c6ca4 commit a4a6b22
1 file changed
+12
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
| 15 | + | |
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
23 | 29 | | |
24 | 30 | | |
25 | 31 | | |
26 | | - | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
27 | 36 | | |
28 | 37 | | |
29 | 38 | | |
| |||
0 commit comments