Commit 71ccbe5
committed
Add popover colors to :root for inline style access
CSS variables in @theme are only for Tailwind utilities. For inline styles
with var(), variables must also be defined in :root.
Added to :root:
- --color-popover: hsl(0 0% 18%)
- --color-popover-foreground: hsl(0 0% 83%)
Now var(--color-popover) in inline styles will work correctly, ensuring
tooltips have proper background and text colors.1 parent 2c94789 commit 71ccbe5
1 file changed
+2
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
206 | 208 | | |
207 | 209 | | |
208 | 210 | | |
| |||
0 commit comments