Skip to content

Commit 6c91472

Browse files
committed
fix: change coloured cards text color to white
1 parent 6657f03 commit 6c91472

File tree

1 file changed

+15
-10
lines changed

1 file changed

+15
-10
lines changed

src/views/base/Cards.vue

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@
154154
</CRow>
155155
<CRow>
156156
<CCol sm="6" md="4">
157-
<CCard color="primary" class="text-center" body-wrapper>
157+
<CCard color="primary" class="text-center" body-wrapper text-color="white">
158158
<blockquote class="card-blockquote">
159159
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
160160
<footer>Someone famous in
@@ -164,7 +164,12 @@
164164
</CCard>
165165
</CCol>
166166
<CCol sm="6" md="4">
167-
<CCard color="success" class="text-center" body-wrapper>
167+
<CCard
168+
color="success"
169+
class="text-center"
170+
body-wrapper
171+
text-color="white"
172+
>
168173
<blockquote class="card-blockquote">
169174
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
170175
<footer>Someone famous in
@@ -174,7 +179,7 @@
174179
</CCard>
175180
</CCol>
176181
<CCol sm="6" md="4">
177-
<CCard color="info" class="text-center" body-wrapper>
182+
<CCard color="info" class="text-center" body-wrapper text-color="white">
178183
<blockquote class="card-blockquote">
179184
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
180185
<footer>Someone famous in
@@ -184,7 +189,7 @@
184189
</CCard>
185190
</CCol>
186191
<CCol sm="6" md="4">
187-
<CCard color="warning" class="text-center" body-wrapper>
192+
<CCard color="warning" class="text-center" body-wrapper text-color="white">
188193
<blockquote class="card-blockquote">
189194
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
190195
<footer>Someone famous in
@@ -194,7 +199,7 @@
194199
</CCard>
195200
</CCol>
196201
<CCol sm="6" md="4">
197-
<CCard color="danger" class="text-center" body-wrapper>
202+
<CCard color="danger" class="text-center" body-wrapper text-color="white">
198203
<blockquote class="card-blockquote">
199204
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer posuere erat a ante.</p>
200205
<footer>Someone famous in
@@ -216,27 +221,27 @@
216221
</CRow>
217222
<CRow>
218223
<CCol sm="6" md="4">
219-
<CCard color="primary" body-wrapper>
224+
<CCard color="primary" body-wrapper text-color="white">
220225
{{loremIpsum}}
221226
</CCard>
222227
</CCol>
223228
<CCol sm="6" md="4">
224-
<CCard color="success" body-wrapper>
229+
<CCard color="success" body-wrapper text-color="white">
225230
{{loremIpsum}}
226231
</CCard>
227232
</CCol>
228233
<CCol sm="6" md="4">
229-
<CCard color="info" body-wrapper>
234+
<CCard color="info" body-wrapper text-color="white">
230235
{{loremIpsum}}
231236
</CCard>
232237
</CCol>
233238
<CCol sm="6" md="4">
234-
<CCard color="warning" body-wrapper>
239+
<CCard color="warning" body-wrapper text-color="white">
235240
{{loremIpsum}}
236241
</CCard>
237242
</CCol>
238243
<CCol sm="6" md="4">
239-
<CCard color="danger" body-wrapper>
244+
<CCard color="danger" body-wrapper text-color="white">
240245
{{loremIpsum}}
241246
</CCard>
242247
</CCol>

0 commit comments

Comments
 (0)