Skip to content

Commit d118a39

Browse files
ranafaraznarugabrielmfern
andcommittedAug 22, 2024
fix(react-email): Text color in tooltips (#1563)
Co-authored-by: gabriel miranda <gabrielmfern@outlook.com>
1 parent e291281 commit d118a39

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed
 

‎.changeset/new-coats-cover.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"react-email": patch
3+
---
4+
5+
Fixes tooltip color being black for specific theming configurations

‎packages/react-email/src/components/tooltip-content.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const TooltipContent = React.forwardRef<
1818
<TooltipPrimitive.Content
1919
{...props}
2020
className={cn(
21-
'bg-black border border-slate-6 z-20 px-3 py-2 rounded-md text-xs',
21+
'bg-black text-white border border-slate-6 z-20 px-3 py-2 rounded-md text-xs',
2222
`${inter.variable} font-sans`,
2323
)}
2424
ref={forwardedRef}

0 commit comments

Comments
 (0)
Please sign in to comment.