]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Docs: change colors of position marker example to work with dark mode (#38445)
authorJulien Déramond <juderamond@gmail.com>
Fri, 21 Apr 2023 03:10:31 +0000 (05:10 +0200)
committerGitHub <noreply@github.com>
Fri, 21 Apr 2023 03:10:31 +0000 (20:10 -0700)
site/content/docs/5.3/utilities/position.md

index e7cd420fa0e254ee65f01537134074af125b33f1..a2ef4ecc7aa76097fe0530f0861ec8df5f3f54b5 100644 (file)
@@ -93,8 +93,8 @@ Here are some real life examples of these classes:
   Mails <span class="position-absolute top-0 start-100 translate-middle badge rounded-pill bg-secondary">+99 <span class="visually-hidden">unread messages</span></span>
 </button>
 
-<div class="position-relative py-2 px-4 text-bg-dark border border-dark rounded-pill">
-  Marker <svg width="1em" height="1em" viewBox="0 0 16 16" class="position-absolute top-100 start-50 translate-middle mt-1" fill="var(--bs-dark)" xmlns="http://www.w3.org/2000/svg"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>
+<div class="position-relative py-2 px-4 text-bg-secondary border border-secondary rounded-pill">
+  Marker <svg width="1em" height="1em" viewBox="0 0 16 16" class="position-absolute top-100 start-50 translate-middle mt-1" fill="var(--bs-secondary)" xmlns="http://www.w3.org/2000/svg"><path d="M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z"/></svg>
 </div>
 
 <button type="button" class="btn btn-primary position-relative">