From 2a129bdd008f701b7093d56583adc7ad76aeefd9 Mon Sep 17 00:00:00 2001 From: "Drew Hutton (Yoroshi)" Date: Tue, 9 Apr 2019 12:07:09 +0930 Subject: [PATCH] Update Pip to use tiptext background --- src/Cooltip/PipComponent.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Cooltip/PipComponent.js b/src/Cooltip/PipComponent.js index dfc8d46f..0f4168a4 100644 --- a/src/Cooltip/PipComponent.js +++ b/src/Cooltip/PipComponent.js @@ -8,7 +8,8 @@ const PipComponent = styled.div` border: ${({ theme }) => get(theme, 'pipSize')} inset; border-bottom-style: solid; border-color: transparent transparent - ${({ theme }) => get(theme, 'coolChild.activeBackgroundColor')}; + ${({ theme }) => get(theme, 'tiptext.backgroundColor') || + get(theme, 'coolChild.activeBackgroundColor')}; border-top-width: 0; position: absolute; top: calc(1rem + 1px - ${({ theme }) => get(theme, 'pipSize')});