Skip to content

Commit

Permalink
Fix usages of gray shade that had spelling mistake with grey
Browse files Browse the repository at this point in the history
  • Loading branch information
rithviknishad committed Jul 16, 2024
1 parent 5bcef50 commit 7b14706
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/Components/Facility/Consultations/Mews.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ export const Mews = ({ dailyRound }: { dailyRound: DailyRoundsModel }) => {
return (
<>
<div className="tooltip flex flex-col items-center">
<div className="border-grey-400 flex h-7 w-7 items-center justify-center rounded-full border-2">
<div className="flex h-7 w-7 items-center justify-center rounded-full border-2">
<span className="text-sm font-semibold">-</span>
</div>
<span className="mt-1 text-xs font-medium text-secondary-700">
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Facility/CoverImageEditModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ const CoverImageEditModal = ({
setIsCameraOpen(false);
webRef.current.stopCamera();
}}
className="border-grey-200 my-2 w-full border-2"
className="my-2 w-full"
>
{t("close")}
</ButtonV2>
Expand Down
2 changes: 1 addition & 1 deletion src/Components/Facility/HospitalList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export const HospitalList = () => {
) : (
<div>
<div
className="border-grey-500 mt-4 cursor-pointer whitespace-nowrap rounded-md border bg-white p-16 text-center text-sm font-semibold shadow hover:bg-secondary-300"
className="mt-4 cursor-pointer whitespace-nowrap rounded-md border bg-white p-16 text-center text-sm font-semibold shadow hover:bg-secondary-300"
onClick={() => navigate("/facility/create")}
>
<CareIcon icon="l-plus" className="text-3xl" />
Expand Down
16 changes: 10 additions & 6 deletions src/Components/Patient/FileUpload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1397,10 +1397,12 @@ export const FileUpload = (props: FileUploadProps) => {
className="text-lg text-danger-500"
/>
</div>
<div className="text-grey-200 text-sm">
<div>
<h1 className="text-xl text-black">Archive File</h1>
This action is irreversible. Once a file is archived it cannot be
unarchived.
<span className="text-sm text-secondary-500">
This action is irreversible. Once a file is archived it cannot
be unarchived.
</span>
</div>
</div>
}
Expand Down Expand Up @@ -1447,10 +1449,12 @@ export const FileUpload = (props: FileUploadProps) => {
className="text-lg text-primary-500"
/>
</div>
<div className="text-grey-200 text-sm">
<div>
<h1 className="text-xl text-black">File Details</h1>
This file is archived. Once a file is archived it cannot be
unarchived.
<span className="text-sm text-secondary-200">
This file is archived. Once a file is archived it cannot be
unarchived.
</span>
</div>
</div>
}
Expand Down
8 changes: 5 additions & 3 deletions src/Utils/useFileManager.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,12 @@ export default function useFileManager(
className="text-lg text-danger-500"
/>
</div>
<div className="text-grey-200 text-sm">
<div>
<h1 className="text-xl text-black">Archive File</h1>
This action is irreversible. Once a file is archived it cannot be
unarchived.
<span className="text-sm text-secondary-500">
This action is irreversible. Once a file is archived it cannot
be unarchived.
</span>
</div>
</div>
}
Expand Down

0 comments on commit 7b14706

Please sign in to comment.