]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update /#color-schemes to v5.3
authorTeaca-Sebastian <120113707+Teaca-Sebastian@users.noreply.github.com>
Wed, 28 Dec 2022 07:01:50 +0000 (09:01 +0200)
committerMark Otto <otto@github.com>
Wed, 28 Dec 2022 21:00:06 +0000 (13:00 -0800)
site/content/docs/5.3/components/navbar.md

index 3afd89cd50d2ddd61cab447981e5b99edfdb7bff..3ea14129c58655c78243bd349a4deb81b2ed9852 100644 (file)
@@ -328,7 +328,7 @@ Mix and match with other components and utilities as needed.
 **New in v5.2.0  —** Navbar theming is now powered by CSS variables and `.navbar-light` has been deprecated. CSS variables are applied to `.navbar`, defaulting to the "light" appearance, and can be overridden with `.navbar-dark`.
 {{< /callout >}}
 
-Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and CSS variables. The default is our "light navbar" for use with light background colors, but you can also apply `.navbar-dark` for dark background colors. Then, customize with `.bg-*` utilities.
+Navbar themes are easier than ever thanks to Bootstrap's combination of Sass and CSS variables. The default is our "light navbar" for use with light background colors, but you can also apply `data-bs-theme="dark"` to the `.navbar` parent for dark background colors. Then, customize with `.bg-*` utilities.
 
 <div class="bd-example">
   <nav class="navbar navbar-expand-lg bg-body-secondary" data-bs-theme="dark">