feat(label): uses --ui-white for control-label css class in Dark and High contrast themes (#7505)

* feat(label): uses `--ui-white` for control-label css class in Dark and High contrast themes.

* feat(label): uses `apply` in control-label css class.
pull/7560/head
fhanportainer 2022-08-23 03:08:29 +12:00 committed by GitHub
parent 3a324acb0e
commit e84126ec13
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 6 deletions

View File

@ -12,8 +12,11 @@
} }
.control-label { .control-label {
color: var(--ui-gray-7); @apply inline-flex items-center;
font-weight: 500; @apply font-medium;
@apply text-gray-7;
@apply th-dark:text-gray-warm-3;
@apply th-highcontrast:text-white;
} }
.vertical-center { .vertical-center {
@ -355,10 +358,6 @@ input:checked + .slider:before {
color: var(--ui-error-9); color: var(--ui-error-9);
} }
.control-label {
@apply inline-flex items-center;
}
.progress { .progress {
height: 8px; height: 8px;
border-radius: 4px; border-radius: 4px;