From fb717ef012c18fe50703eae4c4f6ee1350fbaddb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Wiedemann?= Date: Fri, 22 Jan 2021 12:17:11 +0000 Subject: [PATCH] fix(axis): X and Y Axis Tooltip color matches theme --- src/styles.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/styles.ts b/src/styles.ts index 31160fb..45083c9 100644 --- a/src/styles.ts +++ b/src/styles.ts @@ -183,13 +183,13 @@ export const styles: CSSResult = css` opacity: 0; padding: 9px 10px; pointer-events: none; - color: #373d3f; + color: var(--primary-text-color); font-size: 13px; text-align: center; border-radius: 2px; position: absolute; z-index: 10; - background: #eceff1; + background: var(--card-background-color); border: 1px solid #90a4ae; transition: 0.15s ease all; } @@ -274,13 +274,13 @@ export const styles: CSSResult = css` opacity: 0; padding: 4px 10px; pointer-events: none; - color: #373d3f; + color: var(--primary-text-color) font-size: 13px; text-align: center; border-radius: 2px; position: absolute; z-index: 10; - background: #eceff1; + background: var(--card-background-color); border: 1px solid #90a4ae; }