diff --git a/src/pydata_sphinx_theme/assets/styles/content/_tables.scss b/src/pydata_sphinx_theme/assets/styles/content/_tables.scss index f07233d14..c476269c8 100644 --- a/src/pydata_sphinx_theme/assets/styles/content/_tables.scss +++ b/src/pydata_sphinx_theme/assets/styles/content/_tables.scss @@ -44,7 +44,10 @@ td { } } -// override bootstrap background colors +// override bootstrap table colors .table { - --bs-table-bg: transparent; + --bs-table-bg: transparent; //background + --bs-table-color: var( + --pst-color-text-base + ); // ensure text and bullets are visible }