Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 20 additions & 17 deletions packages/vuetify/src/components/VList/VListItem.sass
Original file line number Diff line number Diff line change
Expand Up @@ -341,25 +341,28 @@

@media (forced-colors: active)
.v-list-item
&:not(&--active)
&--link:not(&--active)
color: buttontext

&--variant-plain.v-list-item--active
color: highlight !important

&:not(&--variant-plain).v-list-item--active
background-color: highlight !important
color: highlighttext !important

&-title
forced-color-adjust: preserve-parent-color

&--active
.v-list-item__prepend,
.v-list-item__append
> .v-badge .v-icon,
> .v-icon
forced-color-adjust: preserve-parent-color
&--link[href]:not(&--active)
color: unset

&--variant-text.v-list-item--active:not(&--disabled),
&--variant-plain.v-list-item--active:not(&--disabled)
[class*="v-list-item-"],
[class*="v-list-item-"] > *,
.v-icon
color: highlight !important

&--active:not(&--variant-text, &--variant-plain):not(&--disabled)
background: highlight !important

[class*="v-list-item-"],
[class*="v-list-item-"] > *,
.v-icon
opacity: 1
color: highlighttext !important
forced-color-adjust: preserve-parent-color

@supports selector(:focus-visible)
&::after
Expand Down