Skip to content

Commit d1f5860

Browse files
committed
fix: invert table head theme
1 parent bfd9e8e commit d1f5860

File tree

1 file changed

+5
-1
lines changed
  • packages/components-vue/src/components/table

1 file changed

+5
-1
lines changed

packages/components-vue/src/components/table/Simple.vue

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
class="tbl --minWidth-100 table-actions"
66
:class="[{ '--nested': nested }, themeClasses]"
77
>
8-
<TableHeadActions v-bind="childrenProps" :with-default-slot="!!$slots.default">
8+
<TableHeadActions
9+
v-bind="childrenProps"
10+
:theme="opaque ? invertedThemeValues : theme"
11+
:with-default-slot="!!$slots.default"
12+
>
913
<template v-if="$slots.headActions" #headActions="headScope">
1014
<slot name="headActions" v-bind="headScope"></slot>
1115
</template>

0 commit comments

Comments
 (0)