Improve high-contrast support for spotlight (#8948)

This commit is contained in:
Janne Mareike Koschinski 2022-06-30 16:17:30 +02:00 committed by GitHub
parent bb859d5886
commit c3f26d619e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 122 additions and 6 deletions

View file

@ -34,7 +34,7 @@ limitations under the License.
line-height: $font-15px;
color: $secondary-content;
> span > div {
kbd {
display: inline-block;
padding: 2px $spacing-4; // TODO: Use a spacing variable
margin: 0 $spacing-4;
@ -42,6 +42,10 @@ limitations under the License.
background-color: $quinary-content;
vertical-align: middle;
color: $tertiary-content;
// To avoid any styling inherent with <kbd> elements
font-family: inherit;
font-weight: inherit;
font-size: inherit;
}
}
}
@ -424,6 +428,9 @@ limitations under the License.
.mx_SpotlightDialog_enterPrompt {
padding: 2px $spacing-4; // TODO: Use a spacing variable
// To avoid any styling inherent with <kbd> elements
font-family: inherit;
font-weight: inherit;
font-size: $font-12px;
line-height: $font-15px;
color: $tertiary-content;