Do not show subdued color on delete collection/field option hover (#20518)

* Remove v-list-item-icon-color vars used in v-list-item

* add changeset

---------

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
Co-authored-by: daedalus <44623501+ComfortablyCoding@users.noreply.github.com>
This commit is contained in:
Wasim Thoufiq
2023-12-18 21:04:03 +05:30
committed by GitHub
parent 7d9832c99f
commit 5f554018bd
2 changed files with 5 additions and 3 deletions

View File

@@ -0,0 +1,5 @@
---
'@directus/app': patch
---
Fixed hovering over the Delete Collection/Field option results in the trash icon becoming a foreground subdued color

View File

@@ -194,7 +194,6 @@ function onClick(event: PointerEvent) {
user-select: none;
&:not(.disabled):not(.dense):not(.block):hover {
--v-list-item-icon-color: var(--v-list-item-icon-color-hover, var(--theme--foreground-subdued));
color: var(--v-list-item-color-hover, var(--v-list-color-hover, var(--theme--foreground)));
background-color: var(
--v-list-item-background-color-hover,
@@ -217,7 +216,6 @@ function onClick(event: PointerEvent) {
}
&:not(.disabled):not(.dense):not(.block):active {
--v-list-item-icon-color: var(--v-list-item-icon-color-active, var(--theme--foreground-subdued));
color: var(--v-list-item-color-active, var(--v-list-color-active, var(--theme--foreground)));
background-color: var(
--v-list-item-background-color-active,
@@ -227,7 +225,6 @@ function onClick(event: PointerEvent) {
}
&:not(.dense).active {
--v-list-item-icon-color: var(--v-list-item-icon-color-active);
color: var(--v-list-item-color-active, var(--v-list-color-active, var(--theme--foreground)));
background-color: var(
--v-list-item-background-color-active,