Skip to content

Commit 4a9f210

Browse files
committed
refactor(CCarosuel): update dark variant
1 parent 6dabb19 commit 4a9f210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/coreui-vue/src/components/carousel/CCarousel.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,8 +188,8 @@ const CCarousel = defineComponent({
188188
class: [
189189
'carousel slide',
190190
props.transition === 'crossfade' && 'carousel-fade',
191-
props.dark && 'carousel-dark',
192191
],
192+
...(props.dark && { 'data-coreui-theme': 'dark' }),
193193
onmouseover: () => props.pause && pause(),
194194
onmouseleave: () => cycle(),
195195
ref: carouselRef,

0 commit comments

Comments
 (0)