In Bootstrap 5.3+, dark mode is supported out of the box using color modes.
You can force dark mode on a container by adding data-bs-theme="dark" to the element.
It will automatically adjust text colors, backgrounds, borders, and more!
Edit the code below and click Run to see the result live.