Skip to content

Commit

Permalink
fix(apexcharts#4541): fixed transparent background not appearing with…
Browse files Browse the repository at this point in the history
… dark mode
  • Loading branch information
Sebastian-Webster committed Jun 26, 2024
1 parent fd8af2d commit 79d9da4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/modules/Theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,11 @@ export default class Theme {
options.chart = options.chart || {}
options.tooltip = options.tooltip || {}
const mode = options.theme.mode
const background = mode === 'dark'
? '#424242'
: mode === 'light'
? '#fff'
: options.chart.background || '#fff'
const background = options.chart.background
? options.chart.background
: mode === 'dark'
? '#424242'
: '#fff'
const palette = mode === 'dark'
? 'palette4'
: mode === 'light'
Expand Down

0 comments on commit 79d9da4

Please sign in to comment.