Skip to content

Commit

Permalink
fix(Tooltip): Use the $tooltip-arrow-color variable within the compon…
Browse files Browse the repository at this point in the history
…ent style
  • Loading branch information
jcaron committed Nov 13, 2019
1 parent 3816fb7 commit 86e827d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Tooltip/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ const Tooltip = styled(TooltipUnstyled)`
margin-left: -5px;
content: "";
border-width: 5px 5px 0;
border-top-color: #000
border-top-color: ${props.theme['$tooltip-arrow-color']};
}
&.tooltip.bs-tether-element-attached-left,
Expand All @@ -340,7 +340,7 @@ const Tooltip = styled(TooltipUnstyled)`
margin-top: -5px;
content: "";
border-width: 5px 5px 5px 0;
border-right-color: #000
border-right-color: ${props.theme['$tooltip-arrow-color']};
}
&.tooltip.bs-tether-element-attached-top,
Expand All @@ -356,7 +356,7 @@ const Tooltip = styled(TooltipUnstyled)`
margin-left: -5px;
content: "";
border-width: 0 5px 5px;
border-bottom-color: #000
border-bottom-color: ${props.theme['$tooltip-arrow-color']};
}
&.tooltip.bs-tether-element-attached-right,
Expand All @@ -372,7 +372,7 @@ const Tooltip = styled(TooltipUnstyled)`
margin-top: -5px;
content: "";
border-width: 5px 0 5px 5px;
border-left-color: #000
border-left-color: ${props.theme['$tooltip-arrow-color']};
}
& .tooltip-inner {
Expand Down

0 comments on commit 86e827d

Please sign in to comment.