aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/src/views/UserMenu.vue14
1 files changed, 5 insertions, 9 deletions
diff --git a/core/src/views/UserMenu.vue b/core/src/views/UserMenu.vue
index 85f2956ce4d..0c5084842a1 100644
--- a/core/src/views/UserMenu.vue
+++ b/core/src/views/UserMenu.vue
@@ -240,11 +240,15 @@ export default {
&.active:not(:focus-visible) {
background-color: var(--color-primary-element);
color: var(--color-primary-element-text);
+
+ img,
+ svg {
+ filter: var(--primary-invert-if-dark);
+ }
}
span {
padding-bottom: 0;
- color: var(--color-main-text);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -261,14 +265,6 @@ export default {
svg {
filter: var(--background-invert-if-dark);
}
-
- &:active:not(:focus-visible),
- &.active:not(:focus-visible) {
- img,
- svg {
- filter: var(--primary-invert-if-dark);
- }
- }
}
// Override global button styles