From 5b6014c20467fabe0f42e9b59c2264ced6a6ffa8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=B3vis=20Neto?= Date: Mon, 21 Oct 2024 14:42:12 +0200 Subject: [PATCH] fix(tx-builder-tooltips): fix tooltip background on generic modal --- apps/tx-builder/src/components/Tooltip.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/tx-builder/src/components/Tooltip.tsx b/apps/tx-builder/src/components/Tooltip.tsx index 8aadc667..5ab31a71 100644 --- a/apps/tx-builder/src/components/Tooltip.tsx +++ b/apps/tx-builder/src/components/Tooltip.tsx @@ -59,7 +59,7 @@ const customTooltip = ({ backgroundColor, textColor, size = 'md' }: TooltipProps backgroundColor: backgroundColor && theme.palette[backgroundColor] ? (theme.palette[backgroundColor] as PaletteColor).main - : '#E8E7E6', + : theme.palette.primary.main, boxShadow: `1px 2px 10px ${alpha('#28363D', 0.18)}`, border: getBorderBySize(size), color: textColor