1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-21 12:51:52 +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:
Julien Déramond
2022-12-29 07:58:35 +01:00
committed by GitHub
parent baf5d4c4c1
commit 8befabbde9
27 changed files with 54 additions and 51 deletions

View File

@@ -5,7 +5,7 @@ extra_css:
- "../cheatsheet/cheatsheet.rtl.css"
extra_js:
- src: "../cheatsheet/cheatsheet.js"
body_class: "bg-light"
body_class: "bg-body-tertiary"
direction: rtl
---
@@ -1221,7 +1221,7 @@ direction: rtl
<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"
@@ -1434,7 +1434,7 @@ direction: rtl
<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="#">شريط التنقل</a>
<ul class="nav nav-pills">
<li class="nav-item">