Skip to content

Commit d0e3d0e

Browse files
committed
refactor: change .text-secondary to .text-body-secondary
1 parent 9185dc1 commit d0e3d0e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+5034
-4572
lines changed

src/pug/views/404.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ block view
77
.clearfix
88
h1.float-start.display-3.me-4 404
99
h4.pt-3 Oops! You're lost.
10-
p.text-secondary The page you are looking for was not found.
10+
p.text-body-secondary The page you are looking for was not found.
1111
.input-group
1212
span.input-group-text
1313
svg.icon

src/pug/views/500.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ block view
77
.clearfix
88
h1.float-start.display-3.me-4 500
99
h4.pt-3 Houston, we have a problem!
10-
p.text-secondary The page you are looking for is temporarily unavailable.
10+
p.text-body-secondary The page you are looking for is temporarily unavailable.
1111
.input-group
1212
span.input-group-text
1313
svg.icon

src/pug/views/base/accordion.pug

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ block view
1313
.card-header
1414
strong Accordion
1515
.card-body
16-
p.text-secondary.small
16+
p.text-body-secondary.small
1717
| Click the accordions below to expand/collapse the accordion content.
1818
+example('https://coreui.io/docs/components/accordion/#how-it-works')
1919
#accordionExample.accordion
@@ -53,7 +53,7 @@ block view
5353
strong Accordion
5454
span.small.ms-1 Flush
5555
.card-body
56-
p.text-secondary.small
56+
p.text-body-secondary.small
5757
| Add
5858
code .accordion-flush
5959
| to remove the default

src/pug/views/base/breadcrumb.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ block view
1313
.card-header
1414
strong Breadcrumb
1515
.card-body
16-
p.text-secondary.small
16+
p.text-body-secondary.small
1717
| The breadcrumb navigation provides links back to each previous page the user navigated through and shows the current ___location in a website or an application. You don’t have to add separators, because they automatically added in CSS through
1818
a(href='https://developer.mozilla.org/en-US/docs/Web/CSS/::before')
1919
code ::before

src/pug/views/base/cards.pug

Lines changed: 44 additions & 44 deletions
Large diffs are not rendered by default.

src/pug/views/base/carousel.pug

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ block view
1212
strong Carousel
1313
span.small.ms-1 Slides only
1414
.card-body
15-
p.text-secondary.small
15+
p.text-body-secondary.small
1616
| Here’s a carousel with slides. Note the appearance of the
1717
code .d-block
1818
| also,
@@ -41,7 +41,7 @@ block view
4141
strong Carousel
4242
span.small.ms-1 With controls
4343
.card-body
44-
p.text-secondary.small
44+
p.text-body-secondary.small
4545
| Adding in the previous and next controls. We recommend using
4646
code
4747
= '<button>'
@@ -80,7 +80,7 @@ block view
8080
strong Carousel
8181
span.small.ms-1 With indicators
8282
.card-body
83-
p.text-secondary.small You can attach the indicators to the carousel, lengthwise the controls, too.
83+
p.text-body-secondary.small You can attach the indicators to the carousel, lengthwise the controls, too.
8484
+example('https://coreui.io/docs/components/carousel/#with-indicators')
8585
#carouselExampleIndicators.carousel.slide(data-coreui-ride='carousel')
8686
.carousel-indicators
@@ -114,7 +114,7 @@ block view
114114
strong Carousel
115115
span.small.ms-1 With captions
116116
.card-body
117-
p.text-secondary.small
117+
p.text-body-secondary.small
118118
| You can add captions to slides with the
119119
code .carousel-caption
120120
| element within any
@@ -168,7 +168,7 @@ block view
168168
strong Carousel
169169
span.small.ms-1 Crossfade
170170
.card-body
171-
p.text-secondary.small
171+
p.text-body-secondary.small
172172
| Add
173173
code .carousel-fade
174174
| to your carousel to animate slides with a fade transition instead of a slide.
@@ -201,7 +201,7 @@ block view
201201
strong Carousel
202202
span.small.ms-1 Dark variant
203203
.card-body
204-
p.text-secondary.small
204+
p.text-body-secondary.small
205205
| Add
206206
code .carousel-dark
207207
| to the

src/pug/views/base/collapse.pug

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ block view
1111
.card-header
1212
strong Collapse
1313
.card-body
14-
p.text-secondary.small
14+
p.text-body-secondary.small
1515
| You can use a link with the
1616
code href
1717
| attribute, or a button with the
@@ -33,7 +33,7 @@ block view
3333
strong Collapse
3434
span.small.ms-1 Horizontal
3535
.card-body
36-
p.text-secondary.small
36+
p.text-body-secondary.small
3737
| The collapse plugin also supports horizontal collapsing. Add the
3838
code .collapse-horizontal
3939
| modifier class to transition the
@@ -58,7 +58,7 @@ block view
5858
strong Collapse
5959
span.small.ms-1 multiple targets
6060
.card-body
61-
p.text-secondary.small
61+
p.text-body-secondary.small
6262
| A
6363
code
6464
= '<button>'

src/pug/views/base/list-group.pug

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ block view
1414
strong List group
1515
span.small.ms-1 Basic example
1616
.card-body
17-
p.text-secondary.small The default list group is an unordered list with items and the proper CSS classes. Build upon it with the options that follow, or with your CSS as required.
17+
p.text-body-secondary.small The default list group is an unordered list with items and the proper CSS classes. Build upon it with the options that follow, or with your CSS as required.
1818
+example('https://coreui.io/docs/components/list-group/#basic-example')
1919
ul.list-group
2020
li.list-group-item Cras justo odio
@@ -28,7 +28,7 @@ block view
2828
strong List group
2929
span.small.ms-1 active items
3030
.card-body
31-
p.text-secondary.small
31+
p.text-body-secondary.small
3232
| Attach
3333
code .active
3434
| to a
@@ -47,7 +47,7 @@ block view
4747
strong List group
4848
span.small.ms-1 disabled items
4949
.card-body
50-
p.text-secondary.small
50+
p.text-body-secondary.small
5151
| Attach
5252
code .disabled
5353
| to a
@@ -69,7 +69,7 @@ block view
6969
span.small.ms-1 disabled links
7070
.card-body
7171
.list-group
72-
p.text-secondary.small
72+
p.text-body-secondary.small
7373
| Use
7474
code
7575
= '<a>'
@@ -87,7 +87,7 @@ block view
8787
code
8888
= '<div>'
8989
| s) don’t provide a click or tap affordance.
90-
p.text-secondary.small
90+
p.text-body-secondary.small
9191
| Be sure to
9292
strong
9393
| not use the standard
@@ -108,7 +108,7 @@ block view
108108
span.small.ms-1 disabled buttons
109109
.card-body
110110
.list-group
111-
p.text-secondary.small
111+
p.text-body-secondary.small
112112
| With
113113
code
114114
= '<button>'
@@ -134,7 +134,7 @@ block view
134134
strong List group
135135
span.small.ms-1 flush
136136
.card-body
137-
p.text-secondary.small
137+
p.text-body-secondary.small
138138
| Add
139139
code .list-group-flush
140140
| to remove some borders and rounded corners to render list group items edge-to-edge in a parent container (e.g., cards).
@@ -151,7 +151,7 @@ block view
151151
strong List group
152152
span.small.ms-1 horizontal
153153
.card-body
154-
p.text-secondary.small
154+
p.text-body-secondary.small
155155
| Add
156156
code .list-group-horizontal
157157
| to change the layout of list group items from vertical to horizontal across all breakpoints. Alternatively, choose a responsive variant
@@ -160,7 +160,7 @@ block view
160160
code min-width
161161
| . Currently
162162
strong horizontal list groups cannot be combined with flush list groups.
163-
p.text-secondary.small
163+
p.text-body-secondary.small
164164
strong ProTip:
165165
| Want equal-width list group items when horizontal? Add
166166
code .flex-fill
@@ -197,7 +197,7 @@ block view
197197
strong List group
198198
span.small.ms-1 contextual classes
199199
.card-body
200-
p.text-secondary.small Use contextual classes to style list items with a stateful background and color.
200+
p.text-body-secondary.small Use contextual classes to style list items with a stateful background and color.
201201
+example('https://coreui.io/docs/components/list-group/#contextual-classes')
202202
ul.list-group
203203
li.list-group-item Dapibus ac facilisis in
@@ -217,7 +217,7 @@ block view
217217
| contextual with
218218
code .action
219219
.card-body
220-
p.text-secondary.small
220+
p.text-body-secondary.small
221221
| Contextual classes also work with
222222
code .list-group-item-action
223223
| . Note the addition of the hover styles here not present in the previous example. Also supported is the
@@ -256,7 +256,7 @@ block view
256256
strong List group
257257
span.small.ms-1 with badges
258258
.card-body
259-
p.text-secondary.small
259+
p.text-body-secondary.small
260260
| Add badges to any list group item to show unread counts, activity, and more with the help of some
261261
a(href='https://coreui.io/docs/utilities/flex/') utilities
262262
| .
@@ -277,7 +277,7 @@ block view
277277
stron List group
278278
span.small.ms-1 custom content
279279
.card-body
280-
p.text-secondary.small
280+
p.text-body-secondary.small
281281
| Add nearly any HTML within, even for linked list groups like the one below, with the help of
282282
a(href='https://coreui.io/docs/utilities/flex/') flexbox utilities
283283
| .
@@ -293,25 +293,25 @@ block view
293293
a.list-group-item.list-group-item-action.flex-column.align-items-start(href='#')
294294
.d-flex.w-100.justify-content-between
295295
h5.mb-1 List group item heading
296-
small.text-secondary 3 days ago
296+
small.text-body-secondary 3 days ago
297297
p.mb-1
298298
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
299-
small.text-secondary Donec id elit non mi porta.
299+
small.text-body-secondary Donec id elit non mi porta.
300300
a.list-group-item.list-group-item-action.flex-column.align-items-start(href='#')
301301
.d-flex.w-100.justify-content-between
302302
h5.mb-1 List group item heading
303-
small.text-secondary 3 days ago
303+
small.text-body-secondary 3 days ago
304304
p.mb-1
305305
| Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus varius blandit.
306-
small.text-secondary Donec id elit non mi porta.
306+
small.text-body-secondary Donec id elit non mi porta.
307307
.row
308308
.col
309309
.card.mb-4
310310
.card-header
311311
strong List group
312312
span.small.ms-1 tab Javascript plugin
313313
.card-body
314-
p.text-secondary.small
314+
p.text-body-secondary.small
315315
| Use the tab JavaScript plugin—include it individually or through the compiled
316316
code coreui.js
317317
| file—to extend our list group to create tabbable panes of local content.

0 commit comments

Comments
 (0)