Skip to content

Commit 8c1f12b

Browse files
committed
refactor(CNavbar): update dark variant
1 parent aceeaa1 commit 8c1f12b

File tree

1 file changed

+1
-1
lines changed
  • packages/coreui-vue/src/components/navbar

1 file changed

+1
-1
lines changed

packages/coreui-vue/src/components/navbar/CNavbar.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ const CNavbar = defineComponent({
7474
'navbar',
7575
{
7676
[`bg-${props.color}`]: props.color,
77-
[`navbar-${props.colorScheme}`]: props.colorScheme,
7877
[typeof props.expand === 'boolean'
7978
? 'navbar-expand'
8079
: `navbar-expand-${props.expand}`]: props.expand,
8180
},
8281
props.placement,
8382
],
83+
...(props.colorScheme && { 'data-coreui-theme': props.colorScheme }),
8484
},
8585
props.container
8686
? h(

0 commit comments

Comments
 (0)