question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add a full dark theme

See original GitHub issue

For dark themes, there’s the tooltip.theme option. It looks nice, but it would be very cool if the whole thing could have a dark mode.

selection_999 482

With some minor tweaks like setting the text color to white and adding dark colors to the menu, it could look like this

selection_999 484

I would suggest to use a top-level theme (or chart.theme) option, add a class dark to .apexcharts-canvas and style all other elements with css selectors accordingly.

I could send a PR for this if my proposal seems like a good idea (although not in the next few days).

BTW, huge thanks to this project. The charts are so clean and even mobile touch “swiping” of the charts always renders the correct tooltip. This is so cool!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:7
  • Comments:22 (6 by maintainers)

github_iconTop GitHub Comments

6reactions
junedchhipacommented, Dec 1, 2018

Thanks for the kind words! Sure, there is already a property called theme in the main configuration - https://apexcharts.com/docs/options/theme/

Maybe we can add theme.mode: 'light' / 'dark' in the same property and carry on that.

5reactions
steebchencommented, May 15, 2019

I abandoned this project so I’m not sure but I’m sure you can use:

svg text {
	fill: white;
}
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Enable Dark Mode for Google Chrome - How-To Geek
On Windows 10, head to Settings > Personalization > Colors and select “Dark” under “Choose your default app mode.” On a Mac, enable...
Read more >
How to turn on Google Chrome's dark mode on desktop or ...
On Android, go to Settings > Theme and select Dark or System Default. While running your Chrome browser in the standard light mode...
Read more >
Dark Mode
Overview. Runs Offline. A global dark theme for the web. Dark Mode is an extension that helps you quickly turn the screen (browser)...
Read more >
Blackout: How to Enable Dark Mode on Your Browser | PCMag
Enable OS Dark Mode​​ Here's how to do that on all your devices: Windows 10: Open Settings > Personalization > Colors and choose...
Read more >
Turn on and off dark mode on Chrome - WiseStamp
Set dark Theme as the system default in Chrome. Chrome does not have an official dark mode for Windows users. However, if you...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found