Skip to main content

Color modes

Bootstrap v5.3 now supports color modes such as dark mode. Color modes can be toggled globally on the <html> element, or on specific components and elements, thanks to the data-bs-theme attribute.

Example

Result
Loading...
Live Editor

Customizing

For more information on how colors modes work or how to customize colors, check out the Bootstrap color mode docs.