Skip to content
Merged
Changes from 2 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
23 changes: 17 additions & 6 deletions packages/vuetify/src/components/VList/VListItem.sass
Original file line number Diff line number Diff line change
Expand Up @@ -341,24 +341,35 @@

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

&--link[href]:not(&--active)
color: unset

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

&:not(&--variant-plain).v-list-item--active
.v-list-item-title,
.v-list-item-subtitle,
.v-list-item-action
color: highlight !important

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

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

&--active
.v-list-item-title,
.v-list-item-subtitle
opacity: 1
forced-color-adjust: preserve-parent-color

.v-list-item__prepend,
.v-list-item__append
> .v-badge .v-icon,
> .v-icon
opacity: 1
forced-color-adjust: preserve-parent-color

@supports selector(:focus-visible)
Expand Down