The color of the tables' body should be set
See original GitHub issueHi,
First of all, I’m using the default theme as an example. It should apply to other themes as well.
Now the default theme of datatables
sets the “background-color” to “white”, but not the “color” of the table. It causes an issue that the users will see a blank table when the color of the whole page is set to “white” (for example, in a dark theme).
In addition, from the below screenshot we can know that all other font elements of the table are using #333
as the font color. The only exception is the table body. I don’t know if there’s any special reason for doing that.
So my suggestion is that datatables
should set the color to “#333” explicitly.
Thanks.
(This issue is originally discussed at https://github.com/rstudio/DT/pull/767 , if you are interested)
When we set the color of the page to white, the content of the table is missing
Issue Analytics
- State:
- Created 4 years ago
- Comments:5
Top GitHub Comments
Ah I’m with you now - this example demonstrates it nicely: http://live.datatables.net/hedekori/1/edit .
I agree - DataTables’ row styling should be using rgba only. I will be updating that in the v2 branch.
Makes sense to leave it open since it is unresolved atm. Thanks!