The API documentation page has tables with a light and low-contrast background in dark-mode. For example:  From this page: https://pydata-sphinx-theme.readthedocs.io/en/latest/examples/kitchen-sink/api.html