@@ -21,7 +21,7 @@ const ListGroups = () => {
21
21
< strong > React List Group</ strong > < small > Basic example</ small >
22
22
</ CCardHeader >
23
23
< CCardBody >
24
- < p className = "text-medium-emphasis small" >
24
+ < p className = "text-body-secondary small" >
25
25
The default list group is an unordered list with items and the proper CSS classes.
26
26
Build upon it with the options that follow, or with your CSS as required.
27
27
</ p >
@@ -43,7 +43,7 @@ const ListGroups = () => {
43
43
< strong > React List Group</ strong > < small > Active items</ small >
44
44
</ CCardHeader >
45
45
< CCardBody >
46
- < p className = "text-medium-emphasis small" >
46
+ < p className = "text-body-secondary small" >
47
47
Add < code > active</ code > boolean property to a < code > <CListGroupItem></ code > to
48
48
show the current active selection.
49
49
</ p >
@@ -65,7 +65,7 @@ const ListGroups = () => {
65
65
< strong > React List Group</ strong > < small > Disabled items</ small >
66
66
</ CCardHeader >
67
67
< CCardBody >
68
- < p className = "text-medium-emphasis small" >
68
+ < p className = "text-body-secondary small" >
69
69
Add < code > disabled</ code > boolean property to a < code > <CListGroupItem></ code > to
70
70
make it appear disabled.
71
71
</ p >
@@ -87,7 +87,7 @@ const ListGroups = () => {
87
87
< strong > React List Group</ strong > < small > Links and buttons</ small >
88
88
</ CCardHeader >
89
89
< CCardBody >
90
- < p className = "text-medium-emphasis small" >
90
+ < p className = "text-body-secondary small" >
91
91
Use < code > <a></ code > s or < code > <button></ code > s to create{ ' ' }
92
92
< em > actionable</ em > list group items with hover, disabled, and active states by adding{ ' ' }
93
93
< code > component="a|button"</ code > . We separate these pseudo-classes to ensure
@@ -123,7 +123,7 @@ const ListGroups = () => {
123
123
< strong > React List Group</ strong > < small > Flush</ small >
124
124
</ CCardHeader >
125
125
< CCardBody >
126
- < p className = "text-medium-emphasis small" >
126
+ < p className = "text-body-secondary small" >
127
127
Add < code > flush</ code > boolean property to remove some borders and rounded corners to
128
128
render list group items edge-to-edge in a parent container (e.g., cards).
129
129
</ p >
@@ -145,7 +145,7 @@ const ListGroups = () => {
145
145
< strong > React List Group</ strong > < small > Horizontal</ small >
146
146
</ CCardHeader >
147
147
< CCardBody >
148
- < p className = "text-medium-emphasis small" >
148
+ < p className = "text-body-secondary small" >
149
149
Add < code > layout="horizontal"</ code > to change the layout of list group items
150
150
from vertical to horizontal across all breakpoints. Alternatively, choose a responsive
151
151
variant < code > .layout="horizontal-{sm | md | lg | xl | xxl}"</ code > { ' ' }
@@ -171,7 +171,7 @@ const ListGroups = () => {
171
171
< strong > React List Group</ strong > < small > Contextual classes</ small >
172
172
</ CCardHeader >
173
173
< CCardBody >
174
- < p className = "text-medium-emphasis small" >
174
+ < p className = "text-body-secondary small" >
175
175
Use contextual classes to style list items with a stateful background and color.
176
176
</ p >
177
177
< DocsExample href = "components/list-group/#contextual-classes" >
@@ -193,7 +193,7 @@ const ListGroups = () => {
193
193
) ) }
194
194
</ CListGroup >
195
195
</ DocsExample >
196
- < p className = "text-medium-emphasis small" >
196
+ < p className = "text-body-secondary small" >
197
197
Contextual classes also work with < code > <a></ code > s or{ ' ' }
198
198
< code > <button></ code > s. Note the addition of the hover styles here not present
199
199
in the previous example. Also supported is the < code > active</ code > state; apply it to
@@ -229,7 +229,7 @@ const ListGroups = () => {
229
229
< strong > React List Group</ strong > < small > With badges</ small >
230
230
</ CCardHeader >
231
231
< CCardBody >
232
- < p className = "text-medium-emphasis small" >
232
+ < p className = "text-body-secondary small" >
233
233
Add badges to any list group item to show unread counts, activity, and more.
234
234
</ p >
235
235
< DocsExample href = "components/list-group/#with-badges" >
@@ -263,7 +263,7 @@ const ListGroups = () => {
263
263
< strong > React List Group</ strong > < small > Custom content</ small >
264
264
</ CCardHeader >
265
265
< CCardBody >
266
- < p className = "text-medium-emphasis small" >
266
+ < p className = "text-body-secondary small" >
267
267
Add nearly any HTML within, even for linked list groups like the one below, with the
268
268
help of < a href = "https://coreui.io/docs/utilities/flex/" > flexbox utilities</ a > .
269
269
</ p >
@@ -283,24 +283,24 @@ const ListGroups = () => {
283
283
< CListGroupItem component = "a" href = "#" >
284
284
< div className = "d-flex w-100 justify-content-between" >
285
285
< h5 className = "mb-1" > List group item heading</ h5 >
286
- < small className = "text-medium-emphasis " > 3 days ago</ small >
286
+ < small className = "text-body-secondary " > 3 days ago</ small >
287
287
</ div >
288
288
< p className = "mb-1" >
289
289
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus
290
290
varius blandit.
291
291
</ p >
292
- < small className = "text-medium-emphasis " > Donec id elit non mi porta.</ small >
292
+ < small className = "text-body-secondary " > Donec id elit non mi porta.</ small >
293
293
</ CListGroupItem >
294
294
< CListGroupItem component = "a" href = "#" >
295
295
< div className = "d-flex w-100 justify-content-between" >
296
296
< h5 className = "mb-1" > List group item heading</ h5 >
297
- < small className = "text-medium-emphasis " > 3 days ago</ small >
297
+ < small className = "text-body-secondary " > 3 days ago</ small >
298
298
</ div >
299
299
< p className = "mb-1" >
300
300
Donec id elit non mi porta gravida at eget metus. Maecenas sed diam eget risus
301
301
varius blandit.
302
302
</ p >
303
- < small className = "text-medium-emphasis " > Donec id elit non mi porta.</ small >
303
+ < small className = "text-body-secondary " > Donec id elit non mi porta.</ small >
304
304
</ CListGroupItem >
305
305
</ CListGroup >
306
306
</ DocsExample >
@@ -313,7 +313,7 @@ const ListGroups = () => {
313
313
< strong > React List Group</ strong > < small > Checkboxes and radios</ small >
314
314
</ CCardHeader >
315
315
< CCardBody >
316
- < p className = "text-medium-emphasis small" >
316
+ < p className = "text-body-secondary small" >
317
317
Place CoreUI's checkboxes and radios within list group items and customize as
318
318
needed.
319
319
</ p >
0 commit comments