This is still a little WIP and not perfect given how many live examples we have in our docs, but it's not bad. I've gone the route of overriding default values surgically. Still have some work to do on seeing how I could maybe improve the live examples.
Live preview: https://deploy-preview-28449--twbs-bootstrap.netlify.com/
TODO:
-
lighten ToC items color -
adapt to the recent doc changes -
lighten text-muted
so that its contrast ratio is >= 4.5 -
search for #767676
and#77757a
and adapt the cases -
examples and versions page: make sure the page header color is dark too -
fix version toggler background -
Move JS toggle code into the head to prevent flashing -
Fix search input color to be lighter like white