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
1 changed files with 9 additions and 4 deletions

View File

@ -8,15 +8,16 @@
} }
html.discourse-no-touch { html.discourse-no-touch {
.btn-default:not(.btn-flat), .btn-default:not(.btn-flat, .btn-danger, .btn-primary),
.btn-icon:not(.btn-flat) { .btn-icon:not(.btn-flat, .btn-danger, .btn-primary) {
&.btn-default { &.btn-default {
.d-icon { .d-icon {
color: var(--primary-medium); color: var(--primary-medium);
} }
} }
&:hover, &:hover,
&.btn-hover { &.btn-hover,
&:focus {
.d-icon { .d-icon {
color: var(--secondary); color: var(--secondary);
} }
@ -27,7 +28,7 @@ html.discourse-no-touch {
} }
.btn-icon.ok, .btn-icon.ok,
.btn-icon.cancel, .btn-icon.cancel,
.btn-danger { .btn-danger:not(.btn-flat) {
.d-icon { .d-icon {
color: var(--secondary); 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 { html {