feat(ui): changed to interfonts

This commit is contained in:
akhilmhdh
2023-01-23 22:10:51 +05:30
parent e67d68a7b9
commit 062c287e75
17 changed files with 39 additions and 23 deletions
@@ -13,7 +13,7 @@ export type FormLabelProps = {
export const FormLabel = ({ id, label, isRequired }: FormLabelProps) => (
<Label.Root className="text-mineshaft-300 text-sm font-medium block mb-1 ml-0.5" htmlFor={id}>
{label}
{isRequired && <span className="text-red ml-1">*</span>}
{isRequired && <span className="ml-1 text-red">*</span>}
</Label.Root>
);
@@ -25,7 +25,7 @@ export type FormHelperTextProps = {
export const FormHelperText = ({ isError, text }: FormHelperTextProps) => (
<div
className={twMerge(
'text-xs flex items-center opacity-90 text-mineshaft-300 mt-2',
'text-xs font-inter flex items-center opacity-90 text-mineshaft-300 mt-2',
isError && 'text-red-600'
)}
>