We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be nice if the default generated charts also look nice in dark mode. Some of us use system wide dark mode.
Adjust text colors etc. to be readable and apropriate in dark mode.
E.g. (those are generated entries, so don't worry 😉)
The text was updated successfully, but these errors were encountered:
Currently I just added this to my CSS
@media (prefers-color-scheme: dark) { .apexcharts-text.apexcharts-yaxis-label, .apexcharts-text.apexcharts-xaxis-label, .apexcharts-legend-series .apexcharts-legend-text { color: theme('colors.gray.300') !important; fill: theme('colors.gray.300'); } .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title, .apexcharts-tooltip-text { color: theme('colors.gray.700'); fill: theme('colors.gray.700'); } }
Sorry, something went wrong.
thanks , its work for me , but it don't change the color of title :c , i add that :
.apexcharts-text.apexcharts-yaxis-title-text , thanks
Currently I just added this to my CSS @media (prefers-color-scheme: dark) { .apexcharts-text.apexcharts-yaxis-label, .apexcharts-text.apexcharts-xaxis-label, .apexcharts-legend-series .apexcharts-legend-text { color: theme('colors.gray.300') !important; fill: theme('colors.gray.300'); } .apexcharts-tooltip.apexcharts-theme-light .apexcharts-tooltip-title, .apexcharts-tooltip-text { color: theme('colors.gray.700'); fill: theme('colors.gray.700'); } }
No branches or pull requests
Summary
It would be nice if the default generated charts also look nice in dark mode. Some of us use system wide dark mode.
Proposal
Adjust text colors etc. to be readable and apropriate in dark mode.
Additional Notes
E.g. (those are generated entries, so don't worry 😉)
The text was updated successfully, but these errors were encountered: