fix: use text-emphasis (#8332)

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
This commit is contained in:
Udit Takkar 2023-04-17 19:24:39 +05:30 committed by GitHub
parent 2c96444058
commit 7dc3266133
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -249,7 +249,7 @@ export const Components: Record<BookingFieldType, Component> = {
value={option.value}
checked={value.includes(option.value)}
/>
<span className="dark:text-inverted ms-2 me-2 text-sm">{option.label ?? ""}</span>
<span className="text-emphasis ms-2 me-2 text-sm">{option.label ?? ""}</span>
</label>
);
})}
@ -378,7 +378,7 @@ export const Components: Record<BookingFieldType, Component> = {
checked={value}
disabled={readOnly}
/>
<Label className="text-default dark:text-inverted -mt-px block text-sm font-medium">{label}</Label>
<Label className="text-emphasis -mt-px block text-sm font-medium">{label}</Label>
</div>
);
},