mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-19 11:51:23 +02:00
Docs: display examples based on the docs current color mode (#37562)
* Docs: display examples based on the docs current color mode * Fix _default/examples.html
This commit is contained in:
@@ -5,7 +5,7 @@ extra_css:
|
||||
- "cheatsheet.css"
|
||||
extra_js:
|
||||
- src: "cheatsheet.js"
|
||||
body_class: "bg-light"
|
||||
body_class: "bg-body-tertiary"
|
||||
---
|
||||
|
||||
<header class="bd-header bg-dark py-3 d-flex align-items-stretch border-bottom border-dark">
|
||||
@@ -1220,7 +1220,7 @@ body_class: "bg-light"
|
||||
|
||||
<div>
|
||||
{{< example show_markup="false" >}}
|
||||
<nav class="navbar navbar-expand-lg bg-light">
|
||||
<nav class="navbar navbar-expand-lg bg-body-tertiary">
|
||||
<div class="container-fluid">
|
||||
<a class="navbar-brand" href="#">
|
||||
<img src="/docs/{{< param docs_version >}}/assets/brand/bootstrap-logo-white.svg" width="38" height="30" class="d-inline-block align-top" alt="Bootstrap" loading="lazy"
|
||||
@@ -1431,7 +1431,7 @@ body_class: "bg-light"
|
||||
|
||||
<div>
|
||||
<div class="bd-example">
|
||||
<nav id="navbar-example2" class="navbar bg-light px-3">
|
||||
<nav id="navbar-example2" class="navbar bg-body-tertiary px-3">
|
||||
<a class="navbar-brand" href="#">Navbar</a>
|
||||
<ul class="nav nav-pills">
|
||||
<li class="nav-item">
|
||||
|
Reference in New Issue
Block a user