Skip to content

Commit

Permalink
chore: fix typo & remove default colours
Browse files Browse the repository at this point in the history
  • Loading branch information
yuwu9145 committed Jul 9, 2024
1 parent 95de09e commit 4047ccb
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 7 deletions.
2 changes: 1 addition & 1 deletion packages/vuetify/src/components/VList/VListItem.sass
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@
.v-list-group__items .v-list-item
padding-inline-start: calc(#{$base-padding} + var(--indent-padding)) !important

.v-list-group__header:not(.v-treeview-item--activetable-group-activator).v-list-item--active
.v-list-group__header:not(.v-treeview-item--activatable-group-activator).v-list-item--active
&:not(:focus-visible)
.v-list-item__overlay
opacity: 0
Expand Down
1 change: 0 additions & 1 deletion packages/vuetify/src/labs/VTreeview/VTreeview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export const makeVTreeviewProps = propsFactory({
collapseIcon: '$treeviewCollapse',
expandIcon: '$treeviewExpand',
slim: true,
color: 'primary',
}), ['nav', 'openStrategy']),
}, 'VTreeview')

Expand Down
5 changes: 1 addition & 4 deletions packages/vuetify/src/labs/VTreeview/VTreeviewChildren.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export const makeVTreeviewChildrenProps = propsFactory({
trueIcon: IconValue,
returnObject: Boolean,
selectable: Boolean,
selectedColor: {
type: String,
default: 'accent',
},
selectedColor: String,
selectStrategy: [String, Function, Object] as PropType<SelectStrategyProp>,
}, 'VTreeviewChildren')

Expand Down
2 changes: 1 addition & 1 deletion packages/vuetify/src/labs/VTreeview/VTreeviewItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const VTreeviewItem = genericComponent<VListItemSlots>()({
class={[
'v-treeview-item',
{
'v-treeview-item--activetable-group-activator': isActivatableGroupActivator.value,
'v-treeview-item--activatable-group-activator': isActivatableGroupActivator.value,
'v-treeview-item--filtered': visibleIds.value && !visibleIds.value.has(id.value),
},
props.class,
Expand Down

0 comments on commit 4047ccb

Please sign in to comment.