Skip to content

Commit 86e827d

Browse files
author
jcaron
committed
fix(Tooltip): Use the $tooltip-arrow-color variable within the component style
1 parent 3816fb7 commit 86e827d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Tooltip/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ const Tooltip = styled(TooltipUnstyled)`
324324
margin-left: -5px;
325325
content: "";
326326
border-width: 5px 5px 0;
327-
border-top-color: #000
327+
border-top-color: ${props.theme['$tooltip-arrow-color']};
328328
}
329329
330330
&.tooltip.bs-tether-element-attached-left,
@@ -340,7 +340,7 @@ const Tooltip = styled(TooltipUnstyled)`
340340
margin-top: -5px;
341341
content: "";
342342
border-width: 5px 5px 5px 0;
343-
border-right-color: #000
343+
border-right-color: ${props.theme['$tooltip-arrow-color']};
344344
}
345345
346346
&.tooltip.bs-tether-element-attached-top,
@@ -356,7 +356,7 @@ const Tooltip = styled(TooltipUnstyled)`
356356
margin-left: -5px;
357357
content: "";
358358
border-width: 0 5px 5px;
359-
border-bottom-color: #000
359+
border-bottom-color: ${props.theme['$tooltip-arrow-color']};
360360
}
361361
362362
&.tooltip.bs-tether-element-attached-right,
@@ -372,7 +372,7 @@ const Tooltip = styled(TooltipUnstyled)`
372372
margin-top: -5px;
373373
content: "";
374374
border-width: 5px 0 5px 5px;
375-
border-left-color: #000
375+
border-left-color: ${props.theme['$tooltip-arrow-color']};
376376
}
377377
378378
& .tooltip-inner {

0 commit comments

Comments
 (0)