Skip to content

Commit e75a40b

Browse files
committed
fix(style): bg color
Signed-off-by: Sudhanshu Dasgupta <[email protected]>
1 parent f6abad9 commit e75a40b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

src/custom/CustomTooltip/customTooltip.tsx

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Tooltip, type TooltipProps } from '@mui/material';
22
import React from 'react';
3-
import { CHARCOAL, WHITE } from '../../theme';
3+
import { WHITE } from '../../theme';
44
import { RenderMarkdownTooltip } from '../Markdown';
55

66
type CustomTooltipProps = {
@@ -21,7 +21,7 @@ function CustomTooltip({
2121
fontSize,
2222
fontWeight = 400,
2323
variant = 'standard',
24-
bgColor = CHARCOAL,
24+
bgColor = '#333333',
2525
...props
2626
}: CustomTooltipProps): JSX.Element {
2727
return (
@@ -42,6 +42,11 @@ function CustomTooltip({
4242
zIndex: 9999999999,
4343
opacity: '1'
4444
}
45+
},
46+
arrow: {
47+
sx: {
48+
color: bgColor
49+
}
4550
}
4651
}}
4752
title={typeof title === 'string' ? <RenderMarkdownTooltip content={title} /> : title}

0 commit comments

Comments
 (0)