Skip to content

Commit

Permalink
fix: dark mode fixes
Browse files Browse the repository at this point in the history
Signed-off-by: MoulikaKulkarni <[email protected]>
  • Loading branch information
MoulikaKulkarni committed Sep 26, 2023
1 parent e248f6d commit c0a5db6
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/components/Verification/AttributesListData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,13 @@ interface AttributesListProps {
<div
className={`flex w-full text-lg`}
>
<div className="w-5/12 m-1 p-1 flex justify-start items-center text-gray-700 text-lg">
<div className="w-5/12 m-1 p-1 flex justify-start items-center text-gray-700 dark:text-white text-lg">
{item?.entity}
</div>
<div className="w-1/12 m-1 p-1 flex items-center text-gray-700 text-lg">
<div className="w-1/12 m-1 p-1 flex items-center text-gray-700 dark:text-white text-lg">
:
</div>
<div className="w-6/12 m-1 truncate p-1 flex flex-start items-center text-gray-700 text-lg">
<div className="w-6/12 m-1 truncate p-1 flex flex-start items-center text-gray-700 dark:text-white text-lg">
{item?.properties.join(', ')}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Verification/ProofRequestPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const ProofRequest = (props: {
</div>
) : (
<div className=" text-gray-500 dark:text-gray-300 w-full">
<div className="mt-1">
<div className="mt-1 ">
<AttributesListData
attributeDataList = {aggregatedData}
/>
Expand Down Expand Up @@ -178,7 +178,7 @@ const ProofRequest = (props: {
<span className="sr-only">Close modal</span>
</button>
<div className="sm:p-2 lg:p-6 m-4">
<p className="text-xl font-semibold text-gray-700 dark:bg-gray-800 flex flex-start pb-2">
<p className="text-xl font-semibold text-gray-700 dark:bg-gray-800 dark:text-white flex flex-start pb-2">
Verified Details
</p>
{!props.userData ? (
Expand Down
5 changes: 3 additions & 2 deletions src/components/Verification/SchemaCredDefDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => {
Schema Id
</div>
<div className=" flex items-center p-1 m-1 ">:</div>{' '}
<div className="w-9/12 m-1 flex justify-start truncate text-gray-600 items-center">
<div className="w-9/12 m-1 flex justify-start truncate text-gray-600 dark:text-white items-center cursor-pointer overflow:hidden overflow:ellipsis"
style={{overflow: 'auto'}}>
{Object.values(item)[2]}
</div>
</div>
Expand All @@ -28,7 +29,7 @@ const SchemaCredDefDetails = ({ schemaCredDefList }: SchemaCredDefProps) => {
{' '}
:
</div>{' '}
<div className="w-9/12 m-1 flex justify-start truncate text-gray-600 items-center">
<div className="w-9/12 m-1 flex justify-start truncate text-gray-600 dark:text-white items-center">
{Object.values(item)[1]
? Object.values(item)[1].slice(0, 36)
: ''}
Expand Down
5 changes: 3 additions & 2 deletions src/components/organization/users/EditUserRolesModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ const EditUserRoleModal = (props: { openModal: boolean; user: User; setMessage:
<Modal.Body>

<div
className="mb-4 bg-white border border-gray-200 rounded-lg shadow-sm dark:border-gray-700 sm:p-6 dark:bg-gray-800"
className="mb-4 bg-white border border-gray-200 rounded-lg shadow-sm dark:border-gray-700 dark:text-white sm:p-6 dark:bg-gray-800"
>

<div className="space-y-6">
Expand Down Expand Up @@ -182,8 +182,9 @@ const EditUserRoleModal = (props: { openModal: boolean; user: User; setMessage:
disabled={role.disabled}
checked={role.checked}
onChange={(event: any) => onRoleChanged(event, role.id)}
className={`mr-2 ${role.disabled ? 'text-gray-500' : ''}`}
/>
<span className={`ml-3 ${role.disabled ? 'text-gray-500' : ''}`}>{TextTittlecase(role.name)}</span>
<span className={`ml-3 ${role.disabled ? 'text-gray-500 ' : ''}`}>{TextTittlecase(role.name)}</span>
</label>
</div>
))
Expand Down

0 comments on commit c0a5db6

Please sign in to comment.