I'd like to help push forward with #27514 by implementing a mix-in for dark mode or light mode that can be used by users and throughout the Bootstrap source code. I will file a pull request with my improvements when I'm finished (if this sounds OK).
If I can. I see that You are planning to add dark theme to bootstrap which is great.
But I also see that You are connecting dark theme with prefers-color-scheme.
I think it suppose to be independent. Some users might want to have dark theme while having light system theme. Or maybe dark theme would be tirggered during day and night?
@piernik I'm simply just writing a mixin for Sass for the media query. If someone wanted to force the theme, they could write the theme as a class and @extend it in the @include dark-scheme {}.
@juniorRubyist I'm not sure your suggestion. Can you create a PR or show demo on https://www.sassmeister.com/ for clarity?
@ysds #29552
@juniorRubyist thanks, I missed it