Skip to content

Commit 340a535

Browse files
committed
color name changed to variable
1 parent f17b40c commit 340a535

File tree

4 files changed

+7
-8
lines changed

4 files changed

+7
-8
lines changed

docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/default.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,11 @@
66

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

1111
MemberDetail component is used to display the details of a user.
1212
It also allows the user to update the details. It uses the UPDATE_USER_MUTATION to update the user details.
13-
It uses the USER_DETAILS query to get the user details. It uses the useLocalStorage hook to store the user
14-
details in the local storage.
13+
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.
1514

1615
## Parameters
1716

docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/getLanguageName.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

1111
## Parameters
1212

docs/docs/auto-docs/screens/MemberDetail/MemberDetail/functions/prettyDate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

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

1111
## Parameters
1212

src/style/app.module.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
/* Red Shades */
5656
--red-delete-bg: #f8d6dc;
5757
--red-delete-text: #ff4d4f;
58-
--red-line-bg: #ff0000;
58+
--current-hour-indicator-color: #ff0000;
5959

6060
/* Yellow/Orange Shades */
6161
--loader-color: #febc59;
@@ -285,7 +285,7 @@
285285
}
286286

287287
.currentHourIndicator_round {
288-
background-color: var(--red-line-bg);
288+
background-color: var(--current-hour-indicator-color);
289289
border-radius: 100%;
290290
width: 15px;
291291
height: 15px;
@@ -294,7 +294,7 @@
294294
.currentHourIndicator_line {
295295
width: 100%;
296296
height: 1px;
297-
background-color: var(--red-line-bg);
297+
background-color: var(--current-hour-indicator-color);
298298
margin: auto;
299299
}
300300

0 commit comments

Comments
 (0)