Skip to content

Commit

Permalink
color name changed to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
iwdie committed Jan 24, 2025
1 parent f17b40c commit 340a535
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@

> **default**(`props`, `deprecatedLegacyContext`?): `ReactNode`
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:51](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L51)
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:50](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L50)

MemberDetail component is used to display the details of a user.
It also allows the user to update the details. It uses the UPDATE_USER_MUTATION to update the user details.
It uses the USER_DETAILS query to get the user details. It uses the useLocalStorage hook to store the user
details in the local storage.
It uses the USER_DETAILS query to get the user details. It uses the useLocalStorage hook to store the user details in the local storage.

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> **getLanguageName**(`code`): `string`
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:752](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L752)
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:742](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L742)

## Parameters

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

> **prettyDate**(`param`): `string`
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:742](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L742)
Defined in: [src/screens/MemberDetail/MemberDetail.tsx:732](https://github.com/PalisadoesFoundation/talawa-admin/blob/main/src/screens/MemberDetail/MemberDetail.tsx#L732)

## Parameters

Expand Down
6 changes: 3 additions & 3 deletions src/style/app.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
/* Red Shades */
--red-delete-bg: #f8d6dc;
--red-delete-text: #ff4d4f;
--red-line-bg: #ff0000;
--current-hour-indicator-color: #ff0000;

/* Yellow/Orange Shades */
--loader-color: #febc59;
Expand Down Expand Up @@ -285,7 +285,7 @@
}

.currentHourIndicator_round {
background-color: var(--red-line-bg);
background-color: var(--current-hour-indicator-color);
border-radius: 100%;
width: 15px;
height: 15px;
Expand All @@ -294,7 +294,7 @@
.currentHourIndicator_line {
width: 100%;
height: 1px;
background-color: var(--red-line-bg);
background-color: var(--current-hour-indicator-color);
margin: auto;
}

Expand Down

0 comments on commit 340a535

Please sign in to comment.