Add a full dark theme
See original GitHub issueFor 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.
With some minor tweaks like setting the text color to white and adding dark colors to the menu, it could look like this
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:
- Created 5 years ago
- Reactions:7
- Comments:22 (6 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.I abandoned this project so I’m not sure but I’m sure you can use: