Merge pull request #42898 from nextcloud/backport/42856/stable28

[stable28] enh(a11y): improved contrast on user menu
This commit is contained in:
Eduardo Morales 2024-01-17 14:43:46 -06:00 committed by GitHub
commit 6bf94d35b1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 8 additions and 12 deletions

View file

@ -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

4
dist/core-main.js vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long