2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-14 18:42:30 +03:00

Replace .bg-white with .bg-body in docs

Response to issue #32810

Use of the .bg-white class to define visual aspects of the examples
would be unintuitive for theme builders to test themes on.
This replaces instances of .bg-white with .bg-body in the examples.

- Edited examples to replace use .bg-white class with .bg-body class
  - product
  - offcanvas
  - pricing
  - cheatsheet
  - cheatsheet-rtl
- Edited utilities colors.md & shadows.md to include .bg-body class
This commit is contained in:
Vino Rodrigues
2021-01-16 13:07:57 +11:00
committed by Mark Otto
parent c6d6160a7c
commit ba30df146c
7 changed files with 14 additions and 13 deletions
@@ -46,7 +46,7 @@ body_class: "bg-light"
</div>
</nav>
<div class="nav-scroller bg-white shadow-sm">
<div class="nav-scroller bg--body shadow-sm">
<nav class="nav nav-underline" aria-label="Secondary navigation">
<a class="nav-link active" aria-current="page" href="#">Dashboard</a>
<a class="nav-link" href="#">
@@ -72,7 +72,7 @@ body_class: "bg-light"
</div>
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
<div class="my-3 p-3 bg-body rounded shadow-sm">
<h6 class="border-bottom pb-2 mb-0">Recent updates</h6>
<div class="d-flex text-muted pt-3">
{{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}}
@@ -100,7 +100,7 @@ body_class: "bg-light"
</small>
</div>
<div class="my-3 p-3 bg-white rounded shadow-sm">
<div class="my-3 p-3 bg-body rounded shadow-sm">
<h6 class="border-bottom pb-2 mb-0">Suggestions</h6>
<div class="d-flex text-muted pt-3">
{{< placeholder width="32" height="32" background="#007bff" color="#007bff" class="flex-shrink-0 me-2 rounded" >}}