Fix bad contrast on disabled dropdown menu items (#37268)

This commit is contained in:
diondiondion 2025-12-16 12:38:47 +01:00 committed by GitHub
parent 8c2845906c
commit 9e97ad04d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2848,7 +2848,7 @@ a.account__display-name {
cursor: default; cursor: default;
&:focus { &:focus {
color: rgb(from var(--color-text-disabled) r g b / 70%); color: var(--color-text-on-disabled);
background: var(--color-bg-disabled); background: var(--color-bg-disabled);
outline: 0; outline: 0;
} }
@ -3994,8 +3994,8 @@ a.account__display-name {
box-sizing: border-box; box-sizing: border-box;
&:hover, &:hover,
&:focus, &:active,
&:active { &:focus-visible {
color: var(--color-text-primary); color: var(--color-text-primary);
} }
@ -4013,14 +4013,7 @@ a.account__display-name {
} }
&--logo { &--logo {
background: transparent;
padding: 10px; padding: 10px;
&:hover,
&:focus,
&:active {
background: transparent;
}
} }
} }