Skip to content

Commit

Permalink
fix(core): enhanced contrast when UserMenuItem is focused
Browse files Browse the repository at this point in the history
Signed-off-by: Eduardo Morales <[email protected]>
  • Loading branch information
emoral435 committed Jan 9, 2024
1 parent 012dcbb commit d0d5013
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions core/src/views/UserMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,8 +236,8 @@ export default {
outline: none !important;
}

&:active,
&.active {
&:active:not(:focus-visible),
&.active:not(:focus-visible) {
background-color: var(--color-primary-element);
color: var(--color-primary-element-text);
}
Expand All @@ -262,8 +262,8 @@ export default {
filter: var(--background-invert-if-dark);
}

&:active,
&.active {
&:active:not(:focus-visible),
&.active:not(:focus-visible) {
img,
svg {
filter: var(--primary-invert-if-dark);
Expand Down
4 changes: 2 additions & 2 deletions dist/core-main.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/core-main.js.map

Large diffs are not rendered by default.

0 comments on commit d0d5013

Please sign in to comment.