UX: Some very minor WCAG scheme fixes (#20726)

This commit is contained in:
Penar Musaraj 2023-03-20 13:23:10 -04:00 committed by GitHub
parent da0d20d4a9
commit f0569db49d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,15 +8,16 @@
}
html.discourse-no-touch {
.btn-default:not(.btn-flat),
.btn-icon:not(.btn-flat) {
.btn-default:not(.btn-flat, .btn-danger, .btn-primary),
.btn-icon:not(.btn-flat, .btn-danger, .btn-primary) {
&.btn-default {
.d-icon {
color: var(--primary-medium);
}
}
&:hover,
&.btn-hover {
&.btn-hover,
&:focus {
.d-icon {
color: var(--secondary);
}
@ -27,7 +28,7 @@ html.discourse-no-touch {
}
.btn-icon.ok,
.btn-icon.cancel,
.btn-danger {
.btn-danger:not(.btn-flat) {
.d-icon {
color: var(--secondary);
}
@ -42,6 +43,10 @@ html.discourse-no-touch {
}
}
}
.select-kit.single-select .select-kit-header:focus {
border-color: var(--primary-medium);
}
}
html {