Do not ignore this browser property https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
Topic on Talk:XTools
It is not ignored. Rather, one must implement the code to honor it :) That's the part that's not so easy. I'd like to get around to this some day but admittedly it's not very high-priority at the moment. Thanks for the suggestion.
I can implement it.
That'd be wonderful! The source code can be found at https://github.com/x-tools/xtools, and the CSS file in this case is probably best placed in application.scss. Setting up XTools on your local is pretty hard, I will admit, and the docs aren't up-to-date, either (my fault, but it's hard to keep everything documented when you're the only maintainer!). You probably can give me a solution solely with CSS, though, in which case you can test in your browser's developer tools and just create a PR on GitHub directly. Or, just send me the CSS :) Whatever's easiest. Thanks for contributing!
The grid in tables and in charts is not visible. Please correct it.
Please show a screenshot with the problem, for me is ok now.
I put a comment in github with a screenshot.
The grid in tables is easy to fix (I think #333 looks good), but I'm not sure what to do about the charts. Those are canvas elements. If we are able to change the color (based on the prefers-color-scheme
media feature), I don't know how to it.