Skip to content

Commit

Permalink
fix(tooltip): Use colors from the theme
Browse files Browse the repository at this point in the history
  • Loading branch information
RomRider committed Jan 22, 2021
1 parent 268ef77 commit 5c263f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ export const styles: CSSResult = css`
}
.apexcharts-tooltip.apexcharts-active {
opacity: 1;
opacity: 0.96;
transition: 0.15s ease all;
}
.apexcharts-tooltip.apexcharts-theme-light {
border: 1px solid #e3e3e3;
background: rgba(255, 255, 255, 0.96);
background: var(--card-background-color);
}
.apexcharts-tooltip.apexcharts-theme-dark {
Expand All @@ -89,7 +89,7 @@ export const styles: CSSResult = css`
}
.apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title {
background: #eceff1;
background: var(--primary-background-color);
border-bottom: 1px solid #ddd;
}
Expand Down

0 comments on commit 5c263f1

Please sign in to comment.