Skip to content

Commit 606f40c

Browse files
Docs: remove or replaced deprecated .text-bg-dark with .fg-white
Spotted in #42487
1 parent 2a15de8 commit 606f40c

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

js/tests/visual/dialog.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ <h1 class="dialog-title">Non-Modal Dialog</h1>
169169

170170
<br><br>
171171

172-
<div class="text-bg-dark p-2" id="tall" style="display: none;">
172+
<div class="p-2" id="tall" style="display: none;">
173173
Tall body content to force the page to have a scrollbar.
174174
</div>
175175
</div>

site/src/assets/examples/features/index.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ export const extra_css = ['features.css']
148148

149149
<div class="row row-cols-1 lg:row-cols-3 align-items-stretch g-4 py-5">
150150
<div class="col">
151-
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg" style="background-image: url('unsplash-photo-1.jpg');">
151+
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-1.jpg');">
152152
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
153153
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Short title, long jacket</h3>
154154
<ul class="d-flex list-unstyled mt-auto">
@@ -169,7 +169,7 @@ export const extra_css = ['features.css']
169169
</div>
170170

171171
<div class="col">
172-
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg" style="background-image: url('unsplash-photo-2.jpg');">
172+
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-2.jpg');">
173173
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
174174
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Much longer title that wraps to multiple lines</h3>
175175
<ul class="d-flex list-unstyled mt-auto">
@@ -190,8 +190,8 @@ export const extra_css = ['features.css']
190190
</div>
191191

192192
<div class="col">
193-
<div class="card card-cover h-100 overflow-hidden text-bg-dark rounded-4 shadow-lg" style="background-image: url('unsplash-photo-3.jpg');">
194-
<div class="d-flex flex-column h-100 p-5 pb-3 text-shadow-1">
193+
<div class="card card-cover h-100 overflow-hidden rounded-4 shadow-lg" style="background-image: url('unsplash-photo-3.jpg');">
194+
<div class="d-flex flex-column h-100 p-5 pb-3 fg-white text-shadow-1">
195195
<h3 class="pt-5 mt-5 mb-4 display-6 lh-1 fw-bold">Another longer title belongs here</h3>
196196
<ul class="d-flex list-unstyled mt-auto">
197197
<li class="me-auto">

0 commit comments

Comments
 (0)